Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33996 - ffmpeg's duration switch has no effect when recording sound

Attached to Project: Arch Linux
Opened by Kai Hendry (hendry) - Sunday, 24 February 2013, 14:42 GMT
Last edited by Dave Reisner (falconindy) - Friday, 01 March 2013, 00:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: duration has no effect when recording sound

ffmpeg -t 5 -f x11grab -s 1366x768 -i :0.0 -vcodec ffvhuff test.mkv # works
ffmpeg -t 5 -f x11grab -s 1366x768 -i :0.0 -f alsa -i hw:0,0 -acodec pcm_s16le -vcodec ffvhuff test.mkv # does not

Additional info:
* package version(s) 1:1.1.2-2
* config and/or log files etc.


Steps to reproduce:

Trying to record 5 second clip with sound:
ffmpeg -t 5 -f x11grab -s 1366x768 -i :0.0 -f alsa -i hw:0,0 -acodec pcm_s16le -vcodec ffvhuff test.mkv

ffmpeg carries on recording until runs out of space.
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 01 March 2013, 00:32 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Incorrect usage and console output provides informative message telling user to move option to correct location.
Comment by Ionut Biru (wonder) - Sunday, 24 February 2013, 17:21 GMT
please report this issue upstream.
Comment by DrZaius (DrZaius) - Thursday, 28 February 2013, 23:14 GMT
-t is an output option not an input option as stated by the console output that you did not include:

"-t is not an input option, keeping it for the next output; consider fixing your command line."

Loading...