Page 1 of 1
1.1.8 Only shows first frame then freezes
Posted: 23 Sep 2011 11:05
by copekyle
Using VLC version 1.1.8. I am playing a UDP stream using vlc and when I play the stream, the first frame of the stream pops up and then freezes there. (frame never updates or changes but VLC program is still functioning) This stream is in the h264 format. I have other streams that are using mpeg2 and they work just fine but the 3 h264 streams I have all share the same problem. Am I missing a setting or something that will allow h264 playback accurately?
Thanks
Kyle
Re: 1.1.8 Only shows first frame then freezes
Posted: 23 Sep 2011 18:54
by VLC_help
Open Tools -> Messages (set Verbosity to 2), then open the stream, and check what message dialog complains.
Re: 1.1.8 Only shows first frame then freezes
Posted: 27 Sep 2011 18:03
by copekyle
here is my log with verbosity set to 2.
Code: Select all
qt4 warning: Input option: udp-caching=300
main debug: adding item `udp://224.4.75.1:2010' ( udp://@224.4.75.1:2010 )
qt4 debug: Adding a new MRL to recent ones: udp://@224.4.75.1:2010
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: processing request item udp://224.4.75.1:2010 node null skip 0
main debug: resyncing on udp://224.4.75.1:2010
main debug: udp://224.4.75.1:2010 is at 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'udp://224.4.75.1:2010'
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: thread (input) created at priority 1 (../.././src/input/input.c:220)
main debug: using timeshift path 'C:\DOCUME~1\VIDEOS~1\LOCALS~1\Temp'
main debug: `udp://@224.4.75.1:2010' gives access `udp' demux `' path `@224.4.75.1:2010'
main debug: creating demux: access='udp' demux='' path='@224.4.75.1:2010'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "udp"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'udp' path='@224.4.75.1:2010'
main debug: looking for access module: 1 candidate
access_udp debug: opening server=:0 local=224.4.75.1:2010
main debug: net: opening 224.4.75.1 datagram port 2010
main debug: Multicast group join request
main debug: IP_ADD_MEMBERSHIP multicast request
main debug: using access module "access_udp"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: Using AStream*Block
main debug: pre buffering
qt4 debug: IM: Setting an input
main debug: received first data after 24 ms
main debug: prebuffering done 1316 bytes in 0s - 53 KiB/s
main debug: looking for stream_filter module: 2 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access='udp' demux='' path='@224.4.75.1:2010'
main debug: looking for demux module: 52 candidates
ts debug: pid[34] unknown
ts debug: pid[33] unknown
ts debug: pid[36] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=0 version=1 current_next=1
ts debug: * number=1 pid=32
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=2 pid_pcr=34
ts debug: * es pid=33 type=27 fcc=h264
main debug: selecting program id=1
ts error: MPEG-4 descriptor not found
ts debug: * es pid=36 type=15 fcc=mp4a
access_udp warning: unimplemented query in control
main debug: using demux module "ts"
main debug: TIMER module_need() : 33.000 ms - Total 33.000 ms / 1 intvls (Avg 33.000 ms)
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec initialized (interface 0x347200)
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms)
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "packetizer_h264"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: thread started
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301)
main debug: looking for decoder module: 34 candidates
main debug: using decoder module "faad"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for packetizer module: 21 candidates
packetizer_mpeg4audio debug: running MPEG4 audio packetizer
packetizer_mpeg4audio debug: no decoder specific info, must be an ADTS or LOAS stream
main debug: using packetizer module "packetizer_mpeg4audio"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread started
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:301)
ts debug: DEMUX_SET_GROUP 0 00000000
access_udp warning: unimplemented query in control
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Documents and Settings\Video Server\Application Data\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: `udp://@224.4.75.1:2010' successfully opened
ts warning: first packet for pid=33 cc=0x4
ts warning: first packet for pid=36 cc=0xc
main debug: Buffering 0%
packetizer_mpeg4audio debug: detected ADTS format
main debug: Buffering 5%
packetizer_mpeg4audio info: AAC channels: 2 samplerate: 48000
faad warning: decoded zero sample
main debug: Buffering 11%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 16%
packetizer_h264 warning: waiting for SPS/PPS
main debug: creating aout
main debug: looking for audio output module: 4 candidates
aout_directx debug: Opening DirectSound Audio Output
main debug: Buffering 22%
packetizer_h264 warning: waiting for SPS/PPS
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: Realtek HD Audio output
aout_directx debug: device supports 2 channels (DEFAULT!)
aout_directx debug: device supports 1 channel
aout_directx debug: Windows says your SpeakerConfig is stereo
aout_directx debug: creating DirectSoundThread
main debug: thread started
aout_directx debug: DirectSoundThread ready
main debug: thread (DirectSound Notification Thread) created at priority 15 (../../.././modules/audio_output/directx.c:321)
main debug: using audio output module "aout_directx"
main debug: TIMER module_need() : 28.000 ms - Total 28.000 ms / 1 intvls (Avg 28.000 ms)
main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'f32l'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
audio_format debug: f32l->s16l, bits per sample: 32->16
main debug: using audio filter module "audio_format"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio filter module: 1 candidate
scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: filter(s) 'f32l'->'f32l' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
bandlimited_resampler debug: f32l/52800KHz/2->f32l/48000KHz/2
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: End of audio preroll
main debug: Buffering 27%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 33%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 38%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 44%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 50%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 55%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 61%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 66%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 72%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 77%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 83%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 88%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 94%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Stream buffering done (300 ms in 300 ms)
main debug: Decoder buffering done in 0 ms
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
freetype debug: Building font databases.
freetype debug: Took 1000 microseconds
freetype debug: Using Arial as font from file C:/WINDOWS/fonts/arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms)
main debug: looking for video filter2 module: 18 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for video filter2 module: 18 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: window size: 720x540
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: looking for video output module: 1 candidate
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 8 candidates
directx debug: creating Vout EventThread
directx debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 3 candidates
qt4 debug: requesting video...
qt4 debug: Video was requested 0, 0
main debug: using vout window hwnd module "qt4"
main debug: TIMER module_need() : 15.000 ms - Total 15.000 ms / 1 intvls (Avg 15.000 ms)
directx debug: created video sub-window
directx debug: Vout EventThread running
directx debug: disabling screen saver
directx debug: directx-device:
directx debug: DirectXEnumCallback: ATI Radeon HD 5400 Series, \\.\DISPLAY1
directx debug: selecting ATI Radeon HD 5400 Series, \\.\DISPLAY1
directx debug: DirectXEnumCallback: ATI Radeon HD 5400 Series, \\.\DISPLAY2
directx debug: screen dimensions (0x0,1280x1024)
directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1
main debug: VoutDisplayEvent 'resize' 728x574 window
directx debug: RGB plain surface created successfully
main debug: using vout display module "directx"
main debug: TIMER module_need() : 23.000 ms - Total 23.000 ms / 1 intvls (Avg 23.000 ms)
main debug: A filter to adapt decoder to display is needed
main debug: looking for video filter2 module: 18 candidates
swscale debug: 720x480 chroma: I420 -> 720x480 chroma: RV32 with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: Filter 'Swscale' (00b01a8c) appended to chain
main debug: using video output module "vout_wrapper"
main debug: TIMER module_need() : 24.000 ms - Total 24.000 ms / 1 intvls (Avg 24.000 ms)
main debug: got 1 direct buffer(s)
main debug: pic render sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 8:9, msk r0x0 g0x0 b0x0
main debug: pic in sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 8:9, msk r0x0 g0x0 b0x0
main debug: pic out sz 720x480, of (0,0), vsz 720x480, 4cc I420, sar 8:9, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
main debug: VoutDisplayEvent 'resize' 1280x897 window
avcodec debug: using direct rendering
main debug: End of video preroll
freetype debug: using fontsize: 30
main debug: looking for video blending module: 1 candidate
blend debug: chroma: YUVA -> I420
main debug: using video blending module "blend"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main warning: early picture skipped
main debug: Post-processing available
main warning: vlc_object_find_name(postproc) is not safe!
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
main warning: early picture skipped
Then it continues to be frozen and repeats "main warning: early picture skipped" and every once in a while says "hiding mouse". I should also mention that I can few this video with FFPLAY (a very basic player based on ffmpeg). My understanding is that ffmpeg is also incorporated in VLC, so I'm guessing I must be missing a setting somewhere.
Re: 1.1.8 Only shows first frame then freezes
Posted: 28 Sep 2011 15:48
by VLC_help
Architecture of VLC and ffmpeg is different. So it shouldn't be a settings issue. I would guess it is either timecode issue in stream (wrong timestamps in video) or bug in VLC. If you can test with VLC 1.2.0 nightlies, you could see if this has been fixed.