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
11 views

Have PhotoRec and Testdisk recover “.ts” file

I am using testdisk for a long time. But previously I never had .ts but now I have. So I deleted a .ts file which is not important file. After that I tried to recover any other file via testdisk ...
0
votes
1answer
47 views

FFmpeg editing video on the fly

I am trying to make loop video on Android tablet which has ubuntu 15.04 installed in chroot. There are ffmpeg and all Linux tools are available. The problem that I have very limited space and ffmpeg ...
0
votes
2answers
32 views

Getting the smallest video with same quality, how to with FFMPEG?

I know its a "lame" question, but: lets say, I have a wmv, avi, etc BIG file. I want to convert it to .MP4, with the possible smallest file size, and of course with the same quality with audio/video. ...
1
vote
1answer
34 views

FFmpeg quality setting for subtitle

This is a general question, but is such thing exist? I burned .ass full-styled subtitle to a .mp4 video, the quality of burned subtitle is reduced in the output video, ex: the border of the text is ...
3
votes
1answer
40 views

FFMPEG mkv to mp4 conversion loses subtitles

Currently trying to convert my mkv library to mp4 (Iphone 6 plus) I've managed to get to mkv to mp4 conversion correctly, but I'm missing the subtitles part (SRT) Here's my code: dir/b/s *.mkv ...
0
votes
1answer
20 views

Php ffmpeg exec

with code $a = exec('"ffmpeg" -y -i "test.mp4" -ab 128k -s 640x480 -vcodec mpeg4 -acodec:a copy "output.mp4" 2>&1 ', $output, $error); Input file was 82.21mb output file was 13.74mb ...
0
votes
1answer
62 views

Specifying parameters to create videos for ffmpeg's concat demuxer (to avoid a large re-encode)

ffmpeg can be used to concatenate files together: If you have media files with exactly the same codec and codec parameters you can concatenate them [...] (emphasis mine) My intention1 is to ...
1
vote
1answer
37 views

ffmpeg : split a video using silencedetect?

I need to know if ffmpeg is able to split video in several parts using silencedetect? I saw silencedetect used on mp3s to remove silences, but never on a video like blackdetect is.
0
votes
2answers
48 views

FFmpeg - Concenating audio files with spacing

edit3: please look image: http://i.stack.imgur.com/XdZ9G.png Each audio clip has same codec/sample_rate, but has different duration and each space is also different. There is always space between ...
1
vote
0answers
18 views

FFmpeg - adding offset to an audio channel without reencoding

