[vlc] Aspect ratio lost when re-streaming QT Broadcaster stream to UDP

Anders Marten anders.marten at ungap.com
Sat Nov 28 11:42:58 CET 2009


This is my "tool chain" running on Mac OS X:

QT Broadcaster (out:Manual Unicast+SDP) => (in:SDP) VLC (out:UDP) =>
(in:UDP) Apple Media Stream Segmenter (out:M3U8+TS) => FTP => HTTP => iPhone

The whole chain works perfectly except for one annoying thing:
The video aspect ratio is not preserved when doing the re-stream with VLC.
If I only watch the stream with VLC (no re-stream) the video looks OK. But
as soon I as do re-stream with VLC to UDP the aspect ratio is lost.

I have done lot of experimenting and tweaking to try to solve the problem or
at least box it. But with no success.

This is the VLC command line that I run from the bash shell script:

/Applications/VLC.app/Contents/MacOS/VLC
file:///Users/anders/segmenter-apple/unicast
--sout=#transcode{vcodec=h264{nocabac\,level=30\,aud}\,vb=380\,scale=1\,width=240\,height=160\,acodec=\"mp4a\"\,ab=96\,deinterlace\,channels=2\,bframes=0}:duplicate{dst=std{access=\"udp\"\,mux=\"ts\"\,dst=\"
127.0.0.1:1234\"}}

Software used:
Mac OS X 10.6.2
VLC for Mac 1.0.3
QT Broadcaster 1.5.3

Regards / Anders, www.ungap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20091128/5b790651/attachment.html>


More information about the vlc mailing list