Opened 10 years ago
Closed 8 years ago
#4475 closed defect (duplicate)
Input option -t fails with -vcodec copy
Reported by: | Carl Eugen Hoyos | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | ffmpeg |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Could be considered a regression because -t used to be an output option that was also accepted if specified in front of the input file until 6d77279e
$ ffmpeg -f lavfi -i testsrc -qscale 2 -t 180 -vcodec mpeg4 out.mov
$ ffmpeg -ss 30 -t 60 -i out.mov -vcodec copy out2.mov ffmpeg version N-71402-ga202fe0 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.7 (SUSE Linux) configuration: --enable-gpl libavutil 54. 22.101 / 54. 22.101 libavcodec 56. 34.100 / 56. 34.100 libavformat 56. 30.100 / 56. 30.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 13.101 / 5. 13.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf56.30.100 Duration: 00:03:00.00, start: 0.000000, bitrate: 344 kb/s Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 343 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default) Metadata: handler_name : DataHandler encoder : Lavc56.34.100 mpeg4 [mov @ 0x3969a00] Codec for stream 0 does not use global headers but container format requires global headers Output #0, mov, to 'out2.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt encoder : Lavf56.30.100 Stream #0:0(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 343 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: handler_name : DataHandler encoder : Lavc56.34.100 mpeg4 Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 2256 fps=0.0 q=-1.0 Lsize= 3793kB time=00:01:29.96 bitrate= 345.4kbits/s video:3782kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.274722%
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of ticket #977
Fixed by Simon Thelen in 5b6c0fdb4316ef71ef151e8b0f9137fe64877589
Note:
See TracTickets
for help on using tickets.
cehoyos wrote:
Interesting, I would have expected it to be either ~00:01:00 (as requested, "-t 60"), or 00:02:30 (180 seconds minus "-ss 30"), if "-t" was being ignored.
BTW, I can't reproduce this with current git master HEAD. When was this fixed (if ever), with which commit?