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

About encoding, codec settings, muxers and filter usage
madRat
New Cone
New Cone
Posts: 9
Joined: 26 Dec 2007 17:49
VLC version: 0.9.8a
Operating System: Linux(CentOS5.2)

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

Postby madRat » 18 Apr 2008 13:12

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.
Last edited by madRat on 28 Apr 2008 10:30, edited 1 time in total.
Programming is fun, but fun programming is more funny!

madRat
New Cone
New Cone
Posts: 9
Joined: 26 Dec 2007 17:49
VLC version: 0.9.8a
Operating System: Linux(CentOS5.2)

Re: MPEG4 ASP transcoding issues

Postby madRat » 28 Apr 2008 10:30

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,
Programming is fun, but fun programming is more funny!

madRat
New Cone
New Cone
Posts: 9
Joined: 26 Dec 2007 17:49
VLC version: 0.9.8a
Operating System: Linux(CentOS5.2)

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

Postby madRat » 07 May 2008 17:03

Hi All,
I have resolved a cause of this problem and describe it in this topic. 8)
Programming is fun, but fun programming is more funny!


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 20 guests