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

1
vote
1answer
93 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, ...
1
vote
1answer
438 views

How to concatenate two mxf files with ffmpeg, preserving both audio channels?

I have mxf files which went over the 2G limit, so were split up in the camera to produce two mxf files. They have two audio streams, one from each mic, like this: Duration: 00:10:01.60, start: ...
1
vote
1answer
137 views

How to convert video for viewing on Sony Ericsson C702?

I'd like to convert some of my videos for viewing them on Sony Ericsson C702 cell phone. But I couldn't find the right set of parameters (a/v codecs, container, etc.). I'd prefer a solution using ...
1
vote
1answer
45 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
100 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 ...
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
171 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
2answers
301 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 ...
1
vote
1answer
9 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 ...
1
vote
1answer
33 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 ...
1
vote
1answer
173 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 ...
1
vote
1answer
66 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
1answer
230 views

How to get a crisp, exact color match for lossless screen-cast?

Background Recording a screen-cast (no audio) in Xubuntu Linux. The following image shows a side-by-side comparison of the video (left) versus the desktop (right): The screen-cast is recorded ...
1
vote
2answers
161 views

Constant streaming to a web server

I have developed a desktop application that records motion from any video source - ie ip Camera, web cam (etc). These motion 'clips' timestamps are uploaded to my server. The Web user can log in and ...
1
vote
2answers
316 views

How to demux MPTS to SPS

I have a live multi-program MPEG-TS stream [MPTS] over IP, I'd like to select just one program from the stream, and output a single-program MPEG-TS stream containing just that program. is there any ...
1
vote
1answer
1k views

Convert Uncompressed AVI to JPEG2000 in MXF

I'm looking to convert raw, uncompressed video (currently in avi container) into lossless motion jpeg2000 encoded video in an mxf container. I've tried FFMPEG, but don't think it can do this. What's ...
1
vote
0answers
13 views

ffmpeg adds unneeded zero samples at begging 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 ...
1
vote
0answers
17 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 ...
1
vote
0answers
131 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 ...
1
vote
0answers
77 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
473 views

remove black frames from vob files with ffmpeg

I have a few .vob files with "black frames" (it seems that an issue during the acquisition from VHS did that). I can get where these black frames occur with the command ffmpeg -i source.vob -vf ...
1
vote
0answers
47 views

Set ipad compatible thumbs for mp4 videos based on a frame of the video with command line

I have a directory of 100 mp4 files. All are working well on my ipad but most of them do not have a working thumb. I want to generate these thumbs with a command line command (on macosx) based on a ...
1
vote
0answers
353 views

Lossless Editing by Combining Clips with FFmpeg x264

My new Canon Vixia HF G30 video camera has an option to encode directly to 35 Mbit/sec Mp4 at 1080p60 and it does a nice job. I primarily use it to record my daughter's high school basketball games. ...
1
vote
0answers
621 views

High bitrate in AVCONV converted MPG file causes DVD reading problem

I convert AVI to MPEG with folowing command: avconv -i file.avi -c:v mpeg2video -b:v 6000k -c:a mp2 -b:a 384k file.mpg When the MPG file has been burned to DVD it is hard to read afterthat. The DVD ...
1
vote
0answers
337 views

ffmpeg - convert video to iDevice format, replace sound with normalized WAV file, while maintaining the original video quality?

I'm using this command line to extract the audio $ffmpeg -i video.mkv -c:a pcm_s16le audio.wav this is its output ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers built on Oct 1 ...
0
votes
2answers
6k views

Typical size of one hour long mp4 video

What is the typical size of a mp4 video, size 1280x720 encoded by ffmpeg libx264, and lasts for one hour? Currently my file is around 700Mb, is it too much?
0
votes
2answers
56 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
1answer
2k views

Encoding DNxHD using ffmbc

I have decided to re-encode my footage as DNxHD for editing. I am using ffmbc (downloaded here) to do the encoding. My source footage is HDV 1080i50. Therefore I think the best format to trancode ...
0
votes
1answer
1k 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 ...
0
votes
2answers
108 views

