avcodec warning: cannot decode one frame (44 bytes)
Posted: 14 Dec 2009 12:22
Dear support I'm facing the following problem:
I'm using VLC latest version for Windows 1.0.3 (also tried 1.0.2, 0.8.6i, 0.8.5 and latest nightly buil 1.0.4 with the same problem).
I have a video streaming server device (RTP over UDP) that uses MPEG4 compression. It is an ACTi Server device (ACD-2100) with B2-Frame option enabled (B2-Frame is a private header defined by ACTi).
When connecting VLC via RTSP (rtsp://192.168.1.x:7070), the streaming starts and works fine for a couple of minutes (sometimes a bit longer but always in minutes not hours) and then VLC crashes.
Before it crashes I can see hundreds of the following errors displayed in the Messages log (verbosity = 2):
avcodec warning: cannot decode one frame (44 bytes)
avcodec warning: cannot decode one frame (44 bytes)
avcodec warning: cannot decode one frame (44 bytes)
avcodec warning: cannot decode one frame (44 bytes)
.
.
avcodec warning: cannot decode one frame (44 bytes)
avcodec warning: cannot decode one frame (44 bytes)
etc..
When I disable the B2 frame (private header) on the video server device, VLC streaming do not show anymore the above error and will not crash. However I need to keep the B2 Frame option on my device, because there is a need for it to be set for a video decoder device (from the same manufacturer) to be able to pull the stream correctly from that server device.
VLC and the decoder device should be able to stream from that same video server at the same time.
I saw that avcodec errors are related to the libavcodec_plugin.dll maintained by ffmpeg.org
Is this the correct place to open my case or should I have to go to ffmpeg website ?
Please help,
Mountazar
I'm using VLC latest version for Windows 1.0.3 (also tried 1.0.2, 0.8.6i, 0.8.5 and latest nightly buil 1.0.4 with the same problem).
I have a video streaming server device (RTP over UDP) that uses MPEG4 compression. It is an ACTi Server device (ACD-2100) with B2-Frame option enabled (B2-Frame is a private header defined by ACTi).
When connecting VLC via RTSP (rtsp://192.168.1.x:7070), the streaming starts and works fine for a couple of minutes (sometimes a bit longer but always in minutes not hours) and then VLC crashes.
Before it crashes I can see hundreds of the following errors displayed in the Messages log (verbosity = 2):
avcodec warning: cannot decode one frame (44 bytes)
avcodec warning: cannot decode one frame (44 bytes)
avcodec warning: cannot decode one frame (44 bytes)
avcodec warning: cannot decode one frame (44 bytes)
.
.
avcodec warning: cannot decode one frame (44 bytes)
avcodec warning: cannot decode one frame (44 bytes)
etc..
When I disable the B2 frame (private header) on the video server device, VLC streaming do not show anymore the above error and will not crash. However I need to keep the B2 Frame option on my device, because there is a need for it to be set for a video decoder device (from the same manufacturer) to be able to pull the stream correctly from that server device.
VLC and the decoder device should be able to stream from that same video server at the same time.
I saw that avcodec errors are related to the libavcodec_plugin.dll maintained by ffmpeg.org
Is this the correct place to open my case or should I have to go to ffmpeg website ?
Please help,
Mountazar