I am trying to create a still image (jpg) from mp4 file using ffmpeg of static in CentOS 7.2.
I remember using ffmpeg installed in yum before (I remember...), but I couldn't make it because of an error, so I brought a static ffmpeg.But it's a similar event.
I brought "-ss" in front of me because I want to make it at high speed.Below is the log of the execution and the contents of the error.If you know how to deal with it, please let me know.
$./ffmpeg-ss200-i/mnt/ram/enc/fb9f7f36627a684271c2b7154b6b3f10.mp4-vframes1-image2-s320x180/mnt/ram/enc/fb9f7f366271c2b7154b6b3f10.jpg
ffmpeg version N-82240-g55061bb-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers
build with gcc 5.4.1 (Debian 5.4.1-3) 20161019
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libebur128 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwpx --enable-libwpx --enable-libswebpx --enable-libbspeex --enable-libx --enable-libx --libx --enable-libx --enable-libx --libx --enable-libx --enable-lib
libavutil 55.35.100 / 55.35.100
libavcodec 57.66.101 / 57.66.101
libavformat 57.57.100/57.57.100
libavdevice 57.2.100/57.2.100
libavfilter 6.66.100 / 6.66.100
libswscale 4.3.100 / 4.3.100
libswresample 2.4.100 / 2.4.100
libpostproc54.2.100/54.2.100
Input#0,mov,mp4,m4a,3gp,3g2,mj2,from'/mnt/ram/enc/fb9f7f36627a684271c2b7154b6b3f10.mp4':
Metadata:
major_brand —isom
minor_version —512
compatible_brands —isomiso2avc1mp41
encoder:Lavf57.55.100
Duration: 00:48:46.60, start: 0.000000, bitrate: 130 kb/s
Stream #0:0(eng): Audio: aac(LC) (mp4a/0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)
Metadata:
handler_name —SoundHandler
Output #0, image2, to '/mnt/ram/enc/fb9f7f36627a684271c2b7154b6b3f10.jpg':
Output file#0 does not contain any stream
As far as the logs are concerned, the reason is that the mp4 file contains only audio data (mp4a format).
This post was posted as a community wiki based on @metropolis' comments.
© 2024 OneMinuteCode. All rights reserved.