FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line ...

learn more… | top users | synonyms

0
votes
1answer
93 views

FFMPEG - Add intro and outro to a video

Here is basically what I'm trying to do. I have three files : 1. image.png 2. music.wav 3. video.mp4 I'm trying to create a new video file (mp4) with : IMAGE.PNG for the first 5 seconds VIDEO.MP4 ...
0
votes
1answer
76 views

cutting with ffmpeg results in few seconds of black screen, how do i fix this?

i'm using this command to cut a segment from a video from command line ffmpeg -i %1 -vcodec copy -acodec copy -ss %2 -t %3 %~n1_cut%~x1 and i call it like cut.bat video.mp4 001:23:45:678 10 and ...
0
votes
1answer
50 views

Transcoding vertical video to an intermediate codec

I used the Android SDK to record some steps for a tutorial video and am having some difficulty working with the footage. First of all, it's of a variable framerate and secondly it's in 1080:1920 - ...
1
vote
1answer
66 views

Issues looping a stream with FFMpeg

I'm trying to overlay a video on top of an image. The problem that I'm facing is that the video duration that I want is longer than my input video's duration. To solve this issue, I try to generate a ...
4
votes
1answer
81 views

Why is ffmpeg outputting a 600fps video from a 120fps video input?

I have a very short 120fps video. ffprobe input.mp4 shows 118.99fps: ffprobe version 3.0 Copyright (c) 2007-2016 the FFmpeg developers built with Apple LLVM version 7.3.0 (clang-703.0.29) ...
0
votes
1answer
60 views

how to recover corrupt mp4 from samsung note 3

I have an app which records mp4. Some videos are fine and some corrupt. But even the corrupt ones are huge in size which I conclude have data.However, I have tried ffmpg, avconv and media info. I am ...
0
votes
1answer
79 views

FFMpeg concat demuxer corrupted output (freezed video on some concatenated parts)

I have big videos with different types of properties and trying to collect some part of these videos by ffmpeg. I use this command to cut specific parts: scale video >> scale png >> pad ...
1
vote
1answer
154 views

Removing MP4 encoding information

Is it possible to remove certain information form a MP4 file? Specifically things like tagging and encoding dates, Writing library and application, Encoding settings... No client needs to know when I ...
0
votes
2answers
84 views

Fix bad files and streams with ffmpeg so VLC and other players would not crash

It happened me many times that I could end up in corrupted video files: video downloaded from official sources but with torrent and for some reason not all the pieces are there in .mkv, .ts or .mp4 ...
0
votes
0answers
139 views

Split HLS TS segment at specific timestamp

I am currently using ffmpeg to segment/transcode a longer transport stream into HLS with 10s segments. Now I want to grab the second segment from the following section: #EXTINF:10.041667, ...
0
votes
0answers
64 views

how to add logo to live stream using FFMPEG

I am using FFMPEG 2.8.6 and ffserver for live streaming. I want to add logo to live stream?
0
votes
1answer
92 views

Convert mkv to mp4 (or webM) with the output file viewable in the process

I'm trying to find a way to convert a MKV file into MP4 and actually already start to view it, while it's still converting. The output file would be viewed via Chrome or Firefox and I would like to ...
0
votes
1answer
73 views
1
vote
1answer
61 views

ffmpeg concat with or without audio

I'm splitting and merging a single video clip using this ffmpeg command: -ss 0 -t 1 -i C:\source.mp4 -ss 3 -t 1 -i C:\source.mp4 -ss 6 -t 1 -i C:\source.mp4 -ss 9 -t 1 -i C:\source.mp4 -...
0
votes
1answer
299 views

Convert variable input formats to black and white MP4

I am currently using an FFMPEG command like: ffmpeg -i input.mov -vf scale=1920:1080 output.mp4 to convert varying input format file to a fixed resolution MP4 output file. One final step I need is ...
0
votes
1answer
389 views

Dash live streaming

after a lot of googling and after I've read tons of forums, I'm still not able to do a live stream using my cam to another device. My system is made up by a server ( a windows laptop ), that capture ...
1
vote
1answer
97 views

Ffmpeg video rotation and center

I was wondering is possible to from 1 video i copy 3 more, then rotate them all by 90 degrees, then move they center with ffmpeg commands? To be clearer what im saying here is picuture what i want to ...
1
vote
1answer
224 views

