Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.

learn more… | top users | synonyms

1
vote
1answer
58 views

How i could cut the last 7 second of my video with ffmpeg?

I captured a video from my camera, but I don't know exactly how long it is. I want to use ffmpeg to keep and cut only the last 7 seconds of the video. Is this possible? I tried the command: ffmpeg ...
1
vote
2answers
167 views

Exr file sequence to mov with ffmpeg

When I convert an EXR file sequence with x264 using FFmpeg and convert the colorspace from linear to SRGB (with gamma 0.45454545) I get some heavy banding issues (most visible on a dark gradient). For ...
0
votes
1answer
46 views

Cut WMV file into segments based on frame numbers and reencode to x264

I've done a bit of work with FFMPEG in my days and I am somewhat familiar with VirtualDub as well as high-end products such as Sony Vegas. However, I still can't figure out a simple and ...
0
votes
0answers
42 views

Using pipes on ffmpeg has different behaviour than using files

I am using pipes to provide input and to send out output from FFmpeg The command I use is essentially ffmpeg -i pipe:0 -f flv pipe:1 I am using a Java program that basically provides an input ...
0
votes
0answers
41 views

FFMPEG - merge videos on different time intervals

I have 3 videos (video1/video2/video3). I would like to play them on different time intervals: video1 plays from 0-15s (video1 with sound, video2/video3 mute) video2 plays from 15-21s (video2 with ...
0
votes
0answers
22 views

MP4 file not playable in XBOX360, though seems identical to M4V playable file

I have a bunch of files for my kids that are not playable with the Xbox 360. I have successfully converted some of them to play on my system, but I'd like to understand which is the difference. ...
0
votes
0answers
101 views

FFmpeg/Avconv: Scaling Filter “Error when evaluating the expression”

I'm trying to scale a video with FFmpeg with the following command: ffmpeg -i input.jpg -vf scale="'if(gt(a,4/3),320,-1)':'if(gt(a,4/3),-1,240)'" output_320x240_boxed.png This is taken verbatim ...
0
votes
1answer
200 views

FFMPEG H264 split demux a stream video

I've got an H264 video (Stored in an 264 file). With ffplay i see that: [NULL @ 00000000003454a0] start time for stream 0 is not set in estimate_timings _from_pts [mpeg @ 0000000000344560] Could ...
1
vote
1answer
206 views

Video concatenating, with overlay

I have a video recorded from a gopro which is split into 3 parts as the maximum filesize is reached after about 17 minutes and the gopro automatically splits it into multiple parts. I also have a ...
0
votes
0answers
186 views

how to convert a mp4 file to mpg with audio codec ac3 using ffmpeg command

I have an mp4 file and i want to convert to mpg with ac3 audio codec. i tried: ffmpeg -i input.mp4 -c:a ac3 output.mpg the command output: bash$ ffmpeg -i input.mp4 ...
0
votes
0answers
21 views

Delete Overlap with FFMPEG

I have some vids I downloaded of the internet. And basically it's a 40minute show, that has been cut in 2 segments of 20 minutes. The second video contains 3 seconds more (that are the same as the ...
1
vote
0answers
130 views

Looping on image2pipe with FFMPEG

I have a Python program that generates images at various intervals. I'd like to be able to create a streaming video of each image as it appears. Previously I was using an ffmpeg command like ffmpg ...
0
votes
2answers
198 views

Use ffmpeg to cut mkv file

I tried to cut MKV video file by following command in Linux mint 16. ffmpeg -i input.mkv -vcodec copy -acodec copy -ss 00:39:05 -t 00:03:03 out.mkv output: ffmpeg version ...
0
votes
1answer
47 views

How to split video to 3 parts by ffmpeg?

I want to split video to 3 parts in batch mode. So, I have this code: @echo off for %%i in ("*.mp4") do ffmpeg -i "%%i" -vcodec copy -acodec copy -ss 00:00:00 -t 00:00:05 D:\Ebook\%%~nxi_1.mp4 for ...
0
votes
0answers
41 views

Losing video when splitting mpg from middle

Very new to ffmpeg so bear with me. I'm trying to split an mpg in two pieces. It's a 4m 36s video. I want the first piece to be 170s and the second to be the rest. I have tried a bunch of different ...
0
votes
0answers
312 views

Why is FFMpeg not giving my webm file webvtt subtitles?

Okay, so I tried this command >ffmpeg -i ../swc.webm -i ../subs.vtt -scodec WebVTT -loglevel verbose subtitl ed.webm And got this error: ffmpeg version N-62235-ga7a82f2 Copyright (c) ...
1
vote
1answer
74 views

How to split bulk video fast by using ffmpeg?

I have a lot of videos, so I want to split them automatically. And they will be divided into 2 parts: Part 1: 15 minutes Part 2: the rest This is code I have ffmpeg -i input.mp4 -t 00:15:00 -codec ...
1
vote
0answers
154 views

How to use the input stream timestamp, as the output stream timestamp?

I use this command to convert: ffmpeg -copyts -i test.flv -vcodec libx264 -acodec libfaac -f flv test-out.flv but the timestamp in the output file is different from original file. the starting ...
0
votes
0answers
70 views

Rotate video, output maximum 1920 x 1080 pixels

I used ffmpeg.exe -ss 310 -i "H:\_REC\100MEDIA\someavi.AVI" -ss 0 -t 14 -vf "rotate='54*PI/180:ow=hypot(iw,ih):oh=ow'" -vf scale=1920:1080 "H:\_REC\100MEDIA\somemp4.mp4" which should rotate the ...
0
votes
0answers
38 views

Adding box with text at the top of sceershot using ffmpeg?

i need help writing text to empty BOX at the top of the outpot screenshot its like this (video info at the top) ...
2
votes
1answer
172 views

ffmpeg buffer overflow when trying video overlay

I am trying to overlay a video onto another video by using filter_complex. But it doesn't do overlay properly and says 'Buffer queue overflow'. It works fine if I remove delay by not using -itsoffset. ...
0
votes
0answers
73 views

Compiling ffmpeg to support SPEEX decoding

I am trying to compile ffmpeg to support Speex decoding. I have enabled speex decoding using the following flag --enable-libspeex in my shell script. I have also compiled speex 1.2rc1 downloaded from ...
0
votes
2answers
158 views

ffmpeg export multichannel audio Stereo won't play

I am trying to export all audio channels from a multichannel quicktime file with ffmpeg which has the following audio configuration, but am unsure if the command below is correct. All the files look ...
2
votes
1answer
80 views

How can I encode a video for my non-square pixel display?

My car stereo has a 800x480 display but is physically 16x9 so I believe it uses non-square pixels. The documentation says it says (2 400x480) so I think it's describing a 2:1 pixel aspect ratio (?). ...
0
votes
0answers
89 views

ffmpeg conversion commandline needed

I want to ask for help on converting a mpg videofile recorded from TV to a mp4 format my SAT Receiver can play, (mp4). Below are the format infos of source and target output by ffmpeg -i: All done on ...
0
votes
0answers
37 views

audio decompression using ffmpeg doesn't increase the file size

enter code hereI have a compressed audio file.(REC00008.wav) It has size 28519 KB. I decompressed it to a new file (uncompressed_REC00008.wav) I used the following code. No error from FFMPEG. But ...
0
votes
0answers
31 views

make some preview gif from a movie with FFmpeg

i whant to make with ffmpeg bat file of a movie file some gif it split the movie in 10 gifs every gif 5 sec. sample the movie is 30 min than it thake after every 3 min a gif with 10 sec. but i ...
0
votes
0answers
38 views

Crop/Trim only the first audio stream in FFMPEG

Hi I'm quite sure that this command, crops the audio or video: ffmpeg -i adele.mp3 -ss 60 -t 80 test2.mp3 How can I achieve this in a filter_complex? I tried atrim attribute, but seems like it's ...
1
vote
0answers
176 views

Conversion from MP4 to WAV results in desync with FFmpeg, but not when using VLC

Converstion to .wav from .mp4 video causes a desynchronization when the conversion is done with FFmpeg, but not when with VLC. I've been trying to figure this out for days now and any help is greatly ...
0
votes
1answer
803 views

FFMPEG: Incorrect codec parameters when trying to merge mp3 and webm files

I received an "(incorrect codec parameters)" error after trying to amerge a .mp3 file and a .webm file The output format is .webm as well Here's my ffmpeg command(s): ffmpeg -y -i native.mp3 -i ...
0
votes
0answers
218 views

Add audio to video using ffmpeg not working properly in android (4.4.2) kitkat

I am trying to mix an audio file to video file. The ffmpeg command I am using for that is written below: ffmpeg -i video.avi -i audio.mp3 -map 0:a:0 -map 1:v:0 -codec copy -shortest output_video.avi ...
3
votes
1answer
155 views

Crop triangular area with FFMPEG

Is it possible to crop a triangular area from a video using ffmpeg filters? I have to crop this area from an input video 1920 x 1080, then I've to rotate this area of 90 degrees four times. The ...
0
votes
0answers
73 views

Does ffmpeg version 0.7 support -codec copy option?

I have to use ffmpeg version 0.7.15 to merge video (without audio) and audio file into one video file with audio. I would like to use command ffmpeg without re-encoding. I used this with newer ...
0
votes
1answer
27 views

how to save on existing video

I have this command : ffmpeg -f dshow -i video="screen-capture-recorder" -r 30 -t 10 E:\test01.flv and i am happy with it, but i wonder if i can make it save every 30 minutes so if the power went off ...
1
vote
0answers
260 views

How to use FFMPEG to transcode mp4 video for http stream in Amazon S3?

I want to use FFMPEG to transcode my mp4 video for http streaming on Amazon S3 without downloading. However, with reference to this post, I still cannot get it streaming: ffmpeg -i input.avi -c:v ...
0
votes
1answer
74 views

Ffmpeg Video Segment Remove [duplicate]

I am removing multiple segment from a video using ffmepg I am referring to this link -How can I remove multiple segments from a video using FFmpeg? I am executing below command: String ...
0
votes
2answers
93 views

ffmpeg limit number of images converted to video [duplicate]

Is it possible to instruct ffmpeg to combine a limited range of images together? Lets say there is a folder of 1000 images named img_0001.jpg to img_1000.jpg and I only wanted to combine ...
0
votes
0answers
22 views

FFmpeg on Linux Video Size in Preset

Hi everyone I am trying to create a preset to encode my videos with ffmpeg through this file: #video options s=716x402 vcodec=libx264 minrate=900k maxrate=1100k bufsize=1500k vprofile=high level=4 ...
1
vote
0answers
67 views

Cutting and joining multiple video segments in FFMPEG

I'm trying to do this in as few steps as possible since I'm doing this in Android and FFMPEG SegFaults if run multiple times (in the same process). Assume I have a 25 minute video: I want to cut from ...
0
votes
1answer
98 views

delayed video overlay using ffmpeg

I am wanting to overlay one video onto another but with a delayed appearance. I have: source1.mp4 which is of duration 20 sec. source2.mp4 which is of duration 5 sec. I want to create a final ...
1
vote
1answer
125 views

Video file created with FFmpeg too big

In my C# project I capture the screen at regular intervals (with a timer). I then have to convert the images into one video with FFmpeg, so I use this command: "-f image2 -framerate 9 -i ...
0
votes
0answers
68 views

ffmpeg set duration when muxing from fifos to pipe

I'm trying to mux two files (audio and video) coming from fifos and to output the result to a pipe. The input files are one mp4 h264 file and a m4a aac, and the output file should be a matroska ...
0
votes
1answer
69 views

How to determine 'Output bit depth' of the libx264 library in ffmpeg?

According to the x264 Encoding Guide, the crf scale depends on whether x264 is 8-bit or 10-bit. Supposedly x264 --help shows the Output bit depth. But on Windows ffmpeg -h full doesn't say anything ...
0
votes
1answer
133 views

reduce background noise and optimize the speech from an audio clip using ffmpeg

I extract audio clips from a video file for speech recognition. These videos come from mobile/other handmade devices and hence contain a lot of noise. I want to reduce background noise of the audio so ...
1
vote
1answer
68 views

ffmpeg does not recognize any audio filters

I am trying to reduce noise from the audio files I extracted from videos. The objective is to recognize speech so I was trying to filter out the frequencies above 300 and below 3000hz. I tried to use ...
0
votes
1answer
19 views

ClassX installation “codec not found” due to dependencies

ClassX is an interactive lecture streaming system developed in the Electrical Engineering Department at Stanford University. Unlike conventional lecture capturing systems, ClassX requires very simple ...
0
votes
1answer
182 views

Windows FFMPEG will not find my files at all

I have a folder full of images that go from 0 to whatever number, and I need to turn these images to a video. They are all .PNG files. Here is my command I am using: ffmpeg.exe -f image2 -framerate ...
0
votes
0answers
17 views

ffmpeg audio filter to cleanup gaps/insert silence

I have something of a "lossy" audio input source (directshow). It might, for instance, have data from 0.0 to 1.0 seconds, then not have any from 1.0 to 1.5 seconds, continuing on, etc. IS there any ...
-1
votes
1answer
181 views

FFmpeg: Exporting subtitle stream to .ass file

What I'm trying to do is exporting the subtile stream of a MKV-file to a ASS-subtitle-file. I'm not really experienced with ffmpeg so I'm sorry if I miss something obvious This is what I've got so ...
1
vote
1answer
428 views

Record audio and video by using FFmpeg

I tried to record audio and video at the same time by using FFmpeg. However, several problems occurred. Here is my code: ffmpeg -f alsa -ar 24000 -i plughw:1 -acodec aac -strict experimental -f ...