I am trying to create a video file(can be any format) from an image file(also any format) and a mp3 audio file. I found that we can use ffmpeg and tried the answers :  The following produces a video  ffmpeg -i ep1.png -i ep1.wav ep1.flv   But the video is not right, the video player crashes and the video cannot be uploaded to youtube because youtube also cannot process it.  The following gives an error:  ffmpeg -i still.png -i narrate.wav -acodec libvo_aacenc -vcodec libx264 final.flv   The error being   Unknown encoder 'libvo_aacenc'   I tried all other methods in answers to  question each giving a different error.  I am using Ubuntu 18.04 in XOrg mode.   I have  ffmpeg encoders.  How can I achieve this in Ubuntu 18.04?  Note: This is in Ubuntu 18.04. Other answers as in  are not working and I am not trying to compress the video. I only need to be able to create a video
121702
I'm using ffmpeg to add a JPG to an MP4 to make an MP4.  As there is only one image to make the video I'm wondering if there is a way to reduce the video size?  Command:  $ ffmpeg -loop 1 -i image.jpg -i audio.mp3 -shortest -c:a copy output.mp4   Results:   image.jpg = 26.7K (image not so clear) audio.mp3 = 64.6M (54 minutes) output.mp4 = 80.6M (video result is not so clear, music still good)   Is it a reasonable size for MP4?
42853
If just need to crop Audio/Video from a longer track, what can I use? I tried OpenShot, but I find the export video slow, perhaps its compling all the "layers" into a new movie? Perhaps I just need a simple "crop" tool for audio/video will surfice?
108535
I need to encode a short video in a format that can be played with windows media player on windows xp without installing any additional codecs. For the recoding process I'm using ffmpeg.  I've already tried the msmpeg4v2 codec but the quality is horrible (compared to the original video you see large "blocks") so I'm looking for other codecs which work out of the box and have at least "ok" quality.  Since comments indicated that it might not be the codec but a bitrate issue, here's the command I used:  ffmpeg -i x.flv -vcodec msmpeg4v2 -acodec adpcm_ima_wav x.avi   Output:  Input #0, flv, from 'x.flv':   Metadata:     moovPosition    : 39337765     avcprofile      : 100     avclevel        : 30     aacaot          : 2     videoframerate  : 25     audiochannels   : 2   Duration: 00:06:19.52, start: 0.000000, bitrate: 836 kb/s     Stream #0:0: Video: h264 (High), yuv420p, 702x396 [SAR 2596:3679 DAR 354:283], 25 tbr, 1k tbn, 50 tbc     Stream #0:1: Audio: aac, 48000 Hz, stereo, s16 w:702 h:396 pixfmt:yuv420p tb:1/1000000 sar:2596/3679 sws_param: Output #0, avi, to 'x.avi':   Metadata:     moovPosition    : 39337765     avcprofile      : 100     avclevel        : 30     aacaot          : 2     videoframerate  : 25     audiochannels   : 2     ISFT            : Lavf53.32.100     Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 702x396 [SAR 2596:3679 DAR 354:283], q=2-31, 200 kb/s, 25 tbn, 25 tbc     Stream #0:1: Audio: adpcm_ima_wav ([17][0][0][0] / 0x0011), 48000 Hz, stereo, s16, 384 kb/s Stream mapping:   Stream #0:0 -&gt; #0:0 (h264 -&gt; msmpeg4v2)   Stream #0:1 -&gt; #0:1 (aac -&gt; adpcm_ima_wav) Press [q] to stop, [?] for help frame= 9485 fps=436 q=31.0 Lsize=   31197kB time=00:06:19.48 bitrate= 673.5kbits/s video:12628kB audio:17913kB global headers:0kB muxing overhead 2.149820%
7234
Even when I start a brand new file in Blender, I only get four video output file options: AVI raw, AVI JPEG, Frame Server, FFMpeg Video.  I am running version 2.78.5 (I'm using the beta so that I can use denoising.  How can I get access to all the other video outputs other people have? Like this:
24543
How to synchronize libfdk_aac and libx264 streams?  ffmpeg -i pipe_libfdk_aac.fifo -i pipe_libx264.fifo -c copy -f flv flv_stream_pipe_or_rtmp.output   I'm always receiving the same asych in all cases: saving file on file system, rtmp-using or raw pipe out. Is it possible to syncronize them?   ffmpeg version N-66924-gaba61b2 Copyright (c) 2000-2014 the FFmpeg developers built on Jan 15 2015 12:50:29 with gcc 4.6 (GCC) 20120106 (prerelease) configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/home/qwerty/work/android-ndk-r10b86/android-ndk-r10b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi- --sysroot=/home/qwerty/work/android-ndk-r10b86/android-ndk-r10b/platforms/android-3/arch-arm --extra-cflags='-I/home/qwerty/x264 -I/home/qwerty/ffmpeg_build/mp3/build/include -I/home/qwerty/faac/output/include -I/home/qwerty/ffmpeg_sources/fdk-aac/build/include -I/usr/local/include/ -mfloat-abi=softfp -mfpu=neon' --extra-ldflags='-L/home/qwerty/x264 -L/home/qwerty/ffmpeg_build/mp3/build/lib -L/home/qwerty/ffmpeg_sources/fdk-aac/build/lib -L/home/qwerty/faac/output/lib -L/usr/local/lib/ -lrtmp -lpolarssl' --enable-version3 --enable-gpl --enable-nonfree --disable-doc --enable-yasm --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --enable-parsers --enable-protocols --enable-filters --enable-avresample --enable-librtmp --enable-libfaac --enable-libfdk_aac --enable-libmp3lame --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-network --enable-libx264 --enable-zlib --enable-muxer=md5 libavutil      54. 10.100 / 54. 10.100 libavcodec     56.  8.100 / 56.  8.100 libavformat    56.  9.100 / 56.  9.100 libavdevice    56.  1.100 / 56.  1.100 libavfilter     5.  1.106 /  5.  1.106 libavresample   2.  1.  0 /  2.  1.  0 libswscale      3.  1.101 /  3.  1.101 libswresample   1.  1.100 /  1.  1.100 libpostproc    53.  3.100 / 53.  3.100
94514
I am trying to delete a few sections of a video using FFmpeg.  For example, imagine if you recorded a show on television and wanted to cut out the commercials. This is simple with a GUI video-editor; you just mark the beginning and ending of each clip to be removed, and select delete. I am trying to do the same thing from the command-line with FFmpeg.  I know how to cut a single segment to a new video like so:  ffmpeg -i input.avi -ss 00:00:20 -t 00:00:05 -map 0 -codec copy output.avi   This cuts a five-second clip and saves it as a new video file, but how can I do the opposite and save the whole video without the specified clip, and how I can I specify multiple clips to be removed?  For example, if my video could be represented by ABCDEFG, I would like to create a new one that would consist of ACDFG.
62835
Using ffmpeg, I made a video from multiple images with the below, which works, however I don't want to use all 200 images in my folder, wanting the video to contain only images from 1 to 100: ffmpeg -start_number n -i test_%d.jpg -vcodec mpeg4 test.avi  How can I specify the number of frames to include in the video, or the number of the ending frame?
110451
I am quite a non-technical guy when it comes to such stuff and hence looking for "easy" solutions.   On Windows, I had used Red Kawa Videora to convert the various audio and video formats to iPod-playable formats. I think it also has a version which works on Mac.   I would like to know if there is other (possibly better and as much or more user-friendly) software which does the above job of converting various audio and video formats into what Apple products can play. (I guess what works on iPod also works on iPad.)
53650
i want to split a video file by size using ffmpeg.  Do you know how to do that ?  Do i have to calculate the duration that corresponds to each size ?  Thank you.
74395
I'd like to get a still image from a digital video I've taken.  A quick search has revealed these two possibilities,     which uses vlc player  which uses Imagegrab   Any suggestions on which might be better or alternatives?    I'd be using Windows OS  Update In the end I used Windows Live Movie Maker
6867
How can I play audio (it would be like a 1 second sound) from a Python script?  It would be best if it was platform independent, but firstly it needs to work on a Mac.  I know I could just execute the afplay file.mp3 command from within Python, but is it possible to do it in raw Python? I would also be better if it didn't rely on external libraries.
45744
I tried playing videos in movie player but only the audio could be heard. I tried playing the video with dragon player but here also only the audio could be heard.  A message box appeared showing the following message:     Python (v2.7) requires to install plugins to play media files of the following type: H.264 decoder   I tried installing the plugin but it couldn't be installed. It isn't available in the software center too. How can I get this plugin?
88186
Yesterday I just installed the Ubuntu 12.04 for the first time, the problem is that I can't play and of the MP3 files that I have.    I get this error:       Required plugin could not be found Python (v2.7) requires to install plugins to play media files of the following type: MPEG-1 Layer 3 (MP3) decoder   Please help me so I can play the files. Thanks
21952
I want to combine two ffmpeg commands to a single command. I am using ready made ffmpeg binary in my Android application. I want to concat .ts files and overlay an image.  I am using following commands:   To concat .ts files:  String[] ffmpegcommand = {"ffmpeg", "-i","concat:"+input_file_path+"|"+input_file_path1, "-c", "copy", "-bsf:a", "aac_adtstoasc", output_file_path};  Apply image overlay effect:  String[] ffmpegcommand = {"ffmpeg","-y" ,"-i", input_file_path,"-strict","experimental", "-vf","movie="+AppStaticData.BASE_FOLDER_PATH + File.separator + "watermarklogo.png"+" [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]", AppStaticData.BASE_FOLDER_PATH+"/" + output_file_path};
79288
With 5 images I have to create a video of 60 seconds in ffmpeg, each image has to display for 15 seconds. after  15 seconds, first image has to fade out and 2nd image has to fade in, after that 2nd image has to fade out, 3rd image has to fade in..etc. Please guide me how can I achieve this using ffmpeg commands.
2554
What is the best way to reencode a video with Xvid? I used FFmpeg in the past (I havent tried using FFmpeg with Xvid however - does FFmpeg keep up with Xvid releases?).  With FFmpeg I either need to figure out the bitrate of the video then reencode it slightly below or I use -sameq (I think it's same quality), however - that produces a file thats bigger and not better then a slightly less bitrate file.  Whats a good way to reecode these videos? (By the way - they are all on my HD as FLV1)
936
From what I've seen it looks to me like Libav's avconv is thought to become a successor of ffmpeg — is that correct?   If that's true, why is that so? What exactly is libav doing better and why would I want to choose it over ffmpeg?   I came to this "issue" while installing Ubuntu 12.04.1 LTS in a VM and when I've installed ffmpeg it came up with a message telling mit ffmpeg is deprecated and I first thought "wtf?".  If I use avconvWill I be able to migrate my scripts depending on ffmpeg more or less easy to libav? I'm mostly using it for writing meta data and doing audio conversion (wav, flac, vorbis, mp3, aac).