[libav-bugs] [Bug 399] New: -t needs to be after -i

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Thu Nov 29 23:50:16 CET 2012


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

           Summary: -t needs to be after -i
           Product: Libav
           Version: 0.8
          Platform: X86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: jerome at jolimont.fr


I believe the two following lines should work the same :

avconv -i input.mp4 -t 5 -vcodec copy -acodec copy output.mp4
avconv -t 5 -i input.mp4 -vcodec copy -acodec copy output.mp4

They don't. Only the first works as expected. In the second, the -t option is
ignored and the whole file is copied.

FWIW, it works correctly with ffmpeg.

ffmpeg -i input.mp4 -t 5 -vcodec copy -acodec copy output.mp4
ffmpeg -t 5 -i input.mp4 -vcodec copy -acodec copy output.mp4

See here, for another user feedback :
http://www.xormedia.com/extrct-a-video-clip-on-the-command-line-using-avconv-or-ffmpeg/#comment-684641037

Is this limitation intended ? I read nothing about such a design change.

Versions are debian wheezy's :

avconv version 0.8.4-6:0.8.4-1, Copyright (c) 2000-2012 the Libav developers
  built on Oct 22 2012 21:36:00 with gcc 4.7.2

ffmpeg version 0.8.4-6:0.8.4-1, Copyright (c) 2000-2012 the Libav developers
  built on Oct 22 2012 21:36:00 with gcc 4.7.2

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