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

0
votes
0answers
8 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
11 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
10 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
37 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
21 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
11 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
20 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
25 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
15 views

What is the best way to convert .wtv files to .mkv

Ive been searching everywhere for a good solution and nothing has worked for me thus far. I've tried Handbrake, MC-TVConverter and a slew of other converters and nothing seems to work with WTV files. ...
0
votes
1answer
19 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
1answer
18 views

Python - find average bitrate of video [closed]

I need to find the average bitrate of a video, preferably using a Python API. I tried ffmpeg, but it just returns N/A for bitrate. Does anyone know another command line or Python API method for ...
0
votes
0answers
25 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 ...
-1
votes
1answer
35 views

H.264 transparency

I am using FFmpeg with libx264 for the video codec. I know that AAC becomes transparent around 128 kbit/s, but what is the transparent rate for H.264? Any example commands would be appreciated.
-1
votes
0answers
29 views

How to extract video with single audio channel from a ts video contain multiple audio channels in one aac audio stream?

I have a video file named "Video.ts" that contain 4 audio languages (English, Chinese, xxx, xxx). I want to output a video file, say "Video1.ts" (or even converted to "Video1.MP4" directly..) that ...
0
votes
0answers
46 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
26 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 ...
0
votes
0answers
16 views

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

I use this command to convert: ffmpeg -i http://IP:8000/live/flv/channel22 -vcodec libx264 -acodec libfaac -f flv test.flv but the timestamp in the output file is different from original file. How ...
0
votes
0answers
22 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
23 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
68 views
+50

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
25 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
47 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
31 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
19 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
19 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
16 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
24 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
96 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
63 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
36 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
68 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
21 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
23 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
40 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
46 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
36 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
16 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
28 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
31 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
44 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
17 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
24 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
39 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
44 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
8 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
34 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
7 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
35 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
55 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 ...
0
votes
0answers
51 views

ffmpeg map_channel mutes the second mono file

I am having trouble with -map_channel options. I am using two seperate scripts (yeah I know I could do this in one script). ffmpeg -threads "16" -i example.mov -acodec pcm_s24le -ar 48000 -ac 1 ...