How should I encode my 4K video stream?

I'm capturing uncompressed 4K video from my Sony A7R II via a video capture device, and am using ffmpeg to save the video. My problem is I don't know what codec to use. The two options I tried are: ...
0
votes
0answers
28 views

Heavy automatition with scripting for videos - ffmpeg?

Been here i found a lot of question involving ffmpeg and its filters, however the filters are already built-in and what you generally do is calling them with various parameters. What was wondering is ...
0
votes
0answers
122 views

Detecting silence duration and start time using ffmpeg

Ffmpeg is having a silence detect filter which will provide the silence start second,how can we get the duration of that silence? Also how can we detect silence in multiple audio tracks in same file?
0
votes
2answers
249 views

What are supported stream formats for h.265

I wanted to know what are the possible streaming formats for streaming a video using H.265. Does H.265 support rtsp and rtmp based streaming? Currently, I am using ffmpeg to live stream the camera ...
0
votes
0answers
44 views

How to drop frames using ffmpeg without re-encoding and preserving speed

I am working on a video analysis tool and would like to use ffmpeg to save a significantly smaller modified video file to the hard drive. The idea is to "drop" or "replace" all frames except for one ...
4
votes
2answers
211 views

ffmpeg: preserve timecode when converting mp4 to mov

I have .mp4 files created by a Sony A7s camera. They're using the xavc-s codec. I'm converting them to .mov using the command below. The orignal files have a timecode but that is not present in the ...
0
votes
1answer
214 views

FFMpeg: “Invalid audio stream. Exactly one MP3 audio stream is required”

I am trying to adapt this FFmpeg script that encodes all video files in a directory, to instead convert mp3 files present in that directory with similar preferences. The original script: This works ...
0
votes
1answer
836 views

Using ffmpeg to stream to or from Blackmagic Decklink Card

I want to use blackmagic cards with ffmpeg to stream their input but there is a problem. When I use "H264 Pro" Encoder as a "decklink" or "dshow" input, I see this error in command line output of ...
0
votes
2answers
213 views

ffmpeg split screen two video sources

I am not able to figure out how to get ffmpeg to make a video that combines (muxes) half-height-cropped from two video sources. The latest generation of ffmpeg (3.x) has a "vstack" filter. My ...
0
votes
2answers
78 views

Resolve Bad public atom found when using ffmpeg copy

I have a .mov file with a number of streams both audio and video I'd like to demux (if thats the correct term) into separate files (1 per stream to start with) without loosing quality or resolution ...
1
vote
1answer
62 views

What does the value in parentheses for ffmpeg ssim log denote?

https://ffmpeg.org/ffmpeg-all.html#ssim I ran a command like this: .\..\ffmpeg -i [Input] -i [Output] -lavfi ssim="stats_file=ssim.log" -f null - and saw this in the ssim log outputs: n:70 Y:0....
0
votes
1answer
109 views

Repairing videos producing reading errors

I have several videos which produce reading errors in ffmpeg, thus hindering me to play them in VLC (for example). Is there a way to either skip those problematic parts, or to fix them? The exact ...
1
vote
1answer
73 views

Use ffplay to check how much to brighten video before using ffmpeg?

I have a video which is a bit dark that I'd like to re-encode and brighten up with ffmpeg. As a smarter/faster alternative to running ffmpeg in trial/error mode, is there a way to simply use ffplay ...
0
votes
1answer
185 views

ffmpeg conversion losing frames

I am using ffmpeg to load and mp4 and save an mp4. When I load the source mp4 (from android screen record) into blender, it will not import properly and unusable. When I run the mp4 through ffmpeg, ...
1
vote
1answer
56 views

Tool for cutting video

I have an MP4 format video. I was wondering if there is a good tool to take a video, and create n number of new videos, by just setting a bunch of cut points. Obviously most video editors will be ...
1
vote
1answer
590 views

How to use FFmpeg Command for Reverse Video?

i am use to FFmpeg library in android for reverse video. I can dump images from video but how to reverse all images and make video. See this link that from i am use to library in my gradle.. Library ...
0
votes
0answers
69 views

FFMPEG logging level output

I would like FFMPEG to "print" the names/numbers of its logging levels of its stdout/stderr output. By default it seems to represent the logging levels with ANSI colors, which I cannot read with ...
1
vote
1answer
98 views

