Questions tagged [ffmpeg]

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 program for transcoding multimedia files.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k 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 ...
v010dya's user avatar
  • 850
1 vote
3 answers
2k 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 ...
Andrew Simpson's user avatar
2 votes
1 answer
760 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 ...
Andrew Simpson's user avatar
1 vote
0 answers
2k 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. ...
fionasdad's user avatar
0 votes
2 answers
5k 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 'libx264-...
Dvex's user avatar
  • 3
4 votes
1 answer
2k 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 ...
AdamHarries's user avatar
3 votes
2 answers
102k 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?
Dzung Nguyen's user avatar
6 votes
1 answer
11k 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 ...
CadentOrange's user avatar
1 vote
0 answers
944 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 ...
ispasov's user avatar
  • 13
2 votes
2 answers
3k 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 ...
Aviad Rozenhek's user avatar
7 votes
1 answer
10k 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 ...
RMI's user avatar
  • 71
0 votes
0 answers
283 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 ...
Gopi's user avatar
  • 101
37 votes
4 answers
92k views

How to losslessly encode a jpg image sequence to a video in ffmpeg?

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 ...
GJ.'s user avatar
  • 471
1 vote
1 answer
221 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 ...
Petr's user avatar
  • 143
2 votes
0 answers
210 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 ...
Jap Mul's user avatar
  • 121
0 votes
3 answers
524 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 ...
Brigand's user avatar
  • 527
39 votes
6 answers
58k 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 file, ...
Brigand's user avatar
  • 527
1 vote
1 answer
3k 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 ...
Nathan's user avatar
  • 113
11 votes
4 answers
7k 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 ...
Amir T's user avatar
  • 161
1 vote
0 answers
663 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 ...
rraallvv's user avatar
  • 115
3 votes
1 answer
6k 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, ...
Brigand's user avatar
  • 527
8 votes
1 answer
2k 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 ...
Derrick Miller's user avatar
6 votes
1 answer
2k 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 ...
bodacydo's user avatar
  • 271
7 votes
1 answer
20k 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: ...
bodacydo's user avatar
  • 271
4 votes
1 answer
1k 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 ...
bodacydo's user avatar
  • 271
389 votes
1 answer
545k 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 ...
stephenwade's user avatar
  • 3,999
3 votes
2 answers
10k 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 ...
Santtu Pajukanta's user avatar
0 votes
1 answer
969 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 ...
Artog's user avatar
  • 171
4 votes
2 answers
6k 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 -...
Questioner's user avatar
8 votes
3 answers
50k 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 ...
BigBeagle's user avatar
3 votes
2 answers
147 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 ...
Questioner's user avatar
3 votes
1 answer
163 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 /ffmpeg/...
Artog's user avatar
  • 171
5 votes
3 answers
3k 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 ...
ben's user avatar
  • 51
1 vote
1 answer
4k 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 ...
Andy's user avatar
  • 95
4 votes
4 answers
25k 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 ...
Darren Greaves's user avatar
0 votes
3 answers
900 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 ...
Roberto Aloi's user avatar

1
39 40 41 42
43