[libav-bugs] [Bug 528] New: amix filter does not respect to -itsoffset parameter

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Thu Jun 13 09:46:58 CEST 2013


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

           Summary: amix filter does not respect to -itsoffset parameter
           Product: Libav
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: libavfilter
        AssignedTo: bugzilla at libav.org
        ReportedBy: zerthurd at gmail.com


$ avconv -version
avconv version v9.6-21-g8eb7c25, Copyright (c) 2000-2013 the Libav developers
  built on Jun 13 2013 14:30:20 with gcc 4.7.3 (Gentoo Hardened 4.7.3 p1.0,
pie-0.5.5)
avconv v9.6-21-g8eb7c25
libavutil     52.  3. 0 / 52.  3. 0
libavcodec    54. 35. 0 / 54. 35. 0
libavformat   54. 20. 3 / 54. 20. 3
libavdevice   53.  2. 0 / 53.  2. 0
libavfilter    3.  3. 0 /  3.  3. 0
libavresample  1.  0. 1 /  1.  0. 1
libswscale     2.  1. 1 /  2.  1. 1


I trying to mix 4 mp3-files into one with different delays of input files, but
all streams starts with 0 offset.

My commandline:

$ avconv -y -i main.mp3 -itsoffset 5 -i n-00004-ts-1362777-s-10014579.mp3
-itsoffset 10 -i n-00009-ts-3413069-s-3169.mp3 -itsoffset 15 -i
n-00010-ts-3703894-s-10017081.mp3 -filter_complex
amix=inputs=4:duration=first:dropout_transition=3 outs.mp3
avconv version v9.6-21-g8eb7c25, Copyright (c) 2000-2013 the Libav developers
  built on Jun 13 2013 14:30:20 with gcc 4.7.3 (Gentoo Hardened 4.7.3 p1.0,
pie-0.5.5)
[mp3 @ 0x13111c0] max_analyze_duration reached
[mp3 @ 0x13111c0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, mp3, from 'main.mp3':
  Metadata:
    encoder         : Lavf53.21.1
  Duration: 02:40:32.56, start: 0.000000, bitrate: 48 kb/s
    Stream #0.0: Audio: mp3, 22050 Hz, stereo, s16p, 48 kb/s
[mp3 @ 0x1311f60] max_analyze_duration reached
[mp3 @ 0x1311f60] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #1.0 : mono
Input #1, mp3, from 'n-00004-ts-1362777-s-10014579.mp3':
  Metadata:
    encoder         : Lavf53.21.1
  Duration: 00:00:06.79, start: 0.000000, bitrate: 160 kb/s
    Stream #1.0: Audio: mp3, 22050 Hz, mono, s16p, 160 kb/s
[mp3 @ 0x13218c0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #2.0 : mono
Input #2, mp3, from 'n-00009-ts-3413069-s-3169.mp3':
  Metadata:
    encoder         : Lavf53.21.1
  Duration: 00:00:04.49, start: 0.000000, bitrate: 160 kb/s
    Stream #2.0: Audio: mp3, 22050 Hz, mono, s16p, 160 kb/s
[mp3 @ 0x13444c0] max_analyze_duration reached
[mp3 @ 0x13444c0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #3.0 : mono
Input #3, mp3, from 'n-00010-ts-3703894-s-10017081.mp3':
  Metadata:
    encoder         : Lavf53.21.1
  Duration: 00:00:27.87, start: 0.000000, bitrate: 160 kb/s
    Stream #3.0: Audio: mp3, 22050 Hz, mono, s16p, 160 kb/s
Output #0, mp3, to 'outs.mp3':
  Metadata:
    TSSE            : Lavf54.20.3
    Stream #0.0: Audio: libmp3lame, 22050 Hz, stereo, fltp
Stream mapping:
  Stream #0:0 (mp3) -> amix:input0
  Stream #1:0 (mp3) -> amix:input1
  Stream #2:0 (mp3) -> amix:input2
  Stream #3:0 (mp3) -> amix:input3
  amix -> Stream #0:0 (libmp3lame)
Press ctrl-c to stop encoding


Now file outs.mp3 contains all input streams started at the same time.

-- 
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