Page 1 of 1

Changing frame rate on the fly?

PostPosted: Sun Sep 29, 2013 2:24 am
by tchaika
Hello All,

I have a Phillips NetTV, 40PFL4907/F7, using Linux (Slackware 14 x64) as my serviio server. Was able to get _most_ video working using the profile documented here, albeit with the same limitation (no pause, but functional ff/rw) noted in that thread. For reasons unknown, videos with a frame rate of 25fps do not display properly on the TV. It's either a black screen or the video shows up in one corner of the display.

Video that doesn't display properly or at all (ffmpeg -i):
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc


Two videos that display properly, non 25fps:
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc


This is most probably a limitation of this TV, and I've discovered that If I manually convert the video beforehand using ffmpeg -r 24000/1001 then I can play it without issue.

Hence my question, is it possible to get serviio to do this on the fly, as the videos are requested, or do I have to manually convert every video that I have with a frame rate of 25? I did not see any frame rate options in the documentation for profiles.xml.

Bonus question: Did anyone ever figure out the pause issue with the Phillips TVs?

Re: Changing frame rate on the fly?

PostPosted: Tue Oct 01, 2013 1:16 pm
by zip
No, it's not possible, unless you write a ffmpeg wrapper script that will inject the rate parameter in the command. Some usewrs have come up with wrappers before, so try to search the forum if you are interested in trying it out.