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

2
votes
0answers
244 views

Packets are not in the proper order with respect to DTS when using libx264 for video

I'm trying to use the following command to transcode one stream to a different format and send it over to RTMP server for live streaming. This is the command I am using: ffmpeg -f mxg -i ...
2
votes
1answer
249 views

ffmpeg: how to set “joint-stereo” mode in mp3?

How to set joint-stereo mode in ffmpeg when converting from flac to mp3 format? Normally I use this command, but it produces "stereo" mode. I need "joint-stereo". ffmpeg -i input.flac -vn -ac 2 -ar ...
3
votes
1answer
138 views

Skipping the temp dir or changing it at runtime with FFMPEG

See the edit at the bottom. Some info below is wrong. Is there a way to make FFMPEG write directly to the destination and skip the tmp dir? If not is there a way to choose the temp dir at runtime? ...
0
votes
0answers
481 views

Streaming FLV with H.264 and AAC

I'm trying to turn Mobotix IP Camera MxPEG based stream into a FLV stream that uses H.264 for video and AAC for audio, to be used from web-browser context with a flash based player. I've been trying ...
3
votes
1answer
938 views

Convert AVI into H.264 that works inside an HTML5 Video tag

I would like to convert an existing black and white AVI into an H.264 video that works inside an HTML5 video tag. I'm currently using this ffmpeg command: ffmpeg -i file.avi -y -c:v libx264 ...
0
votes
0answers
59 views

FFMPEG concatenation not working correctly

I have a code for wav file concatenation using ffmpeg. E:\vishnu>ffmpeg -f concat -i C:\Users\admin\Desktop\ConcateFile.txt -c copy C:\Users\admin\Desktop\new.wav I will also include the ...
0
votes
1answer
97 views

How to control keyframe generation in ffmpeg

I use ffmpeg to transcode an FLV file that only has one GOP, that is, only the first frame is an I-frame. The problem is that my output file has more than one I-frame, but I need it to only have one ...
1
vote
0answers
117 views

Mixed results writing M4A metadata

Given this file I am having mixed results writing metadata. For example this command ffmpeg -i confetti.mp4 -c copy -f adts - | ffmpeg -i - -c copy -bsf aac_adtstoasc -movflags faststart \ ...
3
votes
0answers
1k views

FFMPEG webcam stream to Youtube drops frames

I need to do a live videostream on Youtube using a Logitech HD Pro Webcam C920. My OS is Fedora 20, and the command I am trying to use is: ffmpeg -f v4l2 -i /dev/video0 -flags +global_header -ac 1 ...
0
votes
0answers
100 views

Which video codecs support file level concatenation and have good resolution

I need to concatenate two videos in the fastest possible way. As seen in this question , ffmpeg concat protocol is extremely fast but only works with formats that support file level ...
0
votes
1answer
190 views

Speed up video with FFmpeg with low I-frame distance

I got a video with 60 fps and h264 encoded (.mp4), audio layer is removed. Now I want to speed up the video 4x faster with FFmpeg, but I would like to have a very low I-frame distance to be able to ...
0
votes
1answer
200 views

Creating video with multiple audios and one still image for YouTube

I want to create many videos with multiple audio streams and one single picture. For example I have song1.mp3 song2.mp3 song3.mp3 and one single picture. What I need to do is to create many ...
0
votes
1answer
753 views

Rip CD/DVD with ffmpeg

Is this possible with ffmpeg? Do you have any links that explain how to do this? I have searched with Google but had not many results. I just want to be able to convert a CD or DVD to MP3 audio ...
2
votes
1answer
137 views

ffmpeg subtitle not visible

I'm using ffmpeg static. I have to two servers. When i encode at the first server, subtitle works; but it does not work at the second server. I installed fontconfig, fontconfig-devel, freetype, ...
8
votes
2answers
255 views

Cannot concatenate videos ffmpeg

I have a bitmap that I would like to concatenate to the front of many videos as a sort of title screen or disclaimer screen. I try to turn it into a video with the same attributes as the rest of the ...
1
vote
0answers
545 views

