Opened 12 years ago
Closed 12 years ago
#2258 closed enhancement (fixed)
allow -ss 30:00 instead of -ss 00:30:00
Reported by: | compn | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avutil |
Version: | git-master | Keywords: | duration format av_parse_time |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
ffmpeg -ss 00:30:00 to seek 30 minutes
be nice to just do ffmpeg -ss 30:00
same with -t
Change History (5)
follow-up: 3 comment:2 by , 12 years ago
30:00 could possibly be interpreted by a user as 30 hours as it may resemble "clock" time. Perhaps 30 is fairly obvious, but not so much with 1:00 as an example.
comment:3 by , 12 years ago
Replying to llogan:
30:00 could possibly be interpreted by a user as 30 hours as it may resemble "clock" time. Perhaps 30 is fairly obvious, but not so much with 1:00 as an example.
I don't disagree that it could be interpreted differently but 30 hour media files are at least unusual and since the syntax is currently not accepted at all I don't see how it could cause any (new) problems.
follow-up: 5 comment:4 by , 12 years ago
no, -ss 30 is 30 seconds (and works in ffmpeg) you dont have to put -ss 00:00:30 to seek 30 seconds.
-ss 30:00 would be 30 minutes
clocks? we're talking about VCRs here...
comment:5 by , 12 years ago
Component: | FFmpeg → avutil |
---|---|
Keywords: | duration format av_parse_time added |
Resolution: | → fixed |
Status: | open → closed |
Replying to compn:
no, -ss 30 is 30 seconds (and works in ffmpeg) you dont have to put -ss 00:00:30 to seek 30 seconds.
-ss 30:00 would be 30 minutes
clocks? we're talking about VCRs here...
Fixed in:
commit 12a269a5229d3a37be0743fc9655f743ebc44b6e Author: Senthilnathan M <senthilnathan.maadasamy@gmail.com> Date: Wed Feb 20 09:51:06 2013 +0530 lavu/parseutils: allow MM:SS format for duration in av_parse_time() Fix trac ticket #2258. Signed-off-by: Senthilnathan M <senthilnathan.maadasamy@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>