[streaming] mysterious stream saving

Ondrej Koala Vacha koala at vju.cz
Sun Jan 7 17:39:37 CET 2007


Hi all,

I have two vlc. The first vlc grabs the stream, second vlc 
is the relay:

vlc 0.8.2:

./vlc --color --rc-fake-tty 
v4l:/dev/video:norm=pal:frequency=543250:size=640x480:channel=1:adev=/dev/dsp0:audio=0 --sout 
'#duplicate{dst="transcode{threads=2,vcodec=mp4v,acodec=mpga,vb=512,ab=256,deinterlace}:
std{access=http,mux=ts,url=10.70.2.250:7777}",
dst="transcode{threads=2,vcodec=mp4v,acodec=mpga,vb=512,ab=128,deinterlace}
:std{access=file,url=file.mp4}",
dst="transcode{threads=2,acodec=mp3,ab=256}:std{access=file,mux=dummy,url=file.mp3}",select=audio}'


vlc 0.8.5:

./vlc --rc-fake-tty http://10.70.2.250  --sout 
'#duplicate{dst="std{access=http,mux=ts,url=1.2.3.4:7777}",
dst="transcode{threads=2,vcodec=mp4v,acodec=mpga,vb=512,ab=128}:std{access=file,url=file1.mp4}",
dst="transcode{threads=2,acodec=mp3,ab=256}:std{access=file,mux=dummy,url=file1.mp3}",select=audio}'


The first vlc prepars the stream as mp4 
(vcodec=mp4v,acodec=mpga,vb=512,ab=256,deinterlace) and saves it into 
the file.mp4, the second reads the stream and saves it into the file1.mp4. 
The same is made for audio.

Results:

vlc 0.8.2:
-rw-r--r-- 1 root root  99394862 Jan  7 11:47 file.mp4
-rw-r--r-- 1 root root  96087144 Jan  7 11:47 file.mp3

vlc 0.8.5:
-rw-r--r-- 1 root root 118248219 Jan  7 11:47 file1.mp4
-rw-r--r-- 1 root root  93985645 Jan  7 11:47 file1.mp3


Questions:

Why is file1.mp4 bigger than file.mp4? And why is file1.mp3 smaller than 
file.mp3? Has any effect encapsulating this stream? Or version vlc?



regards

--
Ondrej Koala Vacha

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list