[libav-bugs] [Bug 368] New: aformat filter drops language information

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue Sep 18 00:50:21 CEST 2012


http://bugzilla.libav.org/show_bug.cgi?id=368

           Summary: aformat filter drops language information
           Product: Libav
           Version: git HEAD
          Platform: X86
        OS/Version: Mac OS
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavfilter
        AssignedTo: bugzilla at libav.org
        ReportedBy: tdskywalker at gmail.com


Command 1, no filtering:
--------------------------------------------------------------
avconv -i SpeakerID-6point1.mkv ~/Desktop/test.mka
avconv version v0.8-3125-g2a8a860, Copyright (c) 2000-2012 the Libav developers
  built on Sep 18 2012 00:30:48 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
[matroska,webm @ 0x7fab6a806600] Non-increasing DTS in stream 1: packet 3 with
DTS 3, packet 4 with DTS 3
[redacted: same as above]
Input #0, matroska,webm, from 'SpeakerID-6point1.mkv':
  Duration: 00:00:43.12, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR
16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: truehd, 48000 Hz, 6.1, s32 (default)
    Metadata:
      title           : TrueHD, 6.1 (L R C LFE Ls Rs + Cs, internal: L R C Rs
Ls LFE + Cs)
    Stream #0.2(eng): Audio: eac3, 48000 Hz, 5.1, s16, 403 kb/s
    Metadata:
      title           : E-AC-3, 6.1 (L C R Ls Rs LFE + Cs)
    Stream #0.3(eng): Audio: dca (DTS-HD MA), 48000 Hz, 6.1, s16, 768 kb/s
    Metadata:
      title           : DTS, 6.1 (C L R Ls Rs, LFE, XCH: Cs, XLL)
    Stream #0.4(eng): Audio: aac, 48000 Hz, 6.1, s16
    Metadata:
      title           : AAC, 6.1 (C L R Ls Rs Cs LFE)
    Stream #0.5(eng): Audio: vorbis, 48000 Hz, 6.1, s16
    Metadata:
      title           : Vorbis, 6.1 (Front: L C R, Side: L R, Rear: C, LFE)
Output #0, matroska, to '/Users/tim/Desktop/test.mka':
  Metadata:
    encoder         : Lavf54.16.1
    Stream #0.0(eng): Audio: ac3, 48000 Hz, 5.1, flt, 448 kb/s (default)
    Metadata:
      title           : TrueHD, 6.1 (L R C LFE Ls Rs + Cs, internal: L R C Rs
Ls LFE + Cs)
Stream mapping:
  Stream #0:1 -> #0:0 (truehd -> ac3)
Press ctrl-c to stop encoding
End of stream indicated.74 bitrate= 449.4kbits/s    
size=    2365kB time=43.07 bitrate= 449.9kbits/s    
video:0kB audio:2356kB global headers:0kB muxing overhead 0.422341%
--------------------------------------------------------------

The output MKV's audio track has the track language set correctly.

Command 2, with aformat filter:
--------------------------------------------------------------
avconv -i SpeakerID-6point1.mkv -filter_complex aformat="channel_layouts=5.1"
~/Desktop/test.mka
avconv version v0.8-3125-g2a8a860, Copyright (c) 2000-2012 the Libav developers
  built on Sep 18 2012 00:30:48 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
[matroska,webm @ 0x7fe0f2806600] Non-increasing DTS in stream 1: packet 3 with
DTS 3, packet 4 with DTS 3
[redacted: same as above]
Input #0, matroska,webm, from 'SpeakerID-6point1.mkv':
  Duration: 00:00:43.12, start: 0.000000, bitrate: N/A
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR
16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: truehd, 48000 Hz, 6.1, s32 (default)
    Metadata:
      title           : TrueHD, 6.1 (L R C LFE Ls Rs + Cs, internal: L R C Rs
Ls LFE + Cs)
    Stream #0.2(eng): Audio: eac3, 48000 Hz, 5.1, s16, 403 kb/s
    Metadata:
      title           : E-AC-3, 6.1 (L C R Ls Rs LFE + Cs)
    Stream #0.3(eng): Audio: dca (DTS-HD MA), 48000 Hz, 6.1, s16, 768 kb/s
    Metadata:
      title           : DTS, 6.1 (C L R Ls Rs, LFE, XCH: Cs, XLL)
    Stream #0.4(eng): Audio: aac, 48000 Hz, 6.1, s16
    Metadata:
      title           : AAC, 6.1 (C L R Ls Rs Cs LFE)
    Stream #0.5(eng): Audio: vorbis, 48000 Hz, 6.1, s16
    Metadata:
      title           : Vorbis, 6.1 (Front: L C R, Side: L R, Rear: C, LFE)
Output #0, matroska, to '/Users/tim/Desktop/test.mka':
  Metadata:
    encoder         : Lavf54.16.1
    Stream #0.0: Audio: ac3, 48000 Hz, 5.1, flt, 448 kb/s (default)
Stream mapping:
  Stream #0:1 (truehd) -> aformat
  aformat -> Stream #0:0 (ac3)
Press ctrl-c to stop encoding
End of stream indicated.73 bitrate= 445.6kbits/s    
size=    2365kB time=43.07 bitrate= 449.9kbits/s    
video:0kB audio:2356kB global headers:0kB muxing overhead 0.417366%
--------------------------------------------------------------

The output MKV's audio track does NOT have the track language set.

I'm unsure of whether this is an avconv issue or an avfilter issue, TBH.

Samples not provided because this should be fairly easy to reproduce.

-- 
Configure bugmail: http://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