Opened 10 years ago
Closed 10 years ago
#3826 closed defect (worksforme)
Can't get frame of a video just from specific second
Reported by: | jurassic | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I'm trying to use ffmpeg to play with a lot of different video files and formats, so I'm using videos from this page: http://download.wavetlan.com/SVV/Media/HTTP/http-3gp.htm
There's one specific with a curious problem.
http://download.wavetlan.com/SVV/Media/HTTP/3GP/QuickTime/Quicktime_test3_3GPv5_H263_xbit_176x144_AR1.22_30fps_KF1in30_32kbps_AMR-NB_Mono_8000Hz_6.7kbps.3gp
If I try to get a PNG from this video, it works just if seconds is less than 43.
% ffmpeg -y -ss 00:40 -i Quicktime_test3_3GPv5_H263_xbit_176x144_AR1.22_30fps_KF1in30_32kbps_AMR-NB_Mono_8000Hz_6.7kbps.3gp -vframes 1 output.png works for me % ffmpeg -y -ss 00:43 -i Quicktime_test3_3GPv5_H263_xbit_176x144_AR1.22_30fps_KF1in30_32kbps_AMR-NB_Mono_8000Hz_6.7kbps.3gp -vframes 1 output.png works for me % ffmpeg -y -ss 00:44 -i Quicktime_test3_3GPv5_H263_xbit_176x144_AR1.22_30fps_KF1in30_32kbps_AMR-NB_Mono_8000Hz_6.7kbps.3gp -vframes 1 output.png does not works for me It says: Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
Version used: (macosx)
ffmpeg version 2.2.4-tessus Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 29 2014 16:35:46 with clang version 3.3 (tags/RELEASE_33/final)
I also tried with other versions (2.1.5 and 2.3)
Attachments (2)
Change History (12)
comment:1 by , 10 years ago
Priority: | important → normal |
---|
by , 10 years ago
comment:2 by , 10 years ago
To show more than 43 seconds ?
I try just to take a snapshot of the 60th second of video, and I noticed I can't take a snapshot below the 43th second.
Sorry but I'm not developer and I can not compile the FFmpeg for myself.
Can you please try with the video I pasted instead ?
comment:3 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 2.2.4 → unspecified |
Please reopen this ticket if there is any application that shows video for more than 43 seconds. You do agree that if a file contains 60 seconds of video and you try to extract a frame from the 61st second, FFmpeg should not show a frame, or do you disagree?
follow-up: 5 comment:4 by , 10 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I really don't understand you with "Please reopen this ticket if there is any application that shows video for more than 43 seconds."
All video players shows video for the duration of the video itself ... if I have a movie of 2 hours, I can see the 2 hours complete in VLC or ANY video player.
That video duration is 21 minutes 30 seconds ... why can not I extract a frame from second 45 ?
Can't get a frame of any part of a video with ffmpeg ?
This is insane ... I download the video, I click twice in my Mac and Quicktime opens the video, and I can see playing the video for 21 minutes 30 seconds ... ALL OF IT.
comment:5 by , 10 years ago
Replying to jurassic:
I really don't understand you with "Please reopen this ticket if there is any application that shows video for more than 43 seconds."
But you finally answered the question below...
All video players shows video for the duration of the video itself ...
How can this be true? You yourself reported here that FFmpeg only shows 43 seconds of the video, and the same is true for MPlayer.
if I have a movie of 2 hours, I can see the 2 hours complete in VLC or ANY video player.
I tested the file with vlc 2.1.5 and it plays video for exactly 43 seconds for the given file. Which version did you test?
That video duration is 21 minutes 30 seconds ... why can not I extract a frame from second 45 ?
Afaict, the video is only 43 seconds, but please see below!
Can't get a frame of any part of a video with ffmpeg ?
This is insane ... I download the video, I click twice in my Mac and Quicktime opens the video, and I can see playing the video for 21 minutes 30 seconds ... ALL OF IT.
I tested with QuickTime 7.7.5 and it only shows video for 43 seconds. Before I try to find a OSX computer with a current version of QuickTime, could you confirm the md5sum of the file you are testing and tell me the QuickTime version that shows more than 43 seconds?
$ md5sum Quicktime_test3_3GPv5_H263_xbit_176x144_AR1.22_30fps_KF1in30_32kbps_AMR-NB_Mono_8000Hz_6.7kbps.3gp 40014dca97b501c622c2b2e942521c8a *Quicktime_test3_3GPv5_H263_xbit_176x144_AR1.22_30fps_KF1in30_32kbps_AMR-NB_Mono_8000Hz_6.7kbps.3gp
comment:6 by , 10 years ago
Status: | reopened → open |
---|
MD5 Quicktime_test3_3GPv5_H263_xbit_176x144_AR1.22_30fps_KF1in30_32kbps_AMR-NB_Mono_8000Hz_6.7kbps.3gp) = 40014dca97b501c622c2b2e942521c8a
And I see the complete chapter of a Halloween's Simpsons show.
comment:7 by , 10 years ago
Which version of QuickTime do I have to test?
Or is there another media player that shows more than 43 seconds of video?
comment:10 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | open → closed |
I just had the pleasure of listening 21 minutes to the attached media file on QuickTime 10.3 (727.4) - the same version tested in comment:8 - and I can confirm now that the file only contains 43 seconds of video.
by , 10 years ago
Attachment: | Image 2014-08-06 at 8.33.32 a.m..png added |
---|
Which application shows more than 43 seconds of video for the input file?
To make this a valid ticket, please test current FFmpeg git head and please provide the non-working command line together with the complete, uncut console output.