2
votes
2answers
48 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
60 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 ...
2
votes
1answer
86 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
2answers
73 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
0answers
42 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 ...
0
votes
1answer
588 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
vote
0answers
301 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
767 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 ...
3
votes
1answer
183 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
vote
0answers
562 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 ...
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 ...
4
votes
3answers
7k 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
0answers
316 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
527 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
330 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 ...
9
votes
1answer
19k 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
4k 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
515 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 ...