Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.

learn more… | top users | synonyms

0
votes
0answers
119 views

ffmpeg error when encoding h264 mp4 video

I'm trying to do a simple encoding of an mp4 in h264 to mp4 but I keep getting the error: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width ...
0
votes
1answer
46 views

FFmpeg build configuration for just AAC, MP3, WAV

I need to use ffmpeg for just converting audio files between AAC, MP3, WAV only. So I want to compile ffmpeg for my requirement. But I don't know best ./configure bla bla bla... commandline for my ...
0
votes
0answers
73 views

What is the lightest possible way to record a screencast with ffmpeg?

I would like to capture a sreencast at 60fps. I tried with this: ffmpeg -f alsa -ac 2 -i pulse -c:a pcm_s16le -f x11grab -r 60 -s 1920x1080 -i :0.0 -c:v libx264 -preset ultrafast -crf 0 out.mkv ...
0
votes
1answer
149 views

ffmpeg says that “'.mkv' is not a suitable output format”

I have trouble with ffmpeg, I want to do a two-pass encoding, plus denoise and deblock if possible. This is a command I thought would work but I am getting all sorts of problems: ffmpeg -y -i ...
0
votes
0answers
61 views

Resume transcoding a video with ffmpeg

I have a node server that uses child-process to use ffmpeg to convert a video to mp4. However if the server crashes while transcoding, then I'd like to resume transcoding the file (similar to -C with ...
1
vote
0answers
66 views

How to set profile compatibility of an fMP4 using ffmpeg?

I'm using ffmpeg to generate a fragmented mp4 stream that will be consumed by an HTML5 player. I think I have a correctly formatted mp4 stream of data with an empty moov at the start and a series of ...
5
votes
0answers
133 views

Get webrtc-like latency with ffmpeg?

I've been using this between Chrome and my phone: http://www.webrtc.org/demo And the latency is really good - less than 1 second. I've been trying to replicate that on my computer with no success. ...
0
votes
1answer
190 views

Batch converting MP3 and still image PNG to MP4 videos

What do I type in the Windows cmd for this to work? I found a code that should work on Linux but I'm on Windows. The Linux code is: for mp3 in "*.mp3"; do ffmpeg -f image2 -loop 1 -i picture.png ...
0
votes
1answer
295 views

How to install YASM 1.2.0 and compile FFMPEG library on mac?

I am trying with FFMpeg for this i need to compile FFMPEG library.To compile FFMPEG Library i need to install YASM 1.2.0.But i don't know any command ? Thanks in advance?
0
votes
2answers
66 views

Getting value from file using Windows Batch scripting

Using Windows Batch scripting, I want to get the max_volume value (-2.9 in the following example) from a ffmpeg output written to a log file: [Parsed_volumedetect_0 @ 0000000005428b20] n_samples: ...
1
vote
0answers
149 views

Embed album art image to FLAC file with ffmpeg

i am trying to embed Album Art to a FLAC file with ffmpeg. It seems that it cannot embed Album Art to a FLAC File and the file that is generated has zero length. I know that you can put the image in ...
0
votes
2answers
140 views

Create a video file from an audio file and add visualizations from audio

My initial thought was to upload audio files to YouTube along with video that is inspired from the audio. The particular visualization can be in different form such as spectrum, spectogram, or other ...
0
votes
0answers
24 views

Add credits to the end of the video

Is it possible to use ffmpeg to make credit titles at the end of the video ? I have a very long string of authors separated by comma as input. Managed to create 1 frame and append all the string to ...
0
votes
1answer
42 views

ffmpeg: How does ffmpeg decide which frames to pick when fps value is specified?

I am using ffmpeg to extract 3 frames per second using this command ffmpeg -i input.flv -f image2 -vf fps=fps=3 out%d.png I am wondering if I set the fps value, then how does ffmpeg select 3 ...
1
vote
0answers
84 views

How to encode XviD using ffmpeg for Home Theater/DVD Player?

I wanted to convert a file so I can play it my DVD player which only works with divx/xvid. I tried : ffmpeg.exe -y -i "in.mp4" -t 480.00 -vf scale=720:301,pad=720:576:0:137 -map 0:v:0 -map 0:1 -b:v ...
0
votes
0answers
39 views

sample_full_transcode , Video is not converted properly using Hardware acceleration

On going through sample_full_transcode provide @ https://software.intel.com/sites/default/files/MediaSamples_Windows_5.0.491.98719.msi I observed trancoding video is good with Software acceleration, ...
0
votes
0answers
53 views

How to add filters to ffmpeg, mp

