turingmachine / omxplayer-sync

OMXPlayer-Sync facilitates synchronization of multiple OMXPlayer instances over the network in a master/slave fashion.
194 stars 70 forks source link

Support for cropping and rotation #84

Closed DrSkunk closed 5 years ago

DrSkunk commented 5 years ago

The omxplayer package has support for cropping and rotating a video. For building a videowall I need synchronized playback on 12 screens.

Since it's possible to crop and rotate in omxplayer, is this also possible in omxplayer-sync?

magdesign commented 5 years ago

Since omxplayer-sync is a wrapper around omxplayer, it should be no problem at all. Test it and report here for other users....

DrSkunk commented 5 years ago

Hi @magdesign , I'll take a look at the source code and have a try. Thank you!

magdesign commented 5 years ago

I think cropping is done with additional flags in omxplayer, so you should be able to add the same flags behind omxplayer-sync.

DrSkunk commented 5 years ago

There are two ways for cropping, either via DBUS or via command flag. Rotation can only be done with a command flag. I believe there is a fork for setting the rotation over DBUS as well, but that's not needed in my case.

magdesign commented 5 years ago

Dbus commands do work well, I am often using the pause command...

DrSkunk commented 5 years ago

Ah yes, I've had a look at the source code and I think I can't use the software after all. I wish to sync an RTSP stream and not a local file.