[streaming] VLC Support for dynamic resolution change in 264 stream ?
Satheesh Ram
satheesh at streamprocessors.com
Thu Mar 13 16:07:13 CET 2008
Hi all,
I tried using VLC to play back a 264 stream in which resolution (width
and height) changes in the mid. When the resolution changes in mid,
sequence restarts with a new SPS, PPS and IDR NALU. VLC crashes for that
type of stream. The stream that I used has 15 frames of D1 frame
followed by 15 frames of QVGA and so on...
The messages window showed two type of errors
- one error is from vout_directx
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
vout_directx warning: DirectXUpdateOverlay cannot move/resize overlay
vout_directx error: overlay unuseable (might already be in use)
vout_directx warning: DirectXUpdateOverlay cannot move/resize overlay
vout_directx error: overlay unuseable (might already be in use)
vout_directx debug: End NewPictureVec (failed)
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
vout_directx warning: DirectXUpdateOverlay cannot move/resize overlay
vout_directx error: overlay unuseable (might already be in use)
vout_directx warning: DirectXUpdateOverlay cannot move/resize overlay
vout_directx error: overlay unuseable (might already be in use)
vout_directx debug: End NewPictureVec (failed)
vout_directx debug: NewPictureVec overlay:yes chroma:YUY2
vout_directx warning: DirectXUpdateOverlay cannot move/resize overlay
vout_directx error: overlay unuseable (might already be in use)
vout_directx warning: DirectXUpdateOverlay cannot move/resize overlay
vout_directx error: overlay unuseable (might already be in use)
vout_directx debug: End NewPictureVec (failed)
vout_directx debug: NewPictureVec overlay:no chroma:YV12
vout_directx debug: created plain surface of chroma:YV12
vout_directx debug: End NewPictureVec (succeeded)
main debug: got 1 direct buffer(s)
main debug: picture in 360x240 (0,0,720x480), chroma I420, ar 3:2, sar 1:1
main debug: picture user 360x240 (0,0,720x480), chroma I420, ar 3:2, sar 1:1
main debug: picture out 360x240 (0,0,720x480), chroma I420, ar 3:2, sar 1:1
main debug: direct render, mapping render pictures 0-6 to system
pictures 1-7
main debug: thread 4016 (video output) created at priority 1
(video_output/video_output.c:421)
and the second error came from ffmeg library.
ffmpeg warning: top block unavailable for requested intra mode at 28 0
(h264 at 00B26890)
ffmpeg warning: error while decoding MB 28 0
(h264 at 00B26890)
ffmpeg debug: concealing 1350 DC, 1350 AC, 1350 MV errors
(h264 at 00B26890)
ffmpeg warning: top block unavailable for requested intra mode at 32 0
(h264 at 00B26890)
ffmpeg warning: error while decoding MB 32 0
(h264 at 00B26890)
ffmpeg debug: concealing 1350 DC, 1350 AC, 1350 MV errors
(h264 at 00B26890)
This error can be reproduced by concatenating two 264 streams of
different resolution and playing it with VLC. Has anyone faced the
similar problem? Is there any solution to this problem?
I am using latest VLC media player release 0.8.6e
--
Satheesh Ram
Off. +91.80.41630270x25
Mob. +91.9945211181
More information about the streaming
mailing list