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
2answers
2k 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
448 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
524 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
2answers
243 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
1k 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
90 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 ...
4
votes
3answers
6k 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
133 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
69 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
111 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
887 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 ...
5
votes
2answers
1k 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
304 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
497 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
308 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
285 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 ...
8
votes
1answer
17k 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
500 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 ...
3
votes
2answers
522 views

How do I remove audio from all files in a directory with ffmpeg?

I have a directory full of short video clips in .AVI format, and I want to remove the audio from all of them. I'm using Ubuntu 12.04. I tried this command: find -name '*.avi' -exec ffmpeg -i {} -an ...
5
votes
3answers
9k views

How can I use FFmpeg to lower the quality of H264 video but keep it in H264 format?

I'm a complete noob to video editing, so forgive me if I ask for something ridiculous. I'm getting video clips from a set top recorder box. The clips are AVI files: Resolution: 1920 x 1080 Frames ...
3
votes
2answers
114 views

Why is this ffmpeg command outputting such long clips?

I am trying edit out a two minute clip from a long movie. This is the command I'm using: ffmpeg -ss 01:05:16 -t 120 -i input.avi -vcodec copy -an clips/output.avi I thought that 120 would be in ...
2
votes
1answer
110 views

How do I prevent Quality loss in the beginning of a video?

My company transcodes videos sent in by users (recorder by our own screenrecording software) I use FFMpeg to do the work using this command: /ffmpeg/ffmpeg -i in.mov -vcodec libx264 -fpre ...
4
votes
3answers
684 views

creating a lossless mp4 screencast

I'm trying to create a screencast for playback on the web. Would like to use h.264, webm, and ogg. The source files are in the Apple Animation codec, and they look perfectly accurate. However when I ...
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 ...
2
votes
3answers
8k views

How do I specify baseline H264 profile using FFmbc?

I am using FFmbc (a FFmpeg derivative) to transcode some video files to H264 (in a mov wrapper). I want to specify baseline profile (to reduce CPU usage) but can't figure out how. There doesn't seem ...
0
votes
3answers
552 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 ...