Page 1 of 1

Change DAR-flag in live stream? (aspect ratio)

Posted: 28 Jun 2007 23:47
by ab7
Hello everyone,

I’m using VLC to send a mpegstream created by my capture device Hauppauge WinTV-PVR USB2 to my networkplayer. This works fine, the only thing is, the stream is 4:3 while the original footage (camera) is 16:9.

I did some research on the internet and what happens is the following: the capture device puts a ‘DAR-flag’ (Display Aspect Ratio-flag) into the mpegstream so the networkplayer thinks it should be played this way.
There’s is software to change this flag (DVDPatcher for example) after recording a file. But I need to change this flag REALTIME, so the stream stays live AND has the correct aspect ratio.

My question is:
Is VLC capable of doing this? If so, how does this work? If not, does anyone know an application that is?

Many thanks in advance!

Albrecht

Re: Change DAR-flag in live stream? (aspect ratio)

Posted: 03 Feb 2008 14:44
by ab7
Still looking for a solution to this problem.. Anyone ideas?

Many thanks in advance!

Albrecht

Re: Change DAR-flag in live stream? (aspect ratio)

Posted: 03 Feb 2008 15:59
by Arite
You could try setting the sout aspect-ratio using:

Code: Select all

--sout-transcode-canvas-aspect
This can also be changed in the Preferences by going to:
Stream output >> Sout stream >> Transcode

Then tick "Advanced options". Enter a value such as "16:9" into the "Video canvas aspect-ratio" field and press "Save".

Cheers, Arite.