FFMPEG prores_ks 4444 color shift

I am attempting to encode "ProRes 4444" movies with ffmpeg. Some research led me to the "prores_ks" encoder, which is the only one of ffmpeg's prores encoders that supports "4444". I used this ...
1
vote
1answer
118 views

FFMPEG not writing quicktime “COLR” atom

I am attempting to create Quicktime movs with the "DNXHD" codec with the following ffmpeg command (input part excluded): -c:v dnxhd -b:v 175M -pix_fmt yuv422p10le test.mov This works, and is ...
0
votes
0answers
69 views

webm vpxenc fails when doing 2 pass and using pipe from ffmpeg

I am using ffmpeg to convert my video so vpxenc can read it then piping it to vpxenc and doing a 2 pass encode. However it is not working as the second pass fails (no error message) The reason I am ...
0
votes
1answer
43 views

Adding many sounds to a video file at specific frames

I have a video of a TAS I've created that unfortunately does not contain sound. I would like to add sound to the video before releasing it, but I obviously don't want to have to go through and place ...
1
vote
1answer
90 views

Real time ffmpeg / x264 encoder behavior when input resolution suddenly changes

I want to take a live HD-SDI signal being captured by a capture card and encode it in real time to X.264. What happens when the input resolution suddenly changes? eg, from HD SDI 1080/50i to HD SDI ...
1
vote
1answer
76 views

Is ffmpeg the solution to automate video building from multiple files

Need some help automating video & audio stitching and could use some help/direction. Let's say I have the following assets: Video 1 Video 2 Video 3 Music 1 And I want to build a few variations ...
3
votes
1answer
386 views

ffmpeg drawtext text parameter expressions

I am trying to write text on a video in such a way that the text "writes itself" - letter by letter. To do this I was able to do something like this: -vf "[in]drawtext=text='a':fontfile='/Windows/...
2
votes
0answers
28 views

ffmpeg h264 crashes IE intermittently

First for moderators, this is relevant because I have incorporated ffmpeg in a program to render videos needed for a web-app. My problem is that the videos I render randomly crash IE 11. Other ...
0
votes
1answer
90 views

Loss of quality while adding subtitle via FFmpeg

After solving on problem I cam coming to a next one. After adding subtitles, discussed here, with the command: ffmpeg -i grdedFinal.mov -vf subtitles=portSbs.srt gradedFinalwithSubs.mov the quality ...
0
votes
0answers
56 views

Is it possible to remove “ghosted” frames from video using ffmpeg? (or other cross-platform CLI tools)

I have some videos which were butchered by evil processing, resulting in spurious extra frames which are simply neighbor frames blended together (plus some random difference from compression artifacts,...
1
vote
1answer
116 views

Unable to hardcode subtitles in FFmpeg on Mac to mov

I would like to hardcode subtitles using FFmpeg, I'm trying to do this using the following command: ffmpeg -i grdedFinal.mov -vf subtitles=portSbs.srt gradedFinalwithSubs.mov which returns the ...
0
votes
1answer
145 views

Are “mp2v” and “mpgv” valid MPEG-2 codec tags in an MOV?

This question is related to What is the correct MPEG-2 FourCC? and to an open discussion currently on the ffmpeg-user mailing list: I am wondering if I should file a bug report about the MOV ...
0
votes
1answer
130 views

Add transparent background to ffmpeg with text over it

How to correctly add expression to transparent background like on this question ffmpeg drawtext filter - create transparent background with text for my case (where there are 3 lines in bottom right ...
0
votes
1answer
147 views

Output format and quality to be same as input

Have many videos different videos of different format and quality in which i need to add small amount of text. What command should i use to get same file format/quality for output as it was for input ...
1
vote
1answer
158 views

Scroll text left to right and back

I am using this line which works fine for showing text in 3 lines starting at 0.3sec, ending at 0.6 sec. in bottom left corner. I would like to add scroll in and scroll out effect in ffmpeg. Both in ...
1
vote
1answer
343 views

Concate two video file with fade effect with ffmpeg in linux

is there anyway to concate two video file with fade effect with ffmpeg in linux? something like this: ffmpeg -f concat -i input.txt -c copy "--with:fade:out-in" output.ogg