[vlc] Unable to determine bitrate of streams saved with VLC

iforce at canbytel.com iforce at canbytel.com
Thu Feb 9 18:15:37 CET 2006


I am attempting to take in a multicast video stream, transcode it to a
lower bitrate, and put it on our VOD server. When I attempt to stream
the saved file from the VOD server, the audio and video come through
extremely slow.
 
The only difference between the transcoded stream on disk and an MPEG
file from our VOD content provider is that I am unable to see the video
bitrate of the transcoded stream in the output of mplayer. Example:
 
File off VOD server:
--------------------
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=481)AUDIO A52(pid=482) NO SUBS (yet)! PROGRAM N. 1
Opened TS demuxer, audio: 2000(pid 482), video: 10000002(pid
481)...POS=564
VIDEO: MPEG2 528x480 (aspect 2) 29.970 fps 3180.0 kbps (397.5 kbyte/s)
                                                       ^^^^^^^^^^^^^^^
 
File transcoded via VLC:
------------------------
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=481)AUDIO A52(pid=482) NO SUBS (yet)! PROGRAM N. 1
Opened TS demuxer, audio: 2000(pid 482), video: 10000002(pid
481)...POS=564
VIDEO: MPEG2 528x480 (aspect 2) 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
                                                    ^^^^^^^^^^^^^^
 
Our VOD server is extremely picky and not very smart, so I'm guessing
that the lack of easily determinable bitrate is confusing it. Doing a
sniff of the RTSP session shows that the server is only streaming it out
at approximately 1Mb/sec vs. the 3Mb/sec the transcode settings say it
should be, which would explain the slow playback.
 
Are there any buried settings that would allow VLC to create the file in
a way that would facilitate easily determining the bitrate? (Sorry, I
don't know MPEG well enough to describe it any better than that)
 
Below is my transcode/output string:
:sout=#transcode{vcodec=mp2v,vb=3072,scale=1,acodec=a52,ab=192,channels=
2}:duplicate{dst=std{access=file,mux=ts,url="foo.mpg"}}

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



More information about the vlc mailing list