Opened 6 years ago

Closed 6 years ago

#7212 closed defect (needs_more_info)

-ss before input does not provide proper output

Reported by: ryonsabouni Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: When using -ss seek option before input file, seeks to correct spot BUT freezes the last video frame so that the output file is the same length as the input file. The audio is cut correctly, but the video is not.
How to reproduce:

% ffmpeg -ss 00:00:xx -i input.mp4 -c copy output.mp4
ffmpeg version 4.0
built on mac

Attachments (3)

ffmpeg-20180516-120457.log (11.6 KB ) - added by ryonsabouni 6 years ago.
ffmpeg -report (removed repetitive lines to decrease file size)
colorShort.mp4 (2.3 MB ) - added by ryonsabouni 6 years ago.
ffmpeg-git-master.log (93.6 KB ) - added by ryonsabouni 6 years ago.

Change History (10)

by ryonsabouni, 6 years ago

Attachment: ffmpeg-20180516-120457.log added

ffmpeg -report (removed repetitive lines to decrease file size)

comment:1 by llogan, 6 years ago

Priority: importantnormal
Resolution: invalid
Status: newclosed
Version: git-masterunspecified

-ss 3s is invalid syntax. Use -ss 3 or -ss 00:00:03.

comment:2 by ryonsabouni, 6 years ago

Resolution: invalid
Status: closedreopened

comment:3 by ryonsabouni, 6 years ago

Resolution: invalid
Status: closedreopened

in reply to:  1 comment:4 by ryonsabouni, 6 years ago

Replying to llogan:

-ss 3s is invalid syntax. Use -ss 3 or -ss 00:00:03.

yes it is. try it. Using 3 or 00:00:03 produces the same exact output, I have tried this many times

Last edited 6 years ago by ryonsabouni (previous) (diff)

comment:5 by Carl Eugen Hoyos, 6 years ago

Component: ffmpegundetermined
Resolution: needs_more_info
Status: reopenedclosed

Please test current FFmpeg git head and please provide the input sample.

in reply to:  5 comment:6 by ryonsabouni, 6 years ago

Resolution: needs_more_info
Status: closedreopened
Version: unspecifiedgit-master

Replying to cehoyos:

Please test current FFmpeg git head and please provide the input sample.

Double checked that I had git head installed and ran again. Same error. This error happens with any mp4 but I have now provided a sample mp4 that can be used.

This error occurs when using 00:00:03, 3 or 3s as a seek argument. 3 is simply there as an example. Any amount of time will not provide proper output.

by ryonsabouni, 6 years ago

Attachment: colorShort.mp4 added

by ryonsabouni, 6 years ago

Attachment: ffmpeg-git-master.log added

comment:7 by ryonsabouni, 6 years ago

Resolution: needs_more_info
Status: reopenedclosed

new ticket with bettter formatting and input/output files in the works

Note: See TracTickets for help on using tickets.