FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line ...

learn more… | top users | synonyms

0
votes
1answer
16 views

How to lower the volume of the second audio channel with FFMPEG

It's easy to mute one of the audio channels of a video, but I have to lower the second one with some dB. I have searched in documentation about mapping the channels but I am still confised how to ...
1
vote
1answer
25 views

encoding 4:2:2 in 10-bit with libx264

I believe that libx264 is now capable of doing 10-bit 4:2:2 encodings, but I can't seem to get it to work. I'm using ffmpeg (info below), and I've also tried the x264 encoder directly. I've tried ...
1
vote
0answers
30 views

ffmpeg filter_complex problem

I'm trying to achieve complex effect with ffmpeg, but I seem to be failing the syntax of -filter_complex somewhere. The goal is to capture part of the screen (with UScreenCapture direct show device) ...
1
vote
0answers
38 views

The ffmpeg`s filter_complex blend respecting overlay`s alpha channel

I need to blend an video with an semitransparent png like this: [1:0][0:0]blend=all_mode=average Seems like the transparency of png is ignored. What I missed? How to make the ffmpeg to respect ...
0
votes
1answer
30 views

Calculating loss when converting from MTS to AVI using FFMPEG

I am using the following script to convert my MTS video to an AVI video: for %%a in ("*.mts") do ffmpeg.exe -i "%%a" -vcodec libxvid -s 848x480 -maxrate 4800k -b 4000k -qmin 3 -qmax 5 -bufsize ...
2
votes
1answer
55 views

Similar to “levels adjustment” brightness improvement with ffmpeg

I'm composing a video from set of 16bit tiff pictures. The pictures are very dark, and needs to be brightened. Currently I'm applying -vf "mp=eq2=1.0:1.0:0.3:1.0:1.0:1.0:1.0:1.0" filter to make ...
2
votes
1answer
55 views

FFMpeg and HLS, videos need to load in their entirety before they start playing

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

ffmpeg adds unneeded zero samples at beginning of resulting m4a file

Input file original.wav ffmpeg -i original.wav ... Duration: 00:03:36.93, bitrate: 1411 kb/s Convert wav to m4a with fdk-aac encoder: ffmpeg -i original.wav -c:a libfdk_aac -vbr 5 ffmpeg.m4a ...
3
votes
2answers
66 views

How to encode a video at 30 FPS from images taken at 7 FPS

I have no knowledge whatsoever about video encoding, I have an application written in OpenGL and I am saving the frames it generated into png images. The frames from my app are at 7 FPS and I am ...
1
vote
0answers
26 views

How to get ffmpeg/x264 to use same parameters as input?

I'm trying to accomplish a smart rendering workflow using ffmpeg/x264. In short, get ffmpeg to segment the input file. Locate the segment(s) with changes to be made. Re-encode altered segments with ...
3
votes
1answer
32 views

ffmpeg input from images stream out video

I am using ffmpeg to capture a video recording device and would like to add an overlay to it . I have images being rendered on the fly and I would like to use them as the overlay . How can I take a ...
4
votes
1answer
681 views

Repeat/loop Input Video with ffmpeg?

I just want to loop a mp4 video with ffmpeg and keep the current settings and codec. For example if input.mp4 is 0:10 long, and I would want to loop it 4 times so output.mp4 is 0:40 long, how could I ...
0
votes
0answers
46 views

Switching between H.264 video streams on the fly?

I have several H.264 encoded MP4 files, as well as still images. From these I want to generate a single video stream that I can broadcast. The stream will be composed of alternating still images and ...
3
votes
1answer
167 views

Combine multiple videos as separate streams in one mkv file

So I have multiple videos of the same scenery from different angles. These are stored as separate files. Can I combine these as multiple video streams within one file? For example I know this is ...
1
vote
1answer
51 views

How to work with R3D and RMD files? FFMPEG?

I am getting collections of files of the types A0123-random-name.RMD A0123-random-name.R3D Googling tells me R3D is a raw RED file and RMD is Red Meta Data - data about the processing to be ...
0
votes
1answer
61 views

Split video into equal duration segments

I am currently using ffmpeg to split videos into 10 seconds segments. I have taken two approaches but neither seems to yield the desired results. Approach number one is using basic cutting with the -t ...
1
vote
1answer
170 views

Crop video in ffmpeg without re-encoding

