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

1
vote
1answer
46 views

Cutting out two parts from the middle of a video with ffmpeg

I have two files, rec.avi and audio_edited.wav, and what I'm trying to do is take the parts 00:30:50–01:42:56 and 02:16:55–04:03:10 of each file, concatenate those and encode them into an WebM file. ...
0
votes
0answers
27 views

How can I join two videos at equal frames?

I need to join multiple videos together, with the next one starting somewhere in the middle of the previous one. Therefore, I cant just put them one after the other, instead I need to find out where ...
0
votes
0answers
13 views

Extract audio from video with FFMPEG but not the same duration [duplicate]

My problem is that i need to extract with FFMPEG the audio contained in a video with the same duration. But for some files that i tested, the audio's duration is sometimes shorter than the video's ...
0
votes
1answer
65 views

Cant install ffmpeg in Fedora 19 via yum

Im trying to install ffmpeg to encode videos to html5 playback (mp4, ogg, etc...) i already added the rpmfusion repos. Im using Fedora 19 in Rackspace Cloud Server. this is the output for repolist ...
0
votes
1answer
95 views

Unknown encoder 'x264' in FFmpeg despite following proper installation instructions

I’m having an issue with FFmpeg after configuring it exactly to their own wiki’s instructions where I’m receiving the following: ffmpeg -stats -i uncompressed.video.mkv -codec x264 -preset veryslow ...
1
vote
1answer
39 views

FFMPEG is doubling audio length when extracting from video

I've got a video file, video.mp4. It is 18 minutes 23 seconds in duration. I am looking to extract the audio only from this video, and create an MP3 of the highest possible quality from the audio in ...
0
votes
0answers
36 views

How to slice video in remote http server using ffmpeg?

I want to slice video from remote host . i am using following command to do this ffmpeg -i https://s3-us-west-1.amazonaws.com/path/to/video/messi.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4 ...
1
vote
1answer
53 views

ffprobe show_entries with an entry name that uses a semicolon

I'm probing a video file to get some basic information. For example, the following uses the show_entries flag to specify the necessary data. > ffprobe -v error -show_entries ...
0
votes
0answers
22 views

EM28xx input source, ffmpeg raspbian issue

I have a big problem with USB2861 video grabber connected to RPI (em28xx module). Grabber has two input: 0=svideo, 1=composite. When I use command: mplayer tv:// -tv device=/dev/video0:input=1 ...
0
votes
0answers
22 views

ffmpeg works as a root but not as a user

As root user I can run any ffmpeg command fine and it will work but trying to run it as the user 'adinvideo' like so, I get: -bash: ffmpeg: command not found when I check the permissions I found ...
0
votes
0answers
20 views

ffmpeg subtitles with coordinates

I need to put subtitles to this coordinates 15:750 I try to use ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi How can I specify the coordinates?
0
votes
1answer
58 views

FFMpeg cant concatenate videos: Input link in31:v0 parameters (size 1280x720, SAR 0:1) do not match the corresponding output link in0:v0 parameters

I am using fluent-ffmpeg for NodeJS to combine many (50) videos. The command fluent-ffmpeg generates is: ffmpeg -i ./temp/1426738868618B778176A-254A-47E5-80D4-AF9E2DB836C6.mp4 -i ...
0
votes
1answer
64 views

Ffmpeg upscale and letterbox a video

I have a video with that is 480x360 in resolution, what I want to do is upscale this video to 1280:720 and not loos the original videos aspect ration ( letterbox the left and right side) So I know ...
0
votes
1answer
65 views

FFMPEG concat intro video to each file in directory (all mp4)

I'm trying to write a concatenation script (for osx) to add an intro.mp4 video to over a hundred other mp4 videos in a directory. The codec will stay the same mp4, the intro filename will stay the ...
1
vote
1answer
34 views

Unable to re-encode audio stream with different bitrate using ffmpeg

A similar question has been asked elsewhere without a satisfying answer for me. The following ffmpeg command results in error. When "-c:a copy" is added to just copy the audio stream, the video ...
1
vote
1answer
35 views

How can I configure ffmpeg to encode h.264 video with a specific log2_max_frame_num_minus4 value?

I am working on a project where we are splicing HLS video segments. The HLS standard conveniently includes an #EXT-X-DISCONTINUITY directive to signal that the player should be ready for video that ...
0
votes
2answers
34 views

Image sequence handling in ffmpeg