I tried to use ffmpeg filter 'mp' but it reports there is no such filter. what I tried: 'ffmpeg -i input.avi -vf mp=ep2=xxx output.avi' And I build ffmpeg from this link: ...
2
votes
1answer
170 views

FFmpeg - Cut video into segments, transcode them individually, then concatenate & output to .ts

This is a follow-up question to audio error when concatenating clips using ffmpeg What I'd like to achieve is the following: Cut an input video into chunks Transcode each chunk (video and audio) ...
1
vote
0answers
131 views

FFMpeg generated m3u8 segmented videos long delay before playback starts

I am using ffmpeg to generate a segmented list of files in order to stream them to an iOS app. The list of files is generated fine but when it comes time to play them, the video needs to be downloaded ...
1
vote
2answers
149 views

Can ffmpeg detect the actual bitrate of an audio file?

Can ffmpeg tell me if an audio file has been upscaled or not? I see in this article, they used a spectrum analyzer to check for the real bitrate of an audio file. Can ffmpeg determine the real bitrate ...
0
votes
1answer
62 views

Cut video after certain time?

So I have found out how to cut a video at a specific time frame by using the following command ffmpeg -i input.wmv -ss 00:00:30.0 -c copy -t 00:00:10.0 output.wmv ffmpeg -i input.wmv -ss 30 -c copy ...
0
votes
0answers
27 views

audio error when concatenating clips using ffmpeg [duplicate]

I'm trying to do the following: cut an input video into segments and convert these segments in the same step concatenate the transcoded segments back together in an output file The steps that I'm ...
3
votes
1answer
289 views

How do I extract the timestamps associated with frames ffmpeg extracts from a video with the -r option?

ffmpeg -i myvid.mp4 -r 25 -t 100 image-%d.jpeg Is the command I'm using to extract frames and it's working just like I expected. However I'd also like to look at the timestamps of the frames. ...
0
votes
0answers
162 views

How to make ffmpeg segment filename have the time created

I'm using ffmpeg to segment a video stream and I would like ffmpeg to name the segment files with a created date/timestamp. Is this possible? Let's say I have segments of 30sec video each: 0000.flv, ...
2
votes
0answers
66 views

IE will not seek audio/webm file

I'm trying to create a WebM audio only that will playback and seek in all browsers using the HTML5 tag and mime type audio/webm. I've found workarounds to get this to work in all browsers, but they ...
2
votes
0answers
485 views

FFMPEG encoding settings for 1080/60fps/h264 - framedrops

I want to use latest ffmpeg to encode set of JPG frames to 1920x1080 60fps h.264 movie. I'm looking for set of parameters that will allow smooth playback of encoded video on fairly strong PC machines ...
0
votes
3answers
198 views

ffmpeg get video resolution

I am trying to get resolution of the video with the following command: ffmpeg -i filename.mp4 Thereafter I get a long output, but I need just width and height for my bash script, How should fine ...
0
votes
1answer
224 views

Concat two audio files via ffmpeg filter_complex

If I try to concat two mp4 video files via -filter_complex using command: ffmpeg -i a.mp4 -i b.mp4 -filter_complex \ "[0:1] [0:0] [1:1] [1:0] concat=n=2:v=1:a=1 [v] [a]" \ -map [v] -map [a] -y ...
0
votes
2answers
118 views

FFmpeg HLS muxer .ts file name format

Is it possible to have .ts files named by date/time (any format) instead of sequence number when using the HLS muxer? If so, how can it be done? ffmpeg -i - -hls-some-option-here test_stream.m3u8 ...
0
votes
1answer
44 views

Map overlay audio with FFMpeg?

Me and my friend each took a video of us playing online with each other, and now I want to make a single video comparing them side by side. I’ve done this before, but I’ve never needed to deal with ...
0
votes
0answers
135 views

VLC and MPC-HC struggle to play m2ts with srt subtitle. Any other ways to use m2ts with srt?

So, I've got a m2ts file with the following parameters: Format : BDAV at 34.2 Mbps Length : 12.0 GiB for 50mn 8s 10ms Video #0 : AVC Aspect : 1920 x 1080 ...
0
votes
1answer
68 views

Extract frames from HTTP streamed video without downloading entire file

I want to extract a frame from a specific location in a video file. The file is located on a remote server and I don't want to download the entire thing. How can I extract a frame from an http stream ...
0
votes
1answer
160 views

Piping output from ffmpeg/avconv over ssh to a file

I like to pipe the output from ffmpeg/avconv over ssh to a file. I would like to do something like this. ssh USER_NAME@SERVER_IP "avconv -i ...
0
votes
0answers
61 views

