Project

General

Profile

Actions

Bug #1734

open

aspect ratio with mencoder streaming

Added by TCr almost 11 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Server - HTTP Streaming
Target version:
Start date:
02/21/2014
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by TCr almost 11 years ago

oh - I forgot to say that its not working with the delivered externremux.sh script.

Actions #2

Updated by schmirl almost 11 years ago

In the log you should find the actual mencoder call used by externremux.sh. Which options are used?

Actions #3

Updated by TCr almost 11 years ago

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 -- -
Actions #4

Updated by TCr almost 11 years ago

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 -- -
Actions #5

Updated by schmirl almost 11 years ago

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?

Actions

Also available in: Atom PDF