Split video into equal file size parts with ffmpeg [duplicate]

i am trying to split a video file into equal file size parts with ffmpeg. At first i get the file size of the original and divide it with the desired number of parts to get the file part's file size. ...
1
vote
0answers
494 views

stream byte arrays to a video using ffmpeg

This is what I am trying to do: I receive jpegs from an IP camera. If motion is detected I want to upload the jpeg still shot to my server. To save on bandwidth I save each jpeg to a file on my ...
2
votes
0answers
192 views

I got a green overlay in my video when using multiply blend mode in ffmpeg

I´m trying to blend two videos with the multiply blend mode. But I got a green overlay in the resulting video. This is a image where are one frame of each input video and one frame of the resulting ...
0
votes
0answers
405 views

ffmpeg - RTMP to RTMP video track copy throwing error

I need to fecth a RTMP H.264/MP3 stream and push it to RTMP H264/AAC stream. I would like to leave the video track untouched as I have several streams to process and would like CPU usage to remain as ...
0
votes
1answer
121 views

How to split video file by ffmpeg?

I have this code to split video to multiple parts: @echo off for %%i in (*.mp4) do ( ffmpeg -i "%%~i" -vcodec copy -acodec copy -ss 00:00:00 -t 00:00:05 "D:\Ebook\%%~ni_1.mp4" ffmpeg -i "%%~i" ...
0
votes
2answers
220 views

ffmpeg to convert from flac to wav

I need to convert a flac file to a wav file without changing sample rate and bit depth. As far as I know changing these properties may distort the audio, so how do i specify them not to be changed? ...
1
vote
1answer
179 views

ffmpeg fails to generate screenshots

I have a video file and I'm trying to generate screenshots from it. When I use this command ffmpeg -ss 500 -i video_file.mp4 -frames:v 1 -y -s 263*196 output_screenshot.jpg a screenshot is generated ...
4
votes
1answer
57 views

Detect truncated mp3 or ogg files

I recently had a hard disk failure and could not rescue all my music files. Since I didn't have enough storage available to do a full backup of the disk, I tried to cp as many tracks as possible, but ...
1
vote
1answer
138 views

What is the lowest FPS at which the human eye can notice a flickering image? (testing this with ffmpeg)

I wanted to check what the lowest FPS is that the human eye cannot notice as flicker. I created a white jpg and a black JPG. I started with 25 fps which means that I have 24 jpg of white and 1 of ...
1
vote
0answers
112 views

How i could cut exactly frames from an avi with ffmpeg

I use the command below to cut it to frames. I want 48 frames for my video which is 7 seconds. ffmpeg -i output.avi -r 6.4 -s sxga images\\image%d.jpeg It creates me the frames but i was use it ...
1
vote
0answers
293 views

ffmpeg HLS demuxer handling of videos with overlapping timestamps

I have a HLS stream, that contains a number of arbitrary TS segments, some of which may refer to the same file. Desktop and mobile Safari plays it just fine, e.g. if I have a playlist that contains ...
1
vote
1answer
85 views

can ffmpeg muxer mux any encoded data packet into a container?

I just want to know is there a restriction, that one type of container only can contain numbers of special codecs encoded data packet. I afraid i don't explain myself well. To be more specific, is ...
0
votes
0answers
221 views

Creating a video with ffmpeg using a remote image file

I'm trying to create a video using ffmpeg, my goal is to put together 1 mp3 and 1 image file which are on a ftp server. When i use a local file as my input image, it works as expected: ffmpeg -loop ...
3
votes
1answer
307 views

Why does ffprobe report an incorrect number of frames?

I have a small video file which ffprobe describes as:- Input #0, avi, from 'sample.avi': Metadata: encoder : Lavf55.12.100 Duration: 00:00:35.00, start: 0.000000, bitrate: 546 kb/s Stream #0:0: ...
1
vote
1answer
85 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
426 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
73 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
96 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
57 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
39 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
190 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
759 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
549 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
450 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
26 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
432 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
562 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
67 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
58 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
512 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
117 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
324 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
122 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
56 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
380 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. ...