the duration (-t) option seems to be ignore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ffmpeg (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
previous to upgrading to 18.04 from 16.04 I scripted to ffmpeg to capture a video feed for 30 mins. Now the capture only lasts for about 30 secs.
Command,
ffmpeg -t 1800 -i rtsp:<source> -vcodec libx264 -y "<dest>"
$ lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
$ apt-cache policy ffmpeg
ffmpeg:
Installed: 7:3.4.2-2
Candidate: 7:3.4.4-
Version table:
7:
500 http://
500 http://
*** 7:3.4.2-2 500
500 http://
100 /var/lib/
Note I tried version 7:3.4.4 but same result.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ffmpeg 7:3.4.2-2
ProcVersionSign
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Sat Mar 2 15:22:37 2019
SourcePackage: ffmpeg
UpgradeStatus: Upgraded to bionic on 2019-03-02 (0 days ago)
description: | updated |
Changed in ffmpeg (Ubuntu): | |
status: | Incomplete → New |
Changed in ffmpeg (Ubuntu): | |
status: | New → Incomplete |
What's the output of that ffmpeg command?
Note that the -t option is an upper limit on the duration. If your input is already shorter than that, it will have no effect.