I have videos I want to split across multiple screens, so the solution I've found so far is to just crop the input video 4 times with ffmpeg (is this optimal? Is there some other way so I only need to ...
1
vote
1answer
79 views

using a 265 encoded video with a container

Let me start by saying im not a video production guy. I am a programmer so im in over my head in certain areas. Ive been trying to use ffmpeg to mess around with HEVC encoded video. I was told it ...
1
vote
1answer
48 views

What parameters should I select to get a high quality voice .wav file?

I'm trying to generate a high quality .wav voice-over using Microsoft Speech API. What should be the values of following parameters (they are part of this constructor): int samplesPerSecond, int ...
1
vote
2answers
271 views

YouTube 3gp encoding settings

I'm building a new media site and I'm taking cues from YouTube for which video file formats I should offer for widespread usability among mobile and desktop clients. I'm doing all transcoding using ...
0
votes
0answers
248 views

Stream a dynamic playlist to a RTMP server

My goal is to stream a dynamic playlist of video to Twitch. The problem is while I stream a file, I don't know which will be the next until the end of the current one. My playlist is a very simple ...
1
vote
2answers
130 views

ffmpeg re-encode libx264 without quailty loss?

According to the documentation for libx264 (h264) encoding, we can use a preset of veryfast, faster, fast, medium, slow, etc. https://trac.ffmpeg.org/wiki/Encode/H.264 ...for constant quality ...
0
votes
2answers
69 views

gource and ffmpeg reduce video size

I try to create video with gource. I succeed with the following command line: gource $LOG_FILE --log-format custom --stop-at-end --caption-file ${FILENAME}_captions.log --caption-duration 3 --title ...
0
votes
0answers
83 views

HEVC binary to MPEG 2TS

I'm trying to convert a HEVC bit stream to MPEG-2 TS using ffmpeg. However I can't seem to perform the task without a wrapper such as mp4. Here is the command I was trying. ffmpeg -i ...
0
votes
0answers
55 views

ffmpeg libx264 not working

have Installed ffmpeg and x264 based on this post : http://stackoverflow.com/questions/9764740/unknown-encoder-libx264 no errors receved. but when i want to convert an input stream from mumudvb to a ...
0
votes
2answers
119 views

Transcoding during ffmpeg overlay

My question is related to the technicality behind video overlaying. When a 3D object or an image is added to a video sequence as an overlay to render, does ffmpeg fully decode the original sequence to ...
1
vote
0answers
148 views

How to transcode mkv media into different resolutions with ffmpeg

I am trying to setup a server that allows me to broadcast a single media file using ffmpeg to a ffserver so that I can use the RTP protocol to allow clients to view the media at different resolutions ...
2
votes
1answer
115 views

Lossy output with FFMPEG JPEG 2000

I'm trying to achieve a lossy JPEG 2000 output with FFMPEG, but no success so far. Using this command line: ffmpeg -i input.dpx -pix_fmt yuv420p -vcodec libopenjpeg output.jp2 As a result I get ...
3
votes
2answers
74 views

drop similar frames

I'd like to record a very long video from webcam which will be mostly the same. I'd like to drop intermediate frames that are very similar to each other to save on filesize and also make it easier to ...
1
vote
1answer
279 views

Lossless conversion of yuv420p10le to yuv420p

I have an mp4 movie, containing an h264 video stream (pixel format yuv420p10le), and an AAC audio stream. My favorite player cannot read the yuv420p10le pixel format. I was wondering if it is ...
1
vote
1answer
204 views

Video for Windows Codec x264 and VP80

I'm looking for VfW codec to encode H264 and VP80. I already found: x264vfw And VP80vfw The 1st is bugged and lost the start and the end. The 2nd do not install on Windows 8. Why VfW ? to use ...
3
votes
2answers
3k views

How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream?

Note: I posted same question to stackoverflow a short time before, when I have not found this comunity yet. I repost this since the question is more suitable to this community. 1. What I tried I ...
2
votes
3answers
223 views

FFmpeg MP4 to FLV too slow

I am converting .mp4 files to .flv using ffmpeg in centos. But the conversion time is extremely too slow! It takes about 1.5 hours to convert 500MB .mp4 file into .flv. I am using a linux vps with 2 ...
4
votes
0answers
102 views

Is it possible in FFMPEG to change scale over time?

Ok, so using the overlay filter, one can change the x/y location of a video over time by using the "t" variable. For example, overlay=x='if(gte(t,2), -w+(t-2)*20, NAN)':y=0 can be used to start ...
3
votes
1answer
1k views

