Bug #1734
open
aspect ratio with mencoder streaming
Added by TCr over 10 years ago.
Updated over 10 years ago.
Category:
Server - HTTP Streaming
Description
the aspect ratio on mencoder streaming most time dont match. I need manually set VLC to use aspect ratio = 16:9.
On streaming with ogg it works.
oh - I forgot to say that its not working with the delivered externremux.sh script.
In the log you should find the actual mencoder call used by externremux.sh. Which options are used?
Feb 25 15:08:48 vdr vdr: [5437] externremux.sh: mencoder -msglevel all=1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=378 -oac mp3lame -lameopts mode=3:cbr:preset=32 -alang ger -vf scale=520:-3 -zoom -o /tmp/externremux-1603 -- -
or here a other line, same problem:
mencoder -msglevel all=1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000 -oac mp3lame -lameopts cbr:preset=100 -alang ger -o /tmp/externremux-29927 -- -
In your first example, scale=520:-3 should scale the video to a width of 520px. According to the mencoder documentation -3 means "Calculate w/h using the other dimension and the original aspect ratio". In your second example there's no scaling option at all. So I don't see a problem caused by streamdev here. Maybe there's something wrong with your client or with mencoder (I'm no mencoder expert - perhaps an option is missing?).
What happens if you take a VDR recording and run it through mencoder, using the same parameters?
Also available in: Atom
PDF