I need to convert an image folder with unnumbered names, like: 11.49.18.204.jpg 11.49.28.205.jpg 11.49.38.220.jpg 11.49.48.220.jpg 11.49.58.235.jpg 11.50.08.250.jpg FFMPEG only accepts numbered ...
1
vote
1answer
76 views

FFMPEG Video Concat and Overlay

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 ...
-1
votes
1answer
27 views

Problems writing a script to build FFmpeg from source

I’m on Ubuntu 12.04 LTS and I’m trying to write a script that will build FFmpeg from source; with the right flags of course. I’m following the instructions here. I’ve nailed most of it except the very ...
0
votes
0answers
45 views

FFMPEG Lossless Video Output Options

I am looking for lossless video output options from FFMPEG that can be viewed without any special codecs or special players such as VLC. I want a basic use to be able to open up the video with a ...
0
votes
1answer
48 views

Create DVD from MP4 using FFMPEG?

I want to convert an MP4 video into a DVD using a Linux-based process such as FFMPEG. Currently we're using Nero to burn MP4 to DVD video, but I want to automate the process as much as possible. When ...
0
votes
0answers
15 views

ffmpeg Trying to loop audio when video is longer than audio

I have a video file that is longer than the audio and I can't find away to loop the audio. From that source it doesnt seem to be available yet. Can someone confirm it. Thanks
1
vote
0answers
52 views

how to speed up the process of the ffmpeg command

I want use the overlay filter to composite the video with some image, Command is ffmpeg -i 30.mp4 -i out1.png -i out2.png -strict -2 -filter_complex "[0:v][1:v]overlay=enable='between(t,0,1)' [out]; ...
0
votes
1answer
45 views

Combine audio and video with avconv not merging video

I am trying to combine a ripped stream from YouTube that seems to be in a weird format. Anyway, the video and audio seem to play on their own but when I tried to combine it, the file size is just a ...
0
votes
0answers
23 views

How can i mixing audio streams using ffmpeg

I want 3 audio streams to be mixed and be the length of the longest one of course. Plus! I want to Mixing start at the first stream received. I tried googling since yesterday night, but didn't found ...
0
votes
1answer
70 views

ffmpeg to split mp4 file into segments… after first segment, audio unsynced

Nb: I incorrectly asked this question at stackoverflow I've used the ffmpeg command line shown in this question to split MKV files perfectly for a long time. Now i have some MP4 files that i'd like ...
1
vote
0answers
43 views

ffmpeg generates videos with start time greater than 0

I'm trying to cut videos with ffmpeg. I know how to do it in the "normal way": ffmpeg -i test.mp4 -ss 0 -t 6 -c:v libx264 -profile:v main -level 3.1 -preset medium -crf 20 -r 25 -b:v 1200k -minrate ...
0
votes
1answer
39 views

How can I get exact delay between audio and video by FFmpeg?

I know how to set delay by "-itsoffset" , But I want to know how to get exact delay time. Please help me . Thanks in advance
0
votes
0answers
37 views

FFMPEG How do I use the apad filter in a chain of filters in filter_complex?

My input is a video file with an audio track. If the audio is shorter than the video I need to extend the audio track to the length of the video. It works great with the apad filter: "C:\Program ...
1
vote
1answer
56 views

Compiling ffmpeg for windows with WebM libraries using Cygwin

I'm trying to compile FFmpeg with the following configure command, however I'm getting an error saying that it cannot locate one of the libraries I'm trying to enable. ./configure \ --disable-doc \ ...
0
votes
0answers
42 views

Pixel format for Android 5.0 devices

I am trying to fetch screenshots of android devices using adb screencap command along with the ffmpeg command. The command works well for devices other than Android 5.0. Command : ffmpeg -loglevel ...
0
votes
0answers
60 views

ffmpeg filter_complex concat does not include audio

I've managed to put together an ffmpeg filter complex which: Scales an FBI warning (fbi.mp4) to the size ($w:$h) of a training video (train.mp4). Pads the FBI warning so it's centered. Concats the ...
1
vote
0answers
29 views

FFMPEG results in a black video from converting images

I am attempting to create an mp4 video from a sequence of images numbered 1 to 100. The problem is that I keep on getting an output video that is black. Each images is as such all the way to 100. ...
0
votes
1answer
28 views

Is there a way to capture the inputs into a command line program being executed by another program on a Windows machine?

I am doing some video editing and I have found a program called Any Video Converter (AVC) which is free and easy to use. I have found some presets that are working perfectly for me in terms of the ...
1
vote
1answer
56 views