Add an image in front of video using ffmpeg

I have many videos and I need to put an image in front of them for about 5 seconds, but adding it manually and rendering it each time would take really long, so I am asking if it is possible to do so ...
1
vote
1answer
1k views

FFMPEG convert video with multiple audio streams?

Ok so I have a video made from dxtory. The video is using dxtory video codec and unknown audio codec. When I pop the file into avimux, I can clearly see two audio tracks/sources. I have successfully ...
1
vote
2answers
112 views

FFmpeg encod set of time stamped images as Iframes

I have a set of images that are in time stamped order ( the unit is seconds ) but not in a set interval 012.png 017.png 024.png etc. How can I encode them so that each image is an Iframe at that ...
1
vote
1answer
80 views

FFmpeg clarification “position of frame”

Sample output [Parsed_showinfo_0 @ 0x7f9a3b600000] n:0 pts:0 pts_time:0 pos:194408 fmt:yuvj420p sar:0/1 s:1920x1080 i:P iskey:1 type:I checksum:072007CF plane_checksum:[AAFB805D 153EE2B8 65C9A49C] ...
1
vote
2answers
162 views

Why does quality degrade so much if just cutting video with ffmpeg?

I have tried to cut video with the following command ffmpeg -i "Вспомнить все (Total Recall, 1990).avi" -ss 01:07:29 -to 01:08:05 fight.avi Output: Input #0, avi, from '╨Т╤Б╨┐╨╛╨╝╨╜╨╕╤В╤М ╨▓╤Б╨╡ ...
2
votes
1answer
36 views

ffmpeg framemd5 format explanation

Does a frame consist of audio and video or just video? I am trying to verify if this can be used for confirming both audio and video data were successfully sent or if I need to handle the audio ...
1
vote
2answers
189 views

ffprobe - why total bitrate is greater than sum of video and audio bitrates?

I have been working on video conversion. So, to find out video parameters I used ffprobe. However, when I run the command on an mp4 video file, I observe this: Total bitrate: 3547 Kb/s Video ...
1
vote
1answer
118 views

How can I convert large jpgs (15000 x 10840px) to video?

Whenever I try the command ffmpeg -y -r 1 -i File01.jpg -c:v libx264 -tune stillimage -pix_fmt yuv420p out.mp4 I get the failing result: [swcaler @ 000000000347fe0] deprecated pixel format used, ...
2
votes
1answer
139 views

Output file longer than source with ffmpeg

I'm producing several versions of a clip (320x180 24 fps and aprox 2Mbps) compressed with h.264 with ffmpeg using Avanti. Each version has different framerate. The video output has a slightly ...
2
votes
3answers
389 views

ffmpeg: Normalize audio in an avi file

Ι have an avi file that has different levels of audio. Is there a way to decrease and increase appropriately where needed the audio of my file using ffmpeg?
3
votes
2answers
522 views

How to hold the last frame when using ffmpeg

I'm cutting/converting some videos with ffmpeg. What I'd really like is to be able to have the output hold the last frame for a few seconds (with silence for audio). Is such a thing possible? Or ...
1
vote
0answers
85 views

ffmpeg-php with fixed width and height and without stretch or squish

Hi there I googled for hours but no success to solve... This code works for me exec("ffmpeg -i $SourcePath -ar 22050 -ab 32 -f wemp -vf scale=500x400,setdar=16:9 $uploadpath1 2>&1"); but ...
1
vote
2answers
329 views

Why does FFMPEG fail when converting Intervalometer photos into a time lapse movie?

I loaded CHDK firmware on my old Canon IXUS 980IS and took 796 images, each weighing in at: JPEG 4416x3312 4416x3312+0+0 8-bit sRGB 9.182MB 0.050u 0:00.049 So I want to convert 796 images into a ...
2
votes
2answers
2k views

How to do a video live stream through a VPS?

I've been looking at a million resources and I can't find a definitive answer to this. I'm looking to do a small scale (max 50 viewers possibly), low quality live video stream, with nothing but my ...
0
votes
1answer
2k views

FFmpeg overlaying and blending videos

I am trying to use FFmpeg to overlay one video on top of the other using an additive blend. One video is the actual video I want to transcode, the other is a ~10 second long video I want to put into ...
2
votes
1answer
77 views

Reduce quality percentage wise

I have several movie files in a mkv container. ffmpeg -i filename gives me the following output: Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k ...