I have a stereo audio in opus format. How do i add offset to only left channel? Is there a way to do this without adding silence(reencoding) to left channel? input: [right ...
1
vote
1answer
57 views

How to efficiently and automatedly join video clips using short transitions?

I am looking to join a set of video clips (with audio) using some short transitions (ideally crossfade) in a straightforward, automated and efficient way. IE: ClipA ---> ClipB --> ClipC ...
0
votes
0answers
17 views

streaming to rtmp using avconv or ffmpeg

I have an IP webcam HiSilicon Hi3516C that I can successfully access from a raspberry pi. I can get still images by using a command like this: avconv -i "rtsp://192.168.1.10:554" myfile.jpg now ...
1
vote
1answer
45 views

H.264 decoding error log from RTSP stream

I am getting the following H264 error log. This log comes while decoding an RTSP video stream with help of FFMPEG. The picture displayed is blurred after 5/6 seconds. The picture would recover it from ...
0
votes
0answers
29 views

FLV .h264 video timestamp from mkv

I write my own converter from MKV (h264 video, linear 16 bit little endian PCM audio) -> FLV (with samke codecs for audio and video). I have some trouble with video timestamp. From MKV format ...
0
votes
1answer
18 views

Efficient re-encoding of MPEG-2 cartoon animation

I have some cartoon animation stored in MPEG-2 video that I would like to convert to MPEG-4/h264. The MPEG-2 video compression is rather bad, with both "small" JPEG artefacts around details in the ...
0
votes
1answer
63 views

FFMPEG auto installer with latest version

I found this software which compiles FFMPEG with the older version. Is there something like it with the latest version of FFMPEG. Or how how can i update the FFMPEG after this auto install.
0
votes
2answers
55 views

How to set output of FFmpeg to output of a video card instead of a file? Is this possible?

I have an UltraStudio-SDI video card and I can capture with this command : ffmpeg -f dshow -video_size 720x576 -framerate 60 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -r 30 ...
0
votes
0answers
29 views

FFmpeg: Is there a method for displaying multiple live video sources in real time without lag/latency?

I'm playing around with a script that would take three live video inputs -- one instance of X11grab and two webcams -- and output them to separate XV windows: One output for each camera at 1280x720, ...
2
votes
1answer
84 views

Concatenate videos with/without audio stream

I have multiple videos in folder, but when first of all hasn't audio stream, audio disappear in concatenated video. Concatenated video is correct if first video has audio stream. How can I concatenate ...
0
votes
1answer
20 views

FFMPEG no audio in final output

I have the following FFMPEG command working. ffmpeg -y -i slide.mp4 -f lavfi -i "color=c=black:s=1920x1080:r=25:d=1" -filter_complex "[0:v] setpts=PTS-STARTPTS [main]; \ [1:v] ...
0
votes
1answer
32 views

ffmpeg: significant lag and poor audio sync when combining audio and video

I am trying to combining audio and video for streaming from a Raspberry Pi. The audio leads the video by a few seconds, whether I stream the output or write it to a file. Command line: raspivid -o - ...
1
vote
1answer
51 views

FFmpeg eq filter complex: Contrast

I am playing with the eq filter in FFmpeg: https://ffmpeg.org/ffmpeg-filters.html#eq Using a command like: ffmpeg -y -loop 1 -i input.jpg -filter_complex "[0:v]eq=1:0:1:1:1:1:1:1[outv]" -map [outv] ...
0
votes
1answer
25 views

ffmpeg live stream show image

Is there a way in ffmpeg to show a looped video or image if an incoming udp:// stream is not active? Pretty much like having a player show a wait for braodcast to start image/video until the live ...
1
vote
1answer
26 views

FFmpeg performs every second task

Why does ffmpeg perform every second task that it is ordered to? for i in *.MTS; do echo ffmpeg -i \"$i\" -c:a copy -c:v copy \"$i\" | sed 's/MTS/mp4/2' done | sh For example. if I have 9 MTS ...
0
votes
1answer
46 views

Scale video then apply image frame using ffmpeg

I have an image frame 1920x1080 and a video with the same resolution. I want to resize video by 80% of its resolution and center it, and then overlay it with image frame. So the final video result is ...
0
votes
2answers
95 views

FFmpeg: Applying effects to a video

I'm trying to apply some effects to a video by adjusting colour, contrast, brightness, etc. Here are some of the effects I was trying. And following is the command I used to apply the "Kelvin" effect. ...
0
votes
1answer
41 views

Embed AMF metadata into MP4 with ffmpeg

Is it possible to manually embed timed text metadata into MP4 files? I have a TTML / SRT file with the metadata. I just need to embed the text data without doing anything to the video/audio tracks. ...
0
votes
1answer
35 views

ffmpeg for Mac “no such file or directory” (when file exists)

I'm using OSX 10.10.1 and I'm trying to concatenate .mp4 files with the ffmpeg demuxer. Below is what I enter and the error I get. Please help! I'm not a programmer but I had the demuxer working on my ...
1
vote
3answers
112 views

ffmpeg command not found but its installed on server

I was trying to update ffmpeg, after searching a lot on this topic i decided to uninstall the old one and install new version of ffmpeg i-e; ffmpeg 2.6.3 i installed new version using this link but i ...
0
votes
0answers
26 views

FFmpeg - Unrecognized option 'map [outv]' [migrated]

I am merging some video files with FFmpeg and having an issue with my custom build. I'm using the following Java code for wrapping the ffmpeg command: List<String> cmds = new ...
0
votes
1answer
16 views

ffmpeg stops streaming if one input stops

I am trying to create a mpeg-ts stream where video is a screengrab from Xvfb and audio is from internet radio (mp3 or aac stream). It works reasonably well, but if there is a problem with the internet ...
0
votes
0answers
20 views

convert ogv to webm using ffmpeg and point ffmpeg to new installed version

I was facing problem in converting files from one format to another, so I put the question on stackoverflow, some people suggested me to recompile ffmpeg my ffmpeg version was 0.10.0 so they suggest ...
1
vote
1answer
24 views

ffmpeg upgrade or reinstalling on CentOS

I am trying to upgrade ffmpeg installed on my linux server following this link: https://trac.ffmpeg.org/wiki/CompilationGuide/Centos It's not working. Sometimes it gives error "Host is not ...
2
votes
0answers
21 views

Crop video with FFMPEG based on data from tracking algorithm

I have tracked a moving object in a video file using OpenTLD. This generated a file with the coordinates of the object's bounding box for each frame. Now I would like to use ffmpeg to crop the video ...
0
votes
0answers
25 views

ffmpeg + libx264: use preset

I'm trying to encode raw movie using ffmpeg with libx264. I use the following command: ffmpeg -y -f rawvideo -s '3840x2160' -r 23.98 -i <my source> -pass 1 -x264-params ...
0
votes
0answers
27 views

Add a transparent black overlay using ffmpeg

I have a background.mp4 video file that I'm using as the motion background on my website. However, the video is too bright and my site's text isn't easily readable. How can I overlay a translucent ...
2
votes
1answer
17 views

Does ffmpeg support setting the description tag on a per-stream basis?

I'm attempting to set a description tag for each of two audio streams within an mp4 file. I'm using a command line similar to this (I've simplified): ffmpeg -i old_movie.mp4 -map 0:0 -c:v copy -map ...
1
vote
0answers
23 views

avconv huge output file size

I am trying to rotate some mp4 videos (shot with an Android smartphone) 90 degrees clockwise. I have been using variations of the following command: avconv -i 20150604_192846.mp4 -c:v libx264 -preset ...
1
vote
1answer
17 views

Merging two audio streams from within a Transport Stream in ffmpeg

I have an M2TS file which consists of the following: Stream #0:0[0xc9]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x576 [SAR 16:11 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, ...
0
votes
1answer
38 views

ffmpeg no cutting accurately

I have a Python script that shows the chapters of an M4V video and gives the user the option to extract this chapters. The problem is that ffmpeg is not cutting accurately. It cuts a little before ...
0
votes
1answer
35 views

ffmpeg how to convert stereo to mono using audio pan filter

From the documentation, it looks like this should work: ffmpeg -i input.mp4 -af "pan=1c|c0=.5*c0+.5*c1" output.mp4 The output is a video with no sound. When I do ffprobe, it says theres a audio ...
1
vote
1answer
54 views

Why are h264/ac3/mkv videos showing up as “motion jpeg” with ffmpeg?

I use xmedia recode, which uses ffmpeg, to convert these videos using "copy" video and "convert" ac3 -> aac, with an mp4 container. For most videos this works fine, and is really fast. However some ...
1
vote
0answers
30 views

Splitting audio out with ffmpeg, recombining with video, inserts black frames at beginning

I am using ffmpeg to split out the audio from a video file, converting it to a wav, and then recombining it with the video. When I do this, the new video has black frames at the very beginning. Here ...
0
votes
1answer
35 views

Clipped video using ffmpeg is shorter than expected

I'm trying to get a clip of length 6 secs from a MP4 video (size: 1.44 GB, length: 02:23:38). But video stream stops after 1 sec, while audio stream keeps playing normally until 6 secs. I'm using ...
1
vote
2answers
28 views

ffmpeg - Skip process if output alreasy exists

I'm running a batch script to convert video file in Python but it can happen that the output file already exists, so is there an option to avoid ffmpeg asking me what to do if output already exists? I ...
2
votes
1answer
31 views

ffmpeg stream copy frame accuracy

I know this might not be possible, but I'd at least appreciate understanding what's going on. I have a video with forced keyframes every 2 seconds. Ideally, I was hoping I'd be able to get ...
-1
votes
0answers
54 views

how to combine two videos in one, odd frame video 1, even frame video 2…on Linux

I have two videos of same length but different content, I want video one to be on even frames and video two to be on odd frames on the same video. Frame sequence: video1 frame 1 video2 frame 2 ...
0
votes
1answer
14 views

ffmpeg syntax Label not found error

I am trying to normalize the audio of a video file (mp4), but ffmpeg is throwing an error.. The command: ffmpeg -i input.mp4 -af "[0:a]compand=.3|.3:1|1:-90/-60|-60/-40|-40/-30|-20/ ...
1
vote
1answer
45 views

Unable to use unicode in outputfile name for FFMPEG transcode

I am using FFMPEG in a C# windows service to convert videos. Conversion is working fin. But when I specify the outputfile name containing unicode, transcoding fails. Is it a known issue, or is there ...
0
votes
1answer
72 views

How to cut unwanted video parts and join the rest ones into one video using FFmpeg?

I have read about cutting and splicing using concat but this is not enough for me. I would like to cut marked video parts and join into single video file without re-encoding. Is it possible to cut ...