PDA

View Full Version : Stream freezes in VLC, plays in mplayer


angryfokker
06-10-2012, 06:26 PM
Trying to play this stream in vlc: rtmpdump -r "rtmp://lrt-live.data.lt/LTV1" -a "LTV1" -f "LNX 11,2,202,236" -W "http://lrt.lt/scripts/jwplayer/player.swf" -p "http://lrt.lt" -y "LTV1" -v | vlc -
VLC media player 1.0.6 Goldeneye
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
[0x98b5148] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Starting Live Stream
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Sun Jun 10 21:07:06 2012
INFO: videodevice Blackmagic WDM Capture
INFO: framerate 25.00
INFO: width 720.00
INFO: height 576.00
INFO: videocodecid avc1
INFO: videodatarate 800.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice Blackmagic WDM Capture
INFO: audiosamplerate 44100.00
INFO: audiochannels 1.00
INFO: audioinputvolume 75.00
INFO: audiocodecid .mp3
INFO: audiodatarate 128.00
319.489 kB / 6.74 secmdb:511, lastbuf:0 skipping granule 0
mdb:511, lastbuf:0 skipping granule 1
[0x9ea4510] pulse audio output: No. of Audio Channels: 1
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
mdb:511, lastbuf:396 skipping granule 0
374.210 kB / 7.21 secAVC: Consumed only 995 bytes instead of 1360
AVC: Consumed only 1311 bytes instead of 3996
AVC: Consumed only 1259 bytes instead of 3996
AVC: Consumed only 1257 bytes instead of 3996
AVC: Consumed only 1201 bytes instead of 3996
AVC: Consumed only 1218 bytes instead of 3996
AVC: Consumed only 1269 bytes instead of 3996
AVC: Consumed only 1305 bytes instead of 3996
AVC: Consumed only 1316 bytes instead of 3996
AVC: Consumed only 1270 bytes instead of 3996
AVC: Consumed only 1233 bytes instead of 3996
AVC: Consumed only 1168 bytes instead of 3996
AVC: Consumed only 1213 bytes instead of 3996
AVC: Consumed only 1232 bytes instead of 3996
AVC: Consumed only 1188 bytes instead of 3996
AVC: Consumed only 1155 bytes instead of 3996
AVC: Consumed only 1171 bytes instead of 3996
AVC: Consumed only 1113 bytes instead of 3996
AVC: Consumed only 1142 bytes instead of 3996
AVC: Consumed only 1098 bytes instead of 3996
AVC: Consumed only 1185 bytes instead of 3996
AVC: Consumed only 1196 bytes instead of 3996
AVC: Consumed only 1212 bytes instead of 3996
AVC: Consumed only 1151 bytes instead of 3996
AVC: Consumed only 1183 bytes instead of 3996
AVC: Consumed only 1113 bytes instead of 3996
AVC: Consumed only 1077 bytes instead of 3996
AVC: Consumed only 1075 bytes instead of 3996
AVC: Consumed only 1104 bytes instead of 3996
AVC: Consumed only 1188 bytes instead of 3996
AVC: Consumed only 1132 bytes instead of 3996
AVC: Consumed only 1171 bytes instead of 3996
AVC: Consumed only 1158 bytes instead of 3996
AVC: Consumed only 1139 bytes instead of 3996
AVC: Consumed only 1096 bytes instead of 3996
AVC: Consumed only 1149 bytes instead of 3996
AVC: Consumed only 1145 bytes instead of 3996
AVC: Consumed only 1048 bytes instead of 3996
AVC: Consumed only 1141 bytes instead of 3996
AVC: Consumed only 1091 bytes instead of 3996
AVC: Consumed only 1164 bytes instead of 3996
AVC: Consumed only 1144 bytes instead of 3996
AVC: Consumed only 1165 bytes instead of 3996
AVC: Consumed only 1084 bytes instead of 3996
AVC: Consumed only 1161 bytes instead of 3996
AVC: Consumed only 1049 bytes instead of 3996
AVC: Consumed only 1137 bytes instead of 3996
AVC: Consumed only 1159 bytes instead of 3996
1192.363 kB / 14.34 sec but audio and video freeze after 3-4 seconds, at this point: AVC: Consumed only 1159 bytes instead of 3996 In verbose (http://pastebin.com/gPe9nMsk) stream stops here: AVC: Consumed only 1064 bytes instead of 3996 Not all streams freeze using vlc. The stream plays fine in mplayer. Stream url: http://lrt.lt/mediateka/tiesiogiai/ltv I'm using Ubuntu 10.04, vlc 1.0.6.

evol
06-11-2012, 04:24 AM
Stay away from the latest version of vlc it will cause more trouble than its worth with live streams.

Josan420
06-11-2012, 05:58 AM
i'm using vlc media player 2.0.2 twoflower version and it's working very good

evol
06-11-2012, 06:06 AM
i'm using vlc media player 2.0.2 twoflower version and it's working very good

Yes for some streams it works but wait till you get a stream that wont work its a know problem from version 2.0.0 up

Josan420
06-11-2012, 09:06 AM
yes i know. 2 month ago when i updated my vlc to 2.0.1 it didn't worked then i revert to old version, but 2.0.2 is working

angryfokker
06-13-2012, 07:27 PM
Oh, so it unfreezes after a minute and then quits:
382.868 kB / 3.38 sec(freezes here)mdb:511, lastbuf:0 skipping granule 0
mdb:511, lastbuf:0 skipping granule 1
[0xa35d210] pulse audio output: No. of Audio Channels: 1
QPainter::begin: Paint device returned engine == 0, type: 1
mdb:511, lastbuf:396 skipping granule 0
QPainter::begin: Paint device returned engine == 0, type: 1
AVC: Consumed only 1321 bytes instead of 3402
AVC: Consumed only 1217 bytes instead of 3996
4421.451 kB / 38.71 sec(freezes here)[0x9fa8a00] main input error: ES_OUT_SET_(GROUP_)PCR is called too late, increasing pts_delay to 300 ms
[0x9fa8a00] main input error: ES_OUT_RESET_PCR called
AVC: Consumed only 1042 bytes instead of 3996
number of reference frames exceeds max (probably corrupt input), discarding one
mdb:511, lastbuf:0 skipping granule 0
mdb:511, lastbuf:0 skipping granule 1
mdb:511, lastbuf:396 skipping granule 0
AVC: Consumed only 1115 bytes instead of 3996
AVC: Consumed only 1093 bytes instead of 3996
AVC: Consumed only 996 bytes instead of 3996
AVC: Consumed only 1087 bytes instead of 3996

[...]

4489.641 kB / 39.30 sec (freezes here)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 4005
4924.749 kB / 43.13 sec (freezes here)
Download may be incomplete (downloaded about 0.00%), try resuming
[0x9fa8a00] main input error: ES_OUT_SET_(GROUP_)PCR is called too late, increasing pts_delay to 25469 ms
[0x9fa8a00] main input error: ES_OUT_RESET_PCR called
AVC: Consumed only 1189 bytes instead of 3996
number of reference frames exceeds max (probably corrupt input), discarding one
mdb:511, lastbuf:0 skipping granule 0
mdb:511, lastbuf:0 skipping granule 1
mdb:511, lastbuf:396 skipping granule 0
AVC: Consumed only 1174 bytes instead of 3996
AVC: Consumed only 1231 bytes instead of 3996
AVC: Consumed only 1256 bytes instead of 3996

[...]

QPainter::begin: Paint device returned engine == 0, type: 1 (quits here) Whole output (http://pastebin.com/VgaK769E). I don't think I can update VLC in Ubuntu 10.04.