why the audio files is nearly empty?

Help
aaa
2006-05-20
2013-05-14
  • aaa

    aaa - 2006-05-20

    Hi, I've tried to demux a mpeg2 file generated using my DVB-T pc card WinTV Nova-T USB2. There have been some errors in the capture but the problem is that the video has been demuxed succesfully but the audio not. Where's the problem? 

    Here's the log generated:

    Saturday, May 20, 2006  9:24:40 PM CEST
    ProjectX 0.90.4.00 (30.03.2006)

    -> working with collection 0

    -> save normal log file
    -> write all video data
    -> write all other data
    -> patch c.d.flagged infos of pictures
    -> add sequence end code
    -> set resolution in SDE
    -> PVA: strictly specs. for audio streams
    -> VOB: determine diff. Cell timelines
    -> TS: ignore scrambled packets
    -> TS: enhanced search for open packets
    -> TS: join file segments (of Dreambox®)
    -> TS: generate PMT stream dependent
    -> get only enclosed PES/TS packets
    -> concatenate different recordings
    -> Video: ignore errors after 1st PTS/GOP
    -> ensure 1st PES-packet start with video
    -> generate PCR/SCR from PTS

    -> write output files to: 'F:\MyVideos'

    -> Input File 0:  'F:\MyVideos\WinTVP.mpg' (2,351,925,248 bytes)
    -> Filetype is MPEG-2 PS/SS (PES Container)
    -> demux
    -> found PES-ID 0xE0 (MPEG Video) @ 35
    -> found PES-ID 0xC0 (MPEG Audio) @ 141
    -> video basics: 720*576 @ 25fps @ 0.6735 (4:3) @ 15000000bps, vbvBuffer 112
    -> starting export of video data @ GOP# 0
    !> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
    !> startPTS of GOP# 1 is earlier than the end of last GOP.. (exp. 95727)
    !> PTS difference of -8481 (23:59:59.906) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 1 / new Timecode 00:00:00.400
    !> PTS difference of 57600 (00:00:00.640) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 21 / new Timecode 00:00:09.760
    !> PTS difference of 7200 (00:00:00.080) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 857 / new Timecode 00:06:50.880
    !> PTS difference of 7200 (00:00:00.080) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 859 / new Timecode 00:06:51.680
    !> PTS difference of 10800 (00:00:00.120) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 860 / new Timecode 00:06:51.960
    !> PTS difference of 10800 (00:00:00.120) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 862 / new Timecode 00:06:52.720
    !> PTS difference of 50400 (00:00:00.560) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 863 / new Timecode 00:06:53.520
    !> PTS difference of 28800 (00:00:00.320) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 7188 / new Timecode 00:57:29.880
    !> PTS difference of 14400 (00:00:00.160) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 7189 / new Timecode 00:57:30.120
    !> PTS difference of 18000 (00:00:00.200) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 7190 / new Timecode 00:57:30.320
    !> ID 0xC0 (sub 0x0) packet# 182116, big PTS difference: this 310998959, prev. 310860720
    !> PTS difference of 14400 (00:00:00.160) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 7191 / new Timecode 00:57:30.560
    !> PTS difference of 100800 (00:00:01.120) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 7192 / new Timecode 00:57:31.280
    !> PTS difference of 21600 (00:00:00.240) to last exported GOP detected
    !> dropping useless B-Frames @ GOP# 7521 / new Timecode 01:00:09.360

    -> Video: fr/ ct/ 1p/ cg/ og/ dg -> 110402/ 14/ 9202/ 9202/ 0/ 0
    -> Video length: 110402 frames @ 01:13:36.080
    -> GOP summary: min. 10, max. 46 fields; contains interlaced frames
    -> avg. nom. bitrate 3995666bps (min/max: 2232000/5504800)
    -> set first sequenceheader bitrate to 5504800bps
    ---> new File: F:\MyVideos\WinTVP.m2v

    --> MPEG Audio (0xC0)
    -> check CRC of AC-3 / MPEG-Audio L1,2
    -> delete CRC in MPEG-Audio Layer1,2
    -> add frames
    Audio PTS: first packet 00:00:00.600, last packet 01:13:41.808
    Video PTS: start 1.GOP 00:00:00.663, end last GOP 01:13:41.769
    -> adjusting audio at video-timeline
    -> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 192kbps, CRC @ 00:00:00.000
    audio frames: wri/pre/skip/ins/add 375/0/0/0/0 @ 00:00:09.000 done...
    ---> new File: 'F:\MyVideos\WinTVP.mp2'

    summary of created media files:
    .Video (m2v):    110402 Frames    01:13:36.080        'F:\MyVideos\WinTVP.m2v'
    Audio 0 (mp2):    375 Frames    00:00:09.000    0/0/0/0    'F:\MyVideos\WinTVP.mp2'
    => 2,205,863,913 bytes written...
    -> we have 29 warnings/errors.

     
    • bluegecko73

      bluegecko73 - 2008-09-27

      I get the same thing. It doesn't happen on all recordings though, but when it happens I get a demuxed audio file much shorter than the video file too.

      I've occasionally gotten around this by selectively chopping out bits like adverts, but it doesn't always work.

      My latest failure is on a recording made with a Hauppauge WinTV PVRUSB2 device, although it may have also happened with recordings from my Hauppauge Nova-T 500 dual DVB-T tuner.

      The log file claims to have errors, but I'm not sure how they relate to this problem. When I check the files around the time code where the audio stops I see no problems.

      Is there a reason for this problem, or a setting that can be used to ignore the problem and carry on demuxing the audio? I've tried changing a few settings myself, but it has no effect and I still get a truncated audio file.

      Here's the output from my logfile:

      Saturday, 27 September 2008  16:02:56 o'clock BST
      ProjectX 0.90.02.00 (26.11.2005)

      compiled by OoZooN with JDK 1.5.0_04

      <<< session infos >>>

      -> working with collection 0

      -> save normal log file
      -> write all video data
      -> write all other data
      -> patch c.d.flagged infos of pictures
      -> add sequence end code
      -> set resolution in SDE
      -> PVA: strictly specs. for audio streams
      -> VOB: determine diff. Cell timelines
      -> TS: ignore scrambled packets
      -> TS: enhanced search for open packets
      -> TS: join file segments (of Dreambox)
      -> TS: generate PMT stream dependent
      -> get only enclosed PES/TS packets
      -> concatenate different recordings
      -> ensure 1st PES-packet start with video
      -> generate PCR/SCR from PTS

      -> write output files to: 'E:\DVD\1'

      -> Input File 0:  'E:\DVD\1\Sample.mpg' (5,092,758,509 bytes)
      -> Filetype is MPEG-2 PS/SS (PES Container)
      -> demux
      -> found PES-ID 0xC0 (MPEG Audio) @ 56
      -> found PES-ID 0xE0 (MPEG Video) @ 8218
      -> video basics: 720*576 @ 25fps @ 0.7031 (16:9) @ 6348800bps, vbvBuffer 112
      -> starting export of video data @ GOP# 0
      !> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
      !> dropping GOP# 4474 @ orig.PTS 02:15:33.494 (732014466)
      -> Pics exp/cnt 15/15, inGOP PTS diff. 23ms, new Timecode 00:44:44.320
      !> PTS difference of 56445 (00:00:00.627) to last exported GOP detected
      !> dropping useless B-Frames @ GOP# 4475 / new Timecode 00:44:44.320
      !> startPTS of GOP# 9245 is earlier than the end of last GOP.. (exp. 989656005)
      !> dropping GOP# 9245 @ orig.PTS 03:03:16.157 (989654193)
      -> Pics exp/cnt 15/15, inGOP PTS diff. -3ms, new Timecode 01:32:26.240
      !> PTS difference of 51729 (00:00:00.574) to last exported GOP detected
      !> dropping useless B-Frames @ GOP# 9246 / new Timecode 01:32:26.240

      -> Video: fr/ ct/ 1p/ cg/ og/ dg -> 191859/ 3/ 0/ 12791/ 0/ 2
      -> Video length: 191859 frames @ 02:07:54.360
      -> GOP summary: min. 26, max. 30 fields; contains interlaced frames
      -> avg. nom. bitrate 4915560bps (min/max: 1571200/8245600)
      -> set first sequenceheader bitrate to 8245600bps
      ---> new File: E:\DVD\1\Sample.m2v

      --> MPEG Audio (0xC0)
      -> check CRC of AC-3 / MPEG-Audio L1,2
      -> delete CRC in MPEG-Audio Layer1,2
      -> add frames
      Audio PTS: first packet 01:30:48.355, last packet 03:38:44.935
      Video PTS: start 1.GOP 01:30:49.201, end last GOP 03:38:44.942
      -> adjusting audio at video-timeline
      -> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 384kbps, noCRC @ 00:00:00.000
      audio frames: wri/pre/skip/ins/add 81272/0/0/0/0 @ 00:32:30.528 done...
      ---> new File: 'E:\DVD\1\Sample.mp2'

      summary of created media files:
      .Video (m2v):    191859 Frames    02:07:54.360        'E:\DVD\1\Sample.m2v'
      Audio 0 (mp2):    81272 Frames    00:32:30.528    0/0/0/0    'E:\DVD\1\Sample.mp2'
      => 4,809,098,276 bytes written...
      -> we have 8 warnings/errors.

       
    • Matthias Mueller

      do make an update from CVS.
      there were made changes concerning the lost of audio.
      but still there are (new) cases where this not helps yet, unfortunately..

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks