PDA

View Full Version : Can't demux mpeg files containing ac3 audiostream


RoyalWithCheese
2nd July 2004, 10:55
Hi everybody!

Recently I bought a Hauppauge WinTV Nova-s digital satellite card. I want to record some TV-shows, so I read the "DVB to DVD-R" guide. Everything works fine, except recording TV-shows that are broadcasted with an ac3 audio stream. When I try to record these shows, some media players don't play the recorded files correctly (e.g. WinDVD), others do (e.g. Power DVD). But the worst problem is that I can't demux or cut the files, because of the editing tools can't open the files. E.g. PVA Strumento doesn't demux the file because it is an "illegal stream”. ProjectX demuxes the files but it’s dropping frames all the time and it doesn’t create an audio file. I tried two different DVB-programs (Hauppauge DVB 2.17 and ProgDVB 4.26.4), but the problem remains the same. Changing the format of the output file didn’t help either (mpeg2, pva). Only recordings without ac3 work properly. I already searched different forums and websites, but I couldn’t find help. What am I doing wrong?
I hope, anybody can help me with this.

eb
2nd July 2004, 16:54
RoyalWithCheese,
Please record 5MB sample and upload it somewhere or e-mail it to me.
I think that good results with your card and AC3 audio you can get using MyTheatre 2.76 program /free/.

eb

RoyalWithCheese
3rd July 2004, 19:02
Hi, eb!

Thx for answering me. Unfortunately I don’t have any web space, where I could upload a sample to. Maybe you could send me a PM with your e-mail address so I can send it to you.
Btw: I found out, that Project X demuxes short files, that were recorded with ProgDVB, but when I try to demux whole films, Project X stops the operation after a while, because of too less mamory. I don't understand why, because I've got 1024 MB RAM and the harddisk is almost empty. I hope you can help me with this.

Thx again.

dvb.matt
4th July 2004, 15:29
AFAIK neither the "Hauppauge DVB 2.17" or earliers nor progdvb (i.e 4.32, dunno what happens with 4.26) are good choices of recordings with AC3 (that's why the errors stop the demux process)

first app. is still unable to generate valid packetized AC-3 data out of the TS (does a wrong re-packetizing), that happens if recorded into the output format 'mpg' (there is a workaround in PjX: disable 'get only enclosed pes-pack's), as well -but worsener- with a separated .ac3 (still bad pes format, what also can be fixed, see here (http://forum.lucike.info)).

2nd app. brings up other troubles. you should try vers. 4.23

if your recordings come from ATSC sources, you may experiences some other prob's. related to X, whose aren't solved yet..

eb
4th July 2004, 16:33
Try to use bbtool1.9 to demux AC3 from your records in general it is Private stream BD .

eb

EDIT:This is for PALland.

unixfs
6th July 2004, 10:53
You can use a recent version of mplayer (from cvs) to demux
your AC3 stream:

mplayer -dumpfile file.ac3 -dumpaudio file.ts

You may need to pass along another parameter: -tsprobe 5000000, which
indicates how long in the stream it has to analyze the pids (5M in this case).

Recently I modified the demuxer so as to recognize ac3 even when
it's not pes-aligned.

RoyalWithCheese
8th July 2004, 22:58
Hi guys!

Sorry, that it took me so long to answer, but I've been quite busy the last few days.

@dvb.matt: Thx, your hint (disableing 'get only enclosed pes-pack's') seems to have done the trick. Now Project x seems to demux mpg-files with ac3 audio stream, that were recorded with ProgDVB 4.26.4. Files that were recorded with the Hauppaugeplayer only contain 2.0 ac3. I don't know why. I'll test it next Sunday with a complete movie.

@eb: should I still send you a 5 MB sample?

@all: If it doesn't work I'll post here again, but thx for your help.:thanks:

eb
8th July 2004, 23:33
Sure you can post the 5MB sample.

eb

[_chéf_]
13th July 2004, 14:47
I had the same results/problems so I just decided to (partly) give up and use normal stereo for capturing...

Would be nice if there is a workaround for that problem. :-)