[MEncoder-users] First post (a52: CRC check failed!: error while converting .TX HDTV video)

Etienne Buira etienne.buira.lists at free.fr
Fri Oct 23 22:51:57 CEST 2009


On Mon, Oct 19, 2009 at 04:55:21PM -0400, Chris Call wrote:
> This is my first time using a mailing list, so please go easy on me.  I'm
> having a problem and I've googled everywhere for a solution and found tons
> of relevant searches, but no answer.
> 
> I have VERY little experience with digital video stuff, MEncoder
> specifically, but I'm trying to learn it.
> 
> I am trying to convert .TS HDTV video from my tuner card to Xvid x.264.
> This is the command that I entered in MEncoder:

Hi.
First, xvid and x264 are two different encoder. xvid produces MPEG4-ASP
(part 2), and x264 produces MPEG4-AVC (part 10, more {d,r}ecent).

Actually, to encode a video, you need to choose three base things:
1. video codec: Choose one that your reading devices supports, and then
   choose an encoder that produces this kind of bitstream.
2. audio codec: As for video codec.
3. a muxer: a way to interleave video and audio data. Can be avi, mpeg,
   asf, flv, ...

> 
> mencoder -ovc xvid -oac mp3lame -xvidencopts bitrate=1500 -o e:\output.avi
> e:\video.ts -vf scale=640:360 -edl e:\video.edl
> 
> 
> I'm using an edl exported from comskip, but I get this problem without using
> comskip or the edl flag, as well.
> 
> The error is:
> 
> Pos:2275.1s 136448f (42%) 23.78fps Trem: 130min 1100mb  A-V:0.034 [1499:206]
> Skipping frame!
> Pos:2381.0s 142798f (43%) 23.63fps Trem: 131min 1123mb  A-V:0.033 [1499:206]
> Skipping frame!
> Pos:2381.0s 142800f (43%) 23.63fps Trem: 131min 1123mb  A-V:0.014 [1499:206]
> 1 duplicate frame(s)!
> *a52: CRC check failed!*  ) 23.59fps Trem: 132min 1131mb  A-V:0.013
> [1499:206]
> Pos:2419.8s 145124f (43%) 23.59fps Trem: 132min 1131mb  A-V:0.015 [1499:206]
> 
> 
> (so after "a52: CRC check failed!" the process crashes)

What mencoder version are you using? It is in the first line mencoder
outputs.

Try to use a recent one, the svn version if you can.

> I'm trying to figure out what is going on here and I've seen some programs
> that "fix" .TS streams, but I don't know if that may be the problem, or what
> it is.

The problem seems to lies in the ac3 bitstream, not in the TS muxing (TS
is one "flavour" of mpeg muxer).

An unperfect solution would be to let the audio bitstream pass through
mencoder without modification (-oac copy), this should work, this haves
the benefit of not lowering quality, but it won't fix the broken part.

Can you play your TS file out of the box?

> The video file I'm using is straight from WinTV and a Haumppauge HVR-1600
> card (Clear Qam HD).  The video file is 13.4GB and as you can see, it
> crashed at 43%.
> 
> Any help in the matter would be greatly appreciated (or if you have
> recommendations on what script to use for a good picture quality (HD 264).)
> As I said, I've very new at this so I've only barely put together enough to
> type that command for myself.  I'm not sure if there is a logfile that I can
> send that would help to determine the problem.

Usually, giving the exact command line, and execution trace is a good
idea. If I recall well, you can redirect output like that: "mencoder -o
blah blah -oac blah -ovc blah > mencoder_trace". If you have a unice
box, or cygwin or equivalent, you would type "mencoder ... &>
mencoder_trace". Then taking parts before and after the "Pos: ..."
flood.

> 
> Thanks in advance,
> Chris
> 
> P.S.  I was also looking for information on how to get MPlayer to show the
> time code on the footage (not 0 when the video starts, but whatever the
> footage uses since it's HD and it works off of another time code system
> (from what little I've read from trying to google the subject.)
> 
> Thanks a lot to everyone!
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users


More information about the MEncoder-users mailing list