google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

Video-only files #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

- Run ffmt on a videofile with no audio stream. It's quite easy to reproduce 
this error, for example: 
1. Remove audiostream from videofile with ffmpeg.
ffmpeg -i video.mp4 -an noaudio_video.mp4

2. Run ffmpegthumbnailer on the video-only file (on Linux, command line):
ffmpegthumbnailer -i noaudio_video.mp4 -s 0 -q 10 -t 10 -o img_noaudio_video.jpg

3. Check the output file.

What is the expected output? What do you see instead?

- Whenever I run ffmpegthumbnailer on a videofile which has no audio stream, 
it'll give the following message:
"Error: Could not find stream information".
- The program also makes an empty image file with a size of 0 Byte.

What version of the product are you using? On what operating system?

I think v2.0.7 on GNU/Linux Debian

Please provide any additional information below.

Original issue reported on code.google.com by galactic...@freemail.hu on 5 Nov 2012 at 2:29

GoogleCodeExporter commented 9 years ago
I tried it on a video and cannot reproduce the issue. Please provide a sample 
that reproduces the issue

Original comment by dirk.vdb on 1 Dec 2012 at 3:43

GoogleCodeExporter commented 9 years ago
Hmm... make sure that you've _really_ removed the audio data, I'm pretty sure 
that the missing audio stream causes this error.
I'm useing mediainfo to check it; if you successfully removed it, then you 
won't see the audio-node.

However, here's the zip:
http://www.mediafire.com/?a76s690bp609k61
(Incudes two sample videos with and without audio, and two thumbnails generated 
from each samples, at 50% position.)

Sincerely, Lukácsy G.

Original comment by galactic...@freemail.hu on 7 Dec 2012 at 2:20

GoogleCodeExporter commented 9 years ago
I'm really sure I removed it. ffprobe only lists the video stream

Original comment by dirk.vdb on 7 Dec 2012 at 2:24

GoogleCodeExporter commented 9 years ago
I'll try it with your samples

Original comment by dirk.vdb on 7 Dec 2012 at 2:25

GoogleCodeExporter commented 9 years ago
The file you provided is not playable with ffplay either so it's simply a bad 
file.

Original comment by dirk.vdb on 16 Feb 2013 at 9:51