Hi all,
I am trying to use VLC to play back a (an unorthodox...) h264 TS stream in which the resolution (width and height) changes in the middle. For example, it goes down from 352x288 to 176x144 for the same bitrate and frames/second. When the resolution changes, the stream starts as a new sequence, i.e. the media server actually stops the first stream and starts the a second one with the new resolution, but streams the output to the same address and port, so the VLC player is unaware of the change.
Now, different VLC versions react differently. VLC 0.8.6 shows a grayed-out, garbled image and even occasionally crashes. I get bunch of ffmpeg warnings of the type:
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
If I stop the VLC player and start listening again, the player syncs correctly to the new size stream.
If I try the same with vlc 0.9.4, it displays a blacked-out screen and the errors come from the vout module:
vout_directx error: overlay unuseable (might already be in use)
vout_directx error: overlay unuseable (might already be in use)
Again, if I stop and restart the player, it syncs to the new stream correctly.
Does anybody have a suggestion to overcome this problem? It may sound like a weird application, but consider a media server that streams multiple files of different resolution, and I want to watch them without stop/restarting my player.
Thanks in advance!
GA