Page 1 of 1

MPEG4 ASP transcoding issues (--sout-ffmpeg-bframes)

Posted: 18 Apr 2008 13:12
by madRat
Hi All,
I use VLC 0.8.6f on Windows XP SP2 and want to transcode file to MPEG4 ASP by vlc.
When I try to see transcoded file (by the same vlc) - decoding process logging warnings "header damaged, cannot decode one frame" and vlc ignores bad frames.
Another video players or ignore b-frames (and shows correct video with fps=12.5) or shows images with some trash (big squares with different color) on correct video.
If I disable b-frames (and use MPEG4 SP) - all works fine.

Could you confirm bug, or help me to transcode MPEG4 ASP correctly?

More detailed information
I retranscode stream with command:

Code: Select all

vlc.exe auto.avi --sout-ffmpeg-bframes 1 --sout=#transcode{vcodec=mp4v,venc=ffmpeg,fps=25,vb=300,width=320,height=240,acodec=mp3,samplerate=32000,channels=1,ab=48,threads=2}:standard{access=file,mux=mp4,dst=auto.mp4} vlc:quit
After decoding transcoded file vlc warnings about

Code: Select all

ffmpeg warning: header damaged (mpeg4@00B7A8C0) ffmpeg warning: cannot decode one frame (55 bytes) ffmpeg warning: header damaged (mpeg4@00B7A8C0) ffmpeg warning: cannot decode one frame (37 bytes) ffmpeg warning: header damaged (mpeg4@00B7A8C0) ffmpeg warning: cannot decode one frame (14 bytes) ffmpeg warning: header damaged (mpeg4@00B7A8C0) ffmpeg warning: cannot decode one frame (15 bytes) ffmpeg warning: header damaged (mpeg4@00B7A8C0) ffmpeg warning: cannot decode one frame (260 bytes) ffmpeg warning: header damaged (mpeg4@00B7A8C0) ffmpeg warning: cannot decode one frame (260 bytes)
Note: I try transcode on CentOS 5.1 (linux, vlc 0.8.6d) - the same problem.

Thanks in advance.

Re: MPEG4 ASP transcoding issues

Posted: 28 Apr 2008 10:30
by madRat
Hello All!
We are still unable to make VLC to transcode into MPEG4 ASP. Is there anybody who uses it here?
Is there anybody using "--sout-ffmpeg-bframes" comand line argument?
Any help or just comments would be greatly appreciated!
Thanks beforehand,
Sincerely,

Re: MPEG4 ASP transcoding issues (--sout-ffmpeg-bframes)

Posted: 07 May 2008 17:03
by madRat
Hi All,
I have resolved a cause of this problem and describe it in this topic. 8)