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
0answers
6 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 ...
0
votes
0answers
13 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 ...
1
vote
0answers
12 views

Unable to concatenate videos due to identical MOOV atoms

I am cutting out segments from a long mp4 file and then rejoining parts of them. However, since FFMPEG apparently keeps the same MOOV atom for the trimmed files as the original, it looks to FFMPEG ...
2
votes
2answers
43 views

h264 settings for large flat areas of slowly changing colour

I'm doing an animation for a projection mapping that simulates the sun casting shadows on a structure as it moves through the sky. Basically it's just big flat areas of colour that change over about ...
0
votes
0answers
37 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 ...
1
vote
1answer
62 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 ...
2
votes
1answer
77 views

How to concatenate clips from the same video with ffmpeg

I have a long video with different scenes in it. I want to extract and concatenate 2 scenes from the video (that do not start on an I-frame) using ffmpeg 2.1.4. For argument, say I want 5 seconds ...
1
vote
1answer
37 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 ...
2
votes
0answers
68 views

Video Capture using ffmpeg (V4L2 indev) Results in Bad A/V Sync

I actually contributed to a bug report on this issue a year and a half ago ( https://trac.ffmpeg.org/ticket/692#comment:15 ). Basically, the problem is that using ffmpeg to record from a USB video ...
0
votes
0answers
16 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 ...
1
vote
0answers
59 views

restart encoding with ffmpeg when bad source

I have an ffmpeg process which saves a stream from wowza server, but when the stream in wowza is interrupted for a second or so sometimes ffmpeg cycles in: [segment @ 0x671a10] st:0 PTS: 9600015 DTS: ...
0
votes
0answers
22 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 ...
1
vote
0answers
20 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 ...
2
votes
1answer
25 views

disabling streams in quicktime movies with ffmpeg

In Quicktime pro you can turn off streams in movies, without deleting the stream. Is it possible to do this with a command line application like ffmpeg? I have a bunch of video files that were ...
1
vote
1answer
63 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: ...
0
votes
1answer
42 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 ...
3
votes
1answer
154 views

How do I change frame size, preserving width (using ffmpeg)?

I'm new to this StackExchange site, and to using the ffmpeg encoder. I have a video that is 720x480 (3:2) that I would like to change to 720x406 (16:9) to match the other videos I have for a site. I ...
0
votes
1answer
541 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) ...
-1
votes
2answers
60 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?
2
votes
3answers
168 views

Why isn't ffmpeg used in movie production or broadcasting tool chains?

Is the assumption in the title true? What is preventing the use of ffmpeg when producing a movie or broadcast quality material? Are there any prominent or well known users of ffmpeg? What is used ...
0
votes
1answer
41 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 ...
1
vote
2answers
67 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 ...
2
votes
1answer
102 views

Adding image to a video file using ffmpeg

I have created a OGG file from a stream of jpegs using fmpeg within a c# application. I would like to know if it is possible to add an image (of same size and resolution) at a later date to this ogg ...
0
votes
0answers
137 views

Get original timecode from DV avi and use it with ffmpeg

With FFMPEG (on Ubuntu linux pc) I am trying to draw the original timecode from DV avi file (captured from miniDV cassette with EDIUS 4 and 5 in Windows) to an output mp4 file. For my script I need ...
1
vote
0answers
235 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. ...
0
votes
2answers
253 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
0answers
9 views

I need baseline preset in ffmpeg for Video file can play in iPhone [duplicate]

I need to encode a video file in MP4 using H.264 with profile baseline (for iPhones). I using ffmpeg. But, when I want to apply this preset, ffmpeg show me a error: preset baseline not found. So, I ...
2
votes
1answer
152 views

Creating stereoscopic video from two video files

I've got two video files, each created with ffmpeg from a series of JPEG images, which I've obtained from rendering with a stereo camera in Maya. I would like to somehow merge together these videos ...
-1
votes
1answer
810 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
1answer
207 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 ...
1
vote
0answers
435 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 ...
0
votes
1answer
193 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 ...
3
votes
1answer
861 views

How to trim a video with frame precision using ffmpeg?

I need to trim videos with a precise end frame, however, ffmpeg seems to cut the video at the nearest first key-frame. So I don't have enough control over the ending frame. I try to insert key-frame ...
0
votes
0answers
73 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 ...
3
votes
3answers
4k views

ffmpeg: how to losslessly encode many jpg images to a video?

I have a large set of jpgs that I want to convert to a video losslessly (or, at the very least, very close to losslessly as long as the encoding time isn't much higher than otherwise). Naively, I ...
1
vote
1answer
122 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 ...
2
votes
0answers
54 views

segment does not contain sync frame

Whenever I split a video using Apple's mediafilesegmenter, using the following command: medifilesegmenter video.ts -t 10. I get the following error for each segment except the first: segment does not ...
0
votes
2answers
92 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 ...
4
votes
4answers
2k views

How to get FFMPEG to join non-sequential image files? (skip by 3s)

I have a bunch of images, that follow this pattern. 0001.png 0004.png 0007.png 0010.png 0013.png 0016.png 0019.png ... They're in the correct order, but FFMPEG ignores anything after the first ...
1
vote
1answer
714 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 ...
4
votes
1answer
831 views

OGV Format plays properly on my computer but transcoding drops (duplicate?) frames

I've made a set of screencasts using recordmydesktop on ubuntu 12.10. The output is an ogv file. When I watch the ogv file using the default movie player (totem) it looks fine - the audio and video ...
1
vote
0answers
276 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 ...
2
votes
1answer
1k views

What ffmpeg/avconv format and container will Adobe Premiere Pro accept, out-of-box?

All of these converted, but Premiere Pro only loads the audio. I use Ctrl-I to import the videos, and they come up as waveforms, and can only be placed on audio tracks. These examples use avconv, ...
7
votes
1answer
386 views

Batch resize videos with “pan and scan” cropping

I am trying to prepare a collection of ~120 video clips to be played in VLC Player and projected on a low-res (1024x768) projector during a DIY electronic music event. The source clips are all super ...
5
votes
1answer
245 views

How do I speedup encoding of a video that has just 1 static frame with ffmpeg and lib264 library?

I'm making mp4 (libx264 + aac) videos that have just one static image throughout the whole video. It's basically a narrated text with a nice background. The question I've is how could I speed up ...
2
votes
1answer
3k views

How to force ffmpeg to insert keyframe at first frame when downsampling a framerate of a video with x264 vcodec

I have a mpeg4 video at 25fps. This video contains just one static frame. I'm trying to downsample the frame rate to 1fps and convert the video to x246 (mp4). I ran the following ffmpeg command: ...
4
votes
1answer
249 views

How to create a x264 (mp4) video with the smallest size using ffmpeg that has just 1 image through entire video?

I'm creating narrated mp4 (x264+aac) videos for books. Each video has just the book's cover as the background. I wonder what would be the most effective way to create such videos with ffmpeg? I've ...
6
votes
1answer
13k views

How can I crop a video with ffmpeg?

I have an MP4 file of a screen recording that I need to crop down. How can I accomplish this without using expensive tools like Adobe Premier or Final Cut? I prefer ffmpeg because I have used it ...
1
vote
2answers
3k views

How do I recover truncated AVI/DV video?

Short version: I believe I have truncated but otherwise valid AVI/DV files that won't play in any player I've tried (Adobe Premiere, MPC HC, VLC). I assume the stream data is intact but truncated, and ...
0
votes
1answer
438 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 ...