How to re-encode a video file's audio, but leave the video stream with ffmpeg?

Does anyone know how to take a video and re-encode the audio, but just copy the video data using FFMPEG?
0
votes
2answers
1k views

Error FFMPEG when convert video to MP4 with baseline presset

I have this command in ffmpeg: ffmpeg -i '/var/www/sites/default/files/private/videos/original/reel para web en loop_2_2.mp4' -vf 'scale=640:480' -strict experimental -vco dec 'h264' -vpre ...
0
votes
1answer
749 views

FFMPEG output is blocky

I'm attempting to extract the individual frames from a raw AVC video stream. I'm doing this via the following ffmpeg command: ffmpeg -q 1 -i video_test.avc -f image2 frames/frames_%04d.jpg The ...
0
votes
1answer
38 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 ...
0
votes
2answers
100 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 ...
0
votes
1answer
237 views

How to keep audio and video in sync?

I have a few videos I have to convert for a website. They are PowerPoint slides with a narration track over top. The originals I have to work with are in m4v format. I have converted them to mp4 and ...
0
votes
1answer
608 views

Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

ffmpeg -i test.mp4 -acodec libvorbis -vcodec libvpx out.webm ffmpeg version N-57647-g1880294 Copyright (c) 2000-2013 the FFmpeg developers built on Oct 30 2013 19:25:44 with gcc 4.4.7 (GCC) ...
0
votes
2answers
131 views

Good Intermediate Format for Combining Videos

I have a bunch of PNG files in separate directories that I'll turn into videos with FFMPEG. Say each clip will be a minute long. I then want to stitch those together into a final video. The final ...
0
votes
1answer
560 views

Corrupt video when playing through JW Player

I have some files that when played in jwplayer the playback is corrupt. The files are encoded to h.264 using FFMpeg and there is other files encoded in the same way that works. At the moment we only ...
0
votes
3answers
578 views

Pixelate effect when converting MOV to FLV via FFMPEG

I have a .MOV video -created with Final Cut Pro 7 - which I'm converting to .flv using FFMPEG. I'm very happy about the quality and the size of the output file, but whenever I have fade in/out ...
0
votes
0answers
11 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 ...
0
votes
0answers
29 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 ...
0
votes
0answers
204 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 ...
0
votes
0answers
65 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
47 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
0answers
39 views

Putting a Lower bitrate of my video stream in my current mp4 container

Sorry if my question is too noobish, this is my first question. What I have is: An mp4 movie with a video stream and an audio stream. What I want in the output: Is an mp4 file containing: the same ...
0
votes
0answers
84 views

ffmpeg capture audio in raw format

I would like to capture audio with ffmpeg in .raw format. Here is what I do to capture in .mp3 format : ffmpeg -f dshow -t 10 -i audio="virtual-audio-capturer" -y "sound.mp3" note that I don't want ...
0
votes
0answers
52 views

Converting container or transcode movies to iPhone from command line (os x)

Over the years I collected many movies in different container formats (avi, mp4, mkv) and encoded with different codecs too. Now want convert containers (or transcode them if absolutely necessary) to ...
0
votes
0answers
53 views

ffmpeg output does not play

I'm trying to transcode an uncompressed AVI ~27GB in size to an MP4. I'm using the following command: ffmpeg -i input.avi -c:v libx264 -preset slow -crf 20 -c:a copy output.mp4 The resultant MP4 ...
0
votes
1answer
113 views

Using a parameter file for filter option of libav (or ffmpeg)

Good time of the day, I have heard that such a feature exists, but i've lost the reference and have been unable to find it now. I am looking for a way to use the file as the input for all the fileter ...
0
votes
0answers
116 views

Where to start Transcoding with FFMPEG?

I would like to learn a lot about Transcoding video files with FFMPEG from any format to mp4 (hH264/AAC) format. We have a large repository of video files ranging from 1 MB to 2 GB of various formats ...