[libav-bugs] [Bug 275] New: avconv can't copy 0-channel ac3 track

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sun Apr 29 00:34:14 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=275

           Summary: avconv can't copy 0-channel ac3 track
           Product: Libav
           Version: 0.8
          Platform: X86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: aelschuring at hotmail.com


Created attachment 305
  --> https://bugzilla.libav.org/attachment.cgi?id=305
first 1MB of failing vob

As just discussed on IRC, I'm trying to use avconv to copy an audio+video track
out of a dvd rip (VOB). The dvd plays fine, and so does the rip, but anything
beyond playing trips up (not just avconv, mkvtoolnix and transcode also had
issues).

Here's the issue:
## IDENTIFY: finds ac3 audio with 0 channels
aschuring at viper:tmp$ avconv -i ac3-0channels.vob
mavconv version 0.8.1-5:0.8.1-4, Copyright (c) 2000-2011 the Libav developers
  built on Mar 30 2012 14:37:42 with gcc 4.6.3
[mpeg @ 0x24e99a0] max_analyze_duration reached
Input #0, mpeg, from 'ac3-0channels.vob':
  Duration: 00:04:04.16, start: 0.287267, bitrate: 34 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45
DAR 16:9], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x80]: Audio: ac3, 0 channels
    Stream #0.2[0x81]: Audio: ac3, 0 channels
At least one output file must be specified

## -codec copy: only copies the video track
aschuring at viper:tmp$ avconv -i ac3-0channels.vob -c copy -y out.vob
avconv version 0.8.1-5:0.8.1-4, Copyright (c) 2000-2011 the Libav developers
  built on Mar 30 2012 14:37:42 with gcc 4.6.3
[mpeg @ 0x230b9a0] max_analyze_duration reached
Input #0, mpeg, from 'ac3-0channels.vob':
  Duration: 00:04:04.16, start: 0.287267, bitrate: 34 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45
DAR 16:9], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x80]: Audio: ac3, 0 channels
    Stream #0.2[0x81]: Audio: ac3, 0 channels
Output #0, svcd, to 'out.vob':
  Metadata:
    encoder         : Lavf53.21.0
    Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9],
q=2-31, 8000 kb/s, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press ctrl-c to stop encoding
frame=  172 fps=  0 q=-1.0 Lsize=     784kB time=6.80 bitrate= 944.5kbits/s    
video:771kB audio:0kB global headers:0kB muxing overhead 1.662429%

## -map: forcing an audio track to be included fails with "incorrect
## codec parameters"
aschuring at viper:tmp$ avconv -i ac3-0channels.vob -c copy -y -map 0:2 out.vob
avconv version 0.8.1-5:0.8.1-4, Copyright (c) 2000-2011 the Libav developers
  built on Mar 30 2012 14:37:42 with gcc 4.6.3
[mpeg @ 0x15f89a0] max_analyze_duration reached
Input #0, mpeg, from 'ac3-0channels.vob':
  Duration: 00:04:04.16, start: 0.287267, bitrate: 34 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45
DAR 16:9], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x80]: Audio: ac3, 0 channels
    Stream #0.2[0x81]: Audio: ac3, 0 channels
[svcd @ 0x15faf20] sample rate not set
Output #0, svcd, to 'out.vob':
    Stream #0.0: Audio: ac3, 0 channels
Stream mapping:
  Stream #0:2 -> #0:0 (copy)
Could not write header for output file #0 (incorrect codec parameters ?)

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list