View Full Version : audio not demuxed
lankou
23rd June 2010, 20:25
Hi Neuron2
I just got a new recorder dvb box, this box records in trp format.
This trp format can be read by dgindex, which is great. But the problem is
that although the video is correctly demuxed, audio is not.
I am using the latest dgmpgdec 1.5.8
I uploaded a small extract at :
http://rapidshare.com/files/402097390/dvbtry.zip.html
If you have some time to give a look.
Thanks in advance,
Lankou
neuron2
23rd June 2010, 21:48
There is MPEG audio on PIDs 0x82, 0x83, and 0x85.
To select one for demuxing do this:
Stream/Detect PIDs: Raw
Select (highlight) one of the PIDs above
Hit Set Audio
Make sure Audio/Demux all tracks is selected.
The audio will now be demuxed.
Your stream does not contain PAT/PMT tables, so the audio is not automatically set. If you can enable them, do so.
netmask
24th June 2010, 07:03
I ran it through ProjectX and audio is present
05:59:56.913] Thursday, June 24, 2010 3:59:56 PM EST
[05:59:56.913] ProjectX 0.90.04.00.b29 (21.02.2009)
[05:59:56.956]
[05:59:56.957] -> working with collection 0
[05:59:56.957]
[05:59:56.957] -> save normal log file
[05:59:56.957] -> log 'packets out of sequence' / bit errors
[05:59:56.958] -> log 'missing startcodes'
[05:59:56.958] -> log 'PES header found in ES'
[05:59:56.958] -> log WSS
[05:59:56.958] -> log VPS
[05:59:56.958] -> log RDS
[05:59:56.958] -> log max. 500 warnings/errors
[05:59:56.958] -> write all video data
[05:59:56.958] -> write all other data
[05:59:56.958] -> patch c.d.flagged infos of pictures
[05:59:56.959] -> patch all frames to progressive
[05:59:56.959] -> add sequence end code
[05:59:56.959] -> set resolution in SDE
[05:59:56.959] -> PES stream type disabled: Subpicture
[05:59:56.959] -> PES stream type disabled: Generic_VBI
[05:59:56.960] -> PVA: strictly specs. for audio streams
[05:59:56.960] -> VOB: determine diff. Cell timelines
[05:59:56.960] -> TS: ignore scrambled packets
[05:59:56.960] -> TS: enhanced search for open packets
[05:59:56.960] -> TS: join file segments (of Dreambox®)
[05:59:56.961] -> TS: generate PMT stream dependent
[05:59:56.961] -> get only enclosed PES/TS packets
[05:59:56.961] -> concatenate different recordings
[05:59:56.961] -> ensure 1st PES-packet start with video
[05:59:56.961] -> generate PCR/SCR from PTS
[05:59:56.962]
[05:59:56.963] -> write output files to: 'C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00'
[05:59:56.963]
[05:59:56.963] -> main I/O-Buffersize in bytes 4096000 bytes
[05:59:56.967]
[05:59:56.968] FileSegments:
[05:59:56.968] * (0) C:\Users\Netmask\Desktop\DATA00.trp
[05:59:56.968] second. Files:
[05:59:56.969] * ---
[05:59:56.972]
[05:59:56.972] +> Input File 0: 'C:\Users\Netmask\Desktop\DATA00.trp' (21,561,344 bytes)
[05:59:56.973] -> Filetype is TS (generic PES Container)
[05:59:56.973] -> demux
[05:59:56.982] -> no PMT found (at a short scan)
[05:59:56.988] ok> PID 0x8C has PES-ID 0xBD (private stream 1) (TTX) (1880 #11)
[05:59:56.990] ok> PID 0x78 has PES-ID 0xE0 (MPEG Video) (6016 #33)
[05:59:56.993] ok> PID 0x85 has PES-ID 0xC7 (MPEG Audio) (17108 #92)
[05:59:56.999] ok> PID 0x83 has PES-ID 0xC2 (MPEG Audio) (37600 #201)
[05:59:57.005] ok> PID 0x82 has PES-ID 0xC0 (MPEG Audio) (37788 #202)
[05:59:57.019] -> video basics: 720*576 @ 25fps @ 0.7031 (16:9) @ 15000000bps, vbvBuffer 112
[05:59:57.020] -> starting export of video data @ GOP# 0
[05:59:57.020] !> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
[05:59:57.034] ok> PID 0x96 has PES-ID 0xBD (private stream 1) (SubID 0x20) (313772 #1670)
[05:59:58.183] packs: 114330 100% 21561344
[05:59:58.184]
[05:59:58.188] ++> Mpg Video: PID 0x0078 / PesID 0xE0 / SubID 0x00 :
[05:59:58.188] -> Video: fr-ct-1p-cg-og-dg -> 1686-1-0-139-0-0
[05:59:58.213] -> Video length: 1686 frames @ 00:01:07.440
[05:59:58.214] -> GOP summary: min. 12, max. 36 fields; contains interlaced frames
[05:59:58.216] -> avg. nom. bitrate 1806258bps (min/max: 1125600/2793600)
[05:59:58.216] -> set first sequenceheader bitrate to 2793600bps
[05:59:58.216] ---> new File: C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00\DATA00.mpv
[05:59:58.259]
[05:59:58.261] ++> Teletext: PID 0x008C / PesID 0xBD / SubID 0x10 :
[05:59:58.273]
[05:59:58.273] ++> Mpg Audio: PID 0x0085 / PesID 0xC7 / SubID 0x00 :
[05:59:58.284] -> check CRC of AC-3 / MPEG-Audio L1,2
[05:59:58.284] -> remove CRC in MPEG-Audio L1,2
[05:59:58.285] -> fill gaps with prev. frame
[05:59:58.285] -> add frames
[05:59:58.287] -> Audio PTS: first packet 09:27:01.447, last packet 09:28:09.727
[05:59:58.288] -> Video PTS: start 1.GOP 09:27:02.439, end last GOP 09:28:09.879
[05:59:58.289] -> adjusting audio at video-timeline
[05:59:58.291] -> src_audio: MPEG-1, Layer2, 48000Hz, dual, 96kbps, CRC @ 00:00:00.000
[05:59:58.614] !> 1 frame(s) (24ms) added @ 00:01:07.416
[05:59:58.615] audio frames: wri-pre-skip-ins-add 2810-0-0-0-1 @ 00:01:07.440 done...
[05:59:58.655] ---> new File: 'C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00\DATA00.mpa'
[05:59:58.657]
[05:59:58.657] ++> Mpg Audio: PID 0x0083 / PesID 0xC2 / SubID 0x00 :
[05:59:58.659] -> check CRC of AC-3 / MPEG-Audio L1,2
[05:59:58.659] -> remove CRC in MPEG-Audio L1,2
[05:59:58.659] -> fill gaps with prev. frame
[05:59:58.660] -> add frames
[05:59:58.661] -> Audio PTS: first packet 09:27:01.524, last packet 09:28:09.564
[05:59:58.662] -> Video PTS: start 1.GOP 09:27:02.439, end last GOP 09:28:09.879
[05:59:58.663] -> adjusting audio at video-timeline
[05:59:58.664] -> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 128kbps, CRC @ 00:00:00.000
[05:59:58.989] !> 4 frame(s) (96ms) added @ 00:01:07.344
[05:59:58.989] audio frames: wri-pre-skip-ins-add 2810-0-0-0-4 @ 00:01:07.440 done...
[05:59:59.028] ---> new File: 'C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00\DATA00-02.mpa'
[05:59:59.030]
[05:59:59.031] ++> Mpg Audio: PID 0x0082 / PesID 0xC0 / SubID 0x00 :
[05:59:59.032] -> check CRC of AC-3 / MPEG-Audio L1,2
[05:59:59.032] -> remove CRC in MPEG-Audio L1,2
[05:59:59.032] -> fill gaps with prev. frame
[05:59:59.033] -> add frames
[05:59:59.033] -> Audio PTS: first packet 09:27:01.524, last packet 09:28:09.636
[05:59:59.034] -> Video PTS: start 1.GOP 09:27:02.439, end last GOP 09:28:09.879
[05:59:59.035] -> adjusting audio at video-timeline
[05:59:59.036] -> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 192kbps, CRC @ 00:00:00.000
[05:59:59.286] !> 4 frame(s) (96ms) added @ 00:01:07.344
[05:59:59.286] audio frames: wri-pre-skip-ins-add 2810-0-0-0-4 @ 00:01:07.440 done...
[05:59:59.324] ---> new File: 'C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00\DATA00-03.mpa'
[05:59:59.326]
[05:59:59.328] --> using faked PTS for following data:
[05:59:59.328] -> temp. Filesize < 10 Bytes
[05:59:59.328] ++> stream omitted: PID 0x0096 / PesID 0xBD / SubID 0x20 :
[05:59:59.329]
[05:59:59.329] summary of created media files:
[05:59:59.329] .Video (m2v): 1686 Frames 00:01:07.440 'C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00\DATA00.mpv'
[05:59:59.329] Audio 00 (mp2): 2810 Frames 00:01:07.440 0-0-0-1 'C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00\DATA00.mpa'
[05:59:59.329] Audio 01 (mp2): 2810 Frames 00:01:07.440 0-0-0-4 'C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00\DATA00-02.mpa'
[05:59:59.329] Audio 02 (mp2): 2810 Frames 00:01:07.440 0-0-0-4 'C:\Users\Netmask\Desktop\1980-01-01_01.00.00_DATA00\DATA00-03.mpa'
[05:59:59.330] => 18,733,636 bytes written...
[05:59:59.331] -> we have 4 warnings/errors.
lankou
24th June 2010, 22:02
There is MPEG audio on PIDs 0x82, 0x83, and 0x85.
To select one for demuxing do this:
Stream/Detect PIDs: Raw
Select (highlight) one of the PIDs above
Hit Set Audio
Make sure Audio/Demux all tracks is selected.
The audio will now be demuxed.
Hi Neuron2,
Thanks for your answer. It is working pretty good !
Is there an option to select all audio tracks and process them at one ?
Your stream does not contain PAT/PMT tables, so the audio is not automatically set. If you can enable them, do so.
I have no idea how to do that. On the documentation I got with the box, it is written that the stream is directly written to the USB device without
any dvb box processing. I could not find anything in the dvb box menu.
Thanks a lot,
Lankou
lankou
24th June 2010, 22:08
I ran it through ProjectX and audio is present
Hi,
Thanks for this. Indeed, projectx is a very good tool. Everything is
demuxed at once !
In September, in my area, HD TV will be coming. Can projectx be
used also to demux mpeg4(H264) ? or is it only mpeg2 ?
Thanks for telling me about this tool!
Lankou
netmask
24th June 2010, 22:20
ProjectX is only for MPEG2 unfortunately. Not sure if OoZooN is planning any changes. I don't read German but there is an active forum at http://forum.dvbtechnics.info/forumdisplay.php?f=16
neuron2
24th June 2010, 22:38
Is there an option to select all audio tracks and process them at one ? Not in DGIndex. But it is supported in DGIndexNV.
Can projectx be used also to demux mpeg4(H264) ? or is it only mpeg2 ? For your information, DGIndexNV will handle H.264, MPEG2, and VC-1.
kypec
26th June 2010, 05:35
For your information, DGIndexNV will handle H.264, MPEG1, and VC-1.
:confused: Didn't you mean to say MPEG-2?
neuron2
26th June 2010, 11:11
A brain fart. Thank you for the correction.
lankou
27th June 2010, 16:44
Neuron2 and Netmask,
Thanks a lot for your valuable information/help.
Regards
Lankou
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.