Issues splitting a video into multiple, less than 10 second parts when using FFmpeg

I am trying to split a video into multiple parts, however, when I set segment size to less than 10 seconds, it generates segments of 10 seconds. It works if the segment size is greater than 10 ...
0
votes
0answers
55 views

FFMPEG RTSP streaming and absolute time seeking

I'm using FFMPEG to stream recorded video from a video camera with onboard storage. I get an RTSP URI from the camera, which plays from the very beginning of the video stream. I know FFMPEG supports ...
1
vote
0answers
36 views

Configure ffmpeg and ffplay to PAL signal

I have a PAL camera and a stk1160 based video grabber, which is correctly recognised as a /dev/videoN under linux. I am able to watch the feed with vlc after setting up the video standard as a PAL: ...
2
votes
0answers
86 views

ffmpeg issue creating video on Linux

I have the following ffmepg command that works perfectly on my local server running windows but when I try on my Linux server I get the following issue: The video.mp4 is getting created but it stops ...
0
votes
1answer
113 views

Extracting the index of key frames from a video using ffmpeg

I'm using ffmpeg for extracting key frames from a video. This is the command: ffmpeg -i test2.mp4 -vf select='eq(pict_type\,I)' -vsync 2 -s 160x90 -f image2 thumbnails-%02d.jpeg How can I get the ...
0
votes
0answers
50 views

Seeking via http protocol m3u8 file and preloading

I have m3u8 + ts files on server. ffmpeg -i http://example.org/dir/index.m3u8 -c:v copy -f flv - this command, helps to read the full array of ts files. I have two main problems. ffmpeg receives ...
0
votes
0answers
48 views

Flash player seek not working when ffmpeg encoded with gop(-g) = 1

I am trying to deliver video content with frame-by-frame viewing via the SMP Flash player. For encoding, I am using FFMPEG with the x264 video codec for files with .mp4 containers. I am using the ...
0
votes
0answers
13 views

ffmpeg Adding water mark to my Videos [duplicate]

I have a problem here, here is the code i use to make video clips with my audio files and an Image, my only problem is that i want to add a water mark to bottom-center of clips ( a png file 1056x90 ) ...
0
votes
0answers
64 views

Seeking FFPLAY command for LIVE Decklink audio input to AVectorScope filters live on screen

My first superuser question. Using FFPlay or FFMPEG I'd like to be able to have visual monitoring of live audio (level meters, vectorscope) real-time on screen from a BlackMagicDesigns Decklink ...
0
votes
1answer
21 views

Extract image from an RTSP gives me errors

I am using FFMPEG in a DOS Prompt. -i rtsp://admin:admin@192.168.0.17:554/video_0 -q:v 15 -s 360x240 -vf \"select='eq(pict_type,PICT_TYPE_I)'\" -vsync vfr -f mjpeg -i - I am getting the error: ...
0
votes
0answers
26 views

ffmpeg start recording at certain time

I'm searching a ffmpeg option that let me start recording streaming source at a certain time: I start my php script with crontab, inside my php I run ffmpeg for X minutes. Ffmpeg takes some seconds to ...
0
votes
0answers
42 views

Adding audio to video without re encoding

I am looking to add audio to a video without having to re encode the two pieces. I have looked at a few questions on stack overflow followed the answers and i still cant seemed to get it to work, if ...
1
vote
1answer
56 views

How to add external library to Homebrew ffmpeg install?

I successfully installed ffmpeg through Homebrew. I want to add additional libraries/codecs. FFmpeg can be hooked up with a number of external libraries to add support for more formats. None of ...
0
votes
0answers
13 views

Having issues burning subtitles with ffmpeg

I followed this wiki on how to burn the srt file into the mp4 file: ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi It's been running overnight and the end seems far. Is it normal? How can I ...
1
vote
1answer
36 views

Erroneous volume level shifts using ffmpeg to convert AC3 in M2TS to WAV

I using ffmpeg to extract audio from non-commercial bluray m2ts video files, for subsequent loudness analysis in AudioLeak or Dolby Media Meter. The m2ts sometimes have AC3 audio and sometimes have ...
0
votes
1answer
42 views

How to sync splitted mkv + external srt with ffmpeg?

I want to convert MKV audio from DTS to MP3 and split the file at the same time. The problem is: I need an external .srt but when I split it, the second file is desynced from video. Example: ffmpeg ...