OBPlayer Tools

From Open Broadcaster
Jump to: navigation, search

Test video playback via gstreamer

  gst-launch-1.0 playbin2 uri="file:///absolute/path/to/file"

Trigger FallBack Media

To get fallback media to play by causing simulated network problems, remove the default playlist ensure no scheduled content:

1. start obplayer application with "./obplayer -r"

2. immediately quit before it has a chance to sync

3. start obplayer again but this time with just "./obplayer"

Rename Script

  python media_filename_update.py

displays a list of files that will be renamed (from, to). RUN THIS FIRST to verify correct operation.

  python media_filename_update.py go  

complete the rename

The idea is that you run this before running rsync to update the media. This covers all data change that is simply the result of a rename. If file data changes as well as a rename, the rename will happen first but rsync will then update the file anyway.