[FFmpeg-user] Problem with ffmpeg frames

Stefan Kruse besucher80 at gmx.de
Thu Apr 18 12:19:21 CEST 2013


Okay,
Here is what I entered on shell:

./ffmpeg -i smk-ebay.avi -ss 00:00:00 -f image2 -vframes 1 test.jpg

And the console output is the follow:

ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 18 2013 10:53:59 with gcc 4.4.5 (Gentoo 4.4.5 p1.3,
pie-0.4.5)
  configuration: --prefix=XYZ --disable-yasm
  libavutil      52. 26.100 / 52. 26.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  2.100 / 55.  2.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 56.102 /  3. 56.102
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
Input #0, avi, from 'smk-ebay.avi':
  Duration: 00:03:57.88, start: 0.000000, bitrate: 196 kb/s
    Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 640x480
[SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz, mono, fltp,
64 kb/s
[mjpeg @ 0x8fecca0] ff_frame_thread_encoder_init failed
Output #0, image2, to 'test.jpg':
    Stream #0:0: Video: mjpeg, yuvj420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31,
200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mjpeg)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height

Hope this helps. Because an working example I cant give. But maybe this
helps.

Thanks Stefan




-----Ursprüngliche Nachricht-----
Von: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org]
Im Auftrag von Carl Eugen Hoyos
Gesendet: Donnerstag, 18. April 2013 12:02
An: ffmpeg-user at ffmpeg.org
Betreff: Re: [FFmpeg-user] Problem with ffmpeg frames

Stefan Kruse <besucher80 <at> gmx.de> writes:

> shell_exec( 'ffmpeg -i '.$inputVideoPath.' -ss 00:00:00.00 -f image2 
> -vframes 1 '.$outputVideoImage );

Instead of using variables, please post an actual
(working) command line that does not contain variables and please post the
complete, uncut console output (not just one line).

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list