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

About encoding, codec settings, muxers and filter usage
ab7
Blank Cone
Blank Cone
Posts: 10
Joined: 28 Jun 2007 23:44

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

Postby ab7 » 28 Jun 2007 23:47

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

ab7
Blank Cone
Blank Cone
Posts: 10
Joined: 28 Jun 2007 23:44

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

Postby ab7 » 03 Feb 2008 14:44

Still looking for a solution to this problem.. Anyone ideas?

Many thanks in advance!

Albrecht

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

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

Postby Arite » 03 Feb 2008 15:59

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.
Don't use PMs for support questions.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 48 guests