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

-3
votes
1answer
28 views

Analyzing h264 100GB video stream

I have a big file, an h264 stream video of a CCTV. I analyze this file with ffprobe and the result is this: [h264 @ 0000000002d24480] no frame! [h264 @ 0000000002d24480] non-existing PPS 0 referenced ...
1
vote
1answer
21 views

Segmenting video to X seconds parts with ffmpeg

I have one video with duration of one minute and 35 seconds. I am able to split it into multiple 30 second segments (I am fully aware of other ways to split a video but chose this for a particular ...
0
votes
1answer
28 views

ffmpeg changes audio bitrate when transcoding from MKV to FLV

I have one file - sample.mkv ========================================================= File: sample.mkv Width: 854 pixels Height: 480 pixels Aspect ...
0
votes
0answers
12 views

Video shows a short length but contains a hour of content based on the file size. Can FFMPEG see past the error?

I have a 3 hour file that I shot... the file size is consistent with that length (100 gigs)... but when i play the file it only plays the first 12 min. VLC player says the file is 3 hours but only ...
0
votes
0answers
15 views

FFMPEG / libx264: How to specify a variable frame rate but with a maximum?

Instead of providing a fixed frame rate to FFMPEG/libx264 (-r/-framerate), I would like to specify a variable frame rate with a MAXIMUM value, and allow libx264 to down the frame rate as it sees fit. ...
1
vote
2answers
45 views

What is the CORRECT way to fix keyframes in FFMPEG for DASH?

When conditioning a stream for DASH playback, random access points must be at the exact same source stream time in all streams. The usual way to do this is to force a fixed frame rate and fixed GOP ...
1
vote
0answers
17 views

FFMPEG set a upper limit to bitrate only a a interval of video

How i can define a variable bitrate from 500k to 1024k between 0~1min30, between 1min30~3min up it to 2048 to 4096 and from 3min until end down it to 500~1024 again?
0
votes
1answer
27 views

Correct aspect ratio without re-encoding video file

I have a video stream with the following properties: Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x416 [SAR 1:1 DAR 45:26], 1908 kb/s, 25 fps, 25 tbr, 25 tbn, ...
0
votes
0answers
15 views

Green screen issue on ffmpeg

I have been trying to use ffmpeg binary for compressing the screenshots taken from adb. The following is the command being used : screencap | /data/local/tmp/ffmpeg -f rawvideo -s 1440x2560 -pix_fmt ...
1
vote
2answers
57 views

Convert all files in directory using FFMPEG

I'm trying to write a script to convert all the files in a directory to m4v, whilst trying to keep similar (if not the same) quality and compress the file to reduce the overall size. I've pieced ...
0
votes
0answers
29 views

How to change scan type / field order in video's metadata?

VLC plays my 50i H.264 MOV incorrectly when I try to do Deinterlace = on and Deinterlace mode = Yadif 2x. The video is jumpy like crazy. Looks like it's detecting the field order incorrectly. So what ...
0
votes
1answer
37 views

ffmpeg: Highest quality 50i to 50p conversion, comparable to Adobe Premiere

I have 50i footage (more specifically tagged as 25 fps but does contain movement on the secondary fields). I am able to get pretty good quality conversion to 50p from Adobe Premiere by simply ...
0
votes
1answer
15 views

Do filtergraphs copy audio streams by default in FFMpeg?

I 've got the following command in FFMpeg: ffmpeg -i file_input.mp4 -filter_complex split=2[i1][i2];[i1]scale=trunc(oh*a/2)*2:480[o1];[i2]scale=trunc(oh*a/2)*2:640[o2] -map [o1] -map 0:a -pix_fmt ...
-1
votes
1answer
50 views

How did ffmpeg appear on my Windows computer? [closed]

ffmpeg is a great program to (among other things) create videos from lots of images and vice versa. I just recently learned about it and used it on my Linux machine to create time-lapse videos. The ...
0
votes
0answers
30 views

FFmpeg - Possible to scrub in FFplay window using lavfi?

After some help on here earlier today, I'm able to get to FFplay to render a video with some filters using lavfi. Here is an example of a simplified working command: ffplay -f lavfi ...
1
vote
1answer
26 views

Weird sound problems cropped up on Ubuntu 14.04

Please help! Today I was trying to edit some home video with KDENLive and when I'd try to preview my videos, they'd play for about a second then lock up the program. In troubleshooting, I ...
1
vote
1answer
28 views

ffmpeg using -re and -ss together

I'm using ffmpeg to livestream a video file to an RTMP server. I'm using the -re option to ensure the video is streamed at the proper rate to the live source. Occasionally I want to stream the video ...
0
votes
1answer
62 views

.MKV to .MP4 with 2 soundtrack (audio)

I found this thread: Handbrake settings to convert MKV to MP4 while retaining the original quality And I can "convert" .MKV to .MP4 with the following code: for %%a in ("*.mkv") do ...
0
votes
0answers
22 views

Capture desktop with FFMPEG on MacOSX 10.6.8

I tried to capture the desktop/screen-recording with this command ffmpeg -f avfoundation -i "1:0" out.mp4 this doesn't work because avfoundation is a framework on OSX >= 10.7 and my OS version is ...
2
votes
1answer
38 views

ffplay - Unable to Find File Using lavfi [duplicate]

I'm having some trouble using lavfi within ffplay to apply filters. I'm simply trying to pad one video, and overlay another video within the padded area. My command and console output is as follows: ...
0
votes
0answers
29 views

FFMPEG: Windows binaries with globbing (libavformat) support?

I am struggling to get ffmpeg to combine a bunch of images in to a video which have a format with a full 17 digit timestamp. 17 digits is well beyond what -i %d will support. So I want to use ...
0
votes
0answers
345 views

FFMPEG “Past duration 0.xxxxxx too large”

I'm recording an HLS streaming and I would like to save in a FLV Container. My ffmpeg's cmd is: /.../recorder/class/ffmpeg-2.6.1-32bit-static/./ffmpeg -i http://server/url/playlist.m3u8 -b:a 128K ...
1
vote
0answers
81 views

FFMPEG capture snapshot image from RTSP IPCamera

Hi I am able to stream video successfully from my IP Camera with VLC using the URL: rtsp://192.168.0.6:554/cam/realmonitor When attempting to use FFMPEG it is failing with the following errors: I ...
4
votes
1answer
130 views

Re-encoding in FFMPEG using the exact same settings as the input file

I have a use-case where I take a few MPEG-4 files, trim them and concatenate them in to one file. I have a second use-case where one of those files are trimmed and also cropped/scaled, these files ...
0
votes
1answer
36 views

ffmpeg HEVC with HLS specific fragment duration

I use a 10bit build of ffmpeg/x265 to run the following command where I decode an input x265/10bit video, pipe it into another cmd line tools and pipe again the output into a new ffmpeg instance where ...
2
votes
1answer
34 views

Possible to call a specific audio channel within a filter graph?

I know that the -map_channel argument can specify a specific audio channel within a file, but is there a way to do a similar argument within a filter graph? I'm hoping something like this would be ...
2
votes
0answers
30 views

Copy creation_date metadata when converting video with ffmpeg

I want to convert a bunch of old videos to H.264 to save space, but ffmpeg always drops the creation date, no matter what fancy -map_metadata variations I use. This is obviously a huge dealbreaker for ...
0
votes
1answer
130 views

Continuous streaming from an empty pipe, then adding data to the pipe on demand

Essentially, what I'd like to do is to have ffmpeg continuously stream to an RTMP server using an empty pipe, then when I want to stream something, add data to the pipe. My reasons for doing this ...
0
votes
1answer
65 views

FFmpeg - Apply blur over face

I'm trying to blur a portion of a video using FFmpeg (specifically to blur a face). I have been trying to use a combination of timeline editing and the various bluring filters, but I cannot find a ...
0
votes
0answers
29 views

Incorrect Codec Parameters While using '-acodec' option while Working with FFMPEG

I am working with FFMPEG Library. I am capturing streams in particular compression codes to the destination file with the specified format with the following command: ffmpeg -i ...
0
votes
0answers
10 views

Install ShareX offline

I'm about to try compiling it myself, but maybe someone knows a way around this. I need to install ShareX on a computer (win 7 standard) disconnected from the internet. Dependencies I know of is ...
0
votes
0answers
12 views

Improve FFmpeg time ? conversion takes very long

I have several rules to convert a movie to several formats and create a preview image. Problem is the execution of these takes very long. Also the outputted quality is very low. I harvested these ...
0
votes
0answers
55 views

FFMPEG concat demuxer — how to make mp4 file formats compatible

I need to automate mp4 concatenation server-side and I'm using FFMPEG. I will get uploads of mp4 files and I want to attach a Title.mp4 and End.mp4 to each one. I am also overlaying a soundtrack (the ...
0
votes
1answer
30 views

ffmpeg always asks if I want to replace the input file

I'm trying to merge a video source and an audio file together to end on the shortest flag with the latest ffmpeg build from zeranoe but all it does is ask if I want to replace the audio or video file ...
0
votes
1answer
29 views

the difference with bitrate and frame rate with ffmpeg

I am working on the project that compressed live video with ffmpeg. I want to know what is the difference between -b 2500k(bitrate) and -r 25 (frame rate)? Is the any relation?
0
votes
0answers
50 views

FFMPEG: commandline options to recording audio from mic and speakers

I am using ffmpeg version 2.4.7 on Fedora-21 workstation. I want to record audio, simultaneously from microphone and speakers as separate streams. I am using the following command for it. ffmpeg -f ...
0
votes
0answers
23 views

ffmpeg scaling input video converting it from mov to mp4 and watermarking in the center

I'd like to scale videos comming from my DSLR with ffmpeg to a resolution of 960x540, then convert the container from mov to mp4 and after all of these things I'd like to watermark that video by ...
0
votes
0answers
15 views

Concatenate video files and add a watermark [duplicate]

I have two different sets of ffmpeg commands working that I would like to try to combine. The first command is a basic "concat" command: ffmpeg -i "concat:file01.mpg|file02.mpg|file03.mpg" -c copy ...
0
votes
2answers
37 views

Is there a way to generate left and right camera views from one camera video

I have only one video available from one camera. Is it possible to create left and right camera views from one camera video and could be viewed from oculus rift-VR. No need for audio
0
votes
0answers
14 views

FFMPEG Command to repeat audio in SlideShow Video [duplicate]

I am using following ffmpeg command to create slideshow video "ffmpeg","-loop", "1","-framerate", "1" ,"-i",bg.jpg","-framerate", "1/5" ,"-i" ...
0
votes
0answers
49 views

How to know which framerate should I use to capture webcam with ffmpeg?

I'm capturing video from my webcam with the following command: ffmpeg -r 30 -f v4l2 -video_size 160x120 -i /dev/video0 output.avi The -r option indicate the framerate I want. However, it's not that ...
1
vote
0answers
16 views

Is there optimal format and\or encoder to create keyframes only on scene changes?

I'm trying to encode videos in such a way so keyframes would represent scene changes as much as possible. I tried doing it using handbreak x264 with parameters like this ...
0
votes
0answers
31 views

Recover a corrupt .mpg file in Ubuntu

I have a .mpg file. The file is about 15 mins, but it stops playing at 7th minute. When I ran the ffmpeg error command : ffmpeg -v error -i test_dev.mpg -f null - 2>error.log I got the following ...
0
votes
0answers
20 views

ffmpeg cmd migration kubuntu14 to Win7

I have a ffmpeg cmd line that works fine in Kubuntu14 linux that I want to migrate to Win7. ffmpeg -r 8 -threads 0 -f image2 -i './Pictures/AS_p20_RS6wvlt_png/Jupiter_20150327_%2d.png' -codec:v ...
0
votes
0answers
13 views

FFmpeg Degrades Quality of Video [closed]

I have been tasked with converting a batch of videos from MOV to MP4 for an application my company is building. We're converting the videos because a short MOV file has an extremely large file size ...
0
votes
1answer
77 views

Command to create video from images with background video and audio

I am using ffmpeg in my Android application. I want to create video from images with background video and audio. Images are overlaid on video with borders. Video and audio will be repeated until all ...
0
votes
1answer
23 views

How to extract Blu-ray audio without any conversion?

As avconv (forked from ffmpeg) said, the format of Blu-ray audio stream is called pcm_bluray, but why most of the tutorials say using -acodec pcm_s**le flag (** depends on its sample rate)? Are they ...
0
votes
0answers
43 views

How can I extract a single GOP as images from a video?

I need to extract a complete GOP (group of pictures) from an MPEG-4 video and turn every frame in that GOP into a full BMP image. For example, I imagine something like this: ffmpeg -i Input.mp4 ...
0
votes
2answers
76 views

ffmpeg: how to convert mp4 to mp4?

The subject is correct ;-) My problem is this: I have a set of MP4 files; all of them play with vlc on my Ubuntu box. But when copy them to USB; and want to play them from my TV ... some work; others ...
1
vote
1answer
143 views

How do I know if hardware acceleration of the GPU is enabled in VLC?

Under the new VLC interface (Linux) with video-Catalyst driver installed what option I can chose to enable GPU hardware acceleration? How can I be sure it is enabled? $ vainfo give me this ...