Is it possible to modify the timecode format of ffmpeg?

I am trying to overlay my video with the timecode. Currently, I have this: ffmpeg -y -i input.avi -vf "drawtext=:fontfile=/Windows/Fonts/myfont.ttf:timecode='00\:00\:00\:00':rate=$framerate: ...
0
votes
1answer
34 views

Resize more than one image using ffmpeg [duplicate]

I have a folder containing JPG images and need to re-size them to a different pixel width and height and save them to a different folder with the same file name as original ffmpeg -i Original.JPG ...
0
votes
1answer
145 views

how to map and mute channels in stereo stream? [ffmpeg]

from ffmpeg man page, I should be able to use -map_channel to split/mute channels however, unless the stream contain 2 channels literately, the map does not work. 01.mp3: Stream #0:0: Audio: mp3, ...
1
vote
2answers
77 views

How to name the output frames based on their presentation timestamp?

I am using ffmpeg to extract frames from videos. Using the generic command ffmpeg -i input.avi out%d.png I am getting all the frames but I want the names of the frames to indicate their ...
0
votes
0answers
19 views

FFMpeg video creation from png not all images used

I am trying to turn png files into a video using ffmpeg. I am getting videos but the ordering is all wrong. My directory looks like this: *otherstuff..not pngs* file_01.png file_02.png ... ...
0
votes
0answers
109 views

Video capture , streaming & archiving with TENVIS camera JPT3815W

I want to publish an ASF live video stream over the internet and also copy the backup to disk (without sound to spare disk space) I'm running debian 7.7 wheezy / ffmpeg 2.2 and ffserver 1.2.9. The IP ...
0
votes
1answer
56 views

batch replace of video track with x264 (or ffmpeg, or avconv)

I have a bunch of .mkv files with diverse content, so I don't know about their audio, subtitle, chapter and attachment contents. Common denominator: They all have one video track. I want to batch ...
0
votes
0answers
19 views

Mux video with synthesized audio without rendering

I'm trying to find a way to mux together an existing video file that has no audio track, an AVI, with a synthesized voice without having the rendering the video or audio in real time. I know I can ...
2
votes
1answer
125 views

ffmpeg - h264 - multiple resolutions without scaling

I have an MP4 which contains an H264/AVC stream, which contains multiple resolutions. Below is the output of mediainfo on this file: General Complete name : known.mp4 ...
0
votes
1answer
67 views

FFMPEG - Hardcoding (burning) filename in video

I was wondering if someone can help me adding a hardcoded filename using the drawtext filter in FFMPEG? I can easily add timecode now, but I want to also add the filename of the current file. Is that ...
1
vote
1answer
64 views

ffmpeg time lapse “overwrite” error - may be a globbing/shell issue?

I'm having some trouble with what I think should be a simple FFMPEG script. I'm just trying to take all the jpg files in a given directory and fill them into a time lapse video. I'm comfortable with ...
1
vote
2answers
891 views

Convert YouTube DASH audio (youtube-dl) to m4a (AAC DL)

I am unable to listen to m4a DASH audio I download from YouTube via youtube-dl on Winamp. Is there an option in youtube-dl to remove the DASH audio part of m4a file and download/save it as an m4a (AAC ...
0
votes
1answer
83 views

ffmpeg resize video but maintain audio quality

ffmpeg -i input.mp4 -vf scale=640x360,setdar=16:9 -c:v libx264 -preset veryslow -profile:v main -crf 18 -b:a 189k output.mp4 My input video file: res: 720p and audio bitrate: 189kbps. I heard ...
0
votes
0answers
63 views

ffmpeg and transparent video on static bg

I am trying to overlay a transparent flv over a static png. Everywhere I look says this should work... but the end result is the flv loses transparency and instead all transparent areas are filled ...
0
votes
0answers
27 views

ffmpeg: offsetting & merging audios [closed]

I am trying to offset multiple audios into one, each with different offset. ffmpeg -i a.ogg -i 1.ogg -filter_complex "amix=inputs=2[op];[op]adelay=5000|15000" out.ogg Can someone help with ...
0
votes
0answers
11 views

AVCONV, FFMPEG: overlayed video length [duplicate]

I am trying to overlay multiple videos like a split screen, ffmpeg -i 1.webm -s 640x480 -vf "[in] scale=640/2:480, pad=2.01*iw:ih [VidO0];movie=1.webm, scale=640/2:480 [video1];[VidO0][video1] ...
0
votes
0answers
47 views

ffmpeg / avconv to ensure compatibilty with Windows DirectShow

I have a video file: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ron_1080p.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder ...