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
13 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 - ...
0
votes
1answer
86 views

ffmpeg: How to convert quicktime (iPhone) video to mp4 format?

I need to convert quicktime (.mov) video file recorded by iphone, into mp4 format using ffmpeg in php. I tried several commands but it did not work for me. I tried following command that converted ...
3
votes
1answer
25 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) ...
1
vote
1answer
20 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 ...
1
vote
1answer
42 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 ...
0
votes
0answers
16 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
21 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 ...
2
votes
2answers
2k views

How to extract MOOV atom/metadata from MP4 file?

Can one "dump"/extract the MOOV atom from an MP4 file? If so, how? Hoping for an obscure FFMPEG command. I need to be able to process/play a stream without searching for the MOOV atom over and over ...
3
votes
2answers
105 views

ffmpeg Multiple Audio Language and Soft- Subtitle

I'm trying to convert a movie, using ffmpeg, from Movie.mkv to Movie.m4v. The Movie has 2 Languages and 1 subtitle stream. Using ffmpeg -i inputMovie.mkv outputmovie.m4v the result is just one ...
0
votes
1answer
38 views

How can I create a video from an image sequence that is named with a date in the FFmpeg?

I am using FFmpeg I'd like to create an mp4 using an image sequence. But the images are not named sequentially, like 1, 2, 3, 4... Instead they are named with a time stamp in the form yyyy-mm-dd-mm. ...
4
votes
2answers
619 views

Convert .WMV using FFmpeg

I'd like to use FFmpeg on the Mac Terminal command line to convert a .WMV file. I'm familiar with the syntax: ffmpeg -i /path/OriginalMovieFile.wmv /path/NewMovieFile.??? However, my recent attempt ...
1
vote
1answer
50 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
85 views

FFmpeg cuts video?

I'm trying to add an image to the start of a video. I don't want it to overwrite the video, I asked about it and got this answer: ffmpeg -r 30 -loop 1 -t 3 -i image.jpg -i inputvideo.mxf -f lavfi -t ...
1
vote
1answer
37 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
26 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
1answer
106 views

How to set double fps for tbc option of video

I need to set tbc option for output video. For example, input video has 25 fps with 50 tbc and my encoded video has 25fps with 25 tbc. I used settb and video_track_timescale but these options did not ...
0
votes
0answers
24 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
1answer
59 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 ...
1
vote
3answers
66 views

ffmpeg: final video too big

I have one image ~1MB (jpg) and a ~30 mins audio file ~7MB (m4a). What I am trying to get is a final video that lasts like the audio file (30 mins) with the same image displayed. I get that with the ...
0
votes
0answers
18 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
71 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 ...
6
votes
1answer
331 views

ffmpeg - specify channel layout flags

I have the below file which I am re-mapping the audio and trying to set the channel layout flags on a Quicktime Prores file, but can't seem to get it working. I can successfully re-map the audio (from ...
0
votes
1answer
39 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
194 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 ...
2
votes
2answers
98 views

FFMpeg crop filter doesn't change orientation

I am trying to crop a portrait video of 1280x720 to 568x320 so that the video will be displayed in landscape view (16:9). I am using the following command ffmpeg -i VID_1438833296.mp4 -vf ...
1
vote
1answer
20 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 ...
4
votes
1answer
497 views

ffmpeg: overlay rotated video with transparency

I'm new to ffmpeg (video encoding in general). I have two videos one larger than the other. I want to rotate, resize and overlay the shorter video on the larger one at defined coordinates. So far, ...
4
votes
1answer
214 views

Video transitions and filters - how to create custom ones?

I am wondering if there is a possibility to do custom video transitions or filters. Like the video spiraling out, little squares appearing, circling out or something like that. Wiping the video out ...
1
vote
1answer
168 views

FFmpeg script to clean up and compress iPhone video recordings from university lectures

I video record my university lectures using an iPhone 6 and then export them to OS X. The files can often become up to 4 GB/hour in size. I'm looking to create or use a pre-existing solution that can ...
1
vote
1answer
78 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 ...
2
votes
2answers
134 views

How is possible for YouTube and Vimeo transcode so fast?

For the bit I read YouTube and Vimeo rely on servers powered by some modified libs i guess like libavcodec and tools like ffmpeg in a serious custom build. Let's assume a transcode to h264 but the ...
0
votes
1answer
33 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
0answers
80 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 ...
4
votes
2answers
63 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 ...
4
votes
2answers
377 views

Moving Crop in Video

I have an HD video of a speaker giving a lecture. I would like to resize the video by cropping each frame, but the cropping rectangle needs to be centered on the speaker's head as he moves around the ...
0
votes
0answers
38 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
1answer
39 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 ...
0
votes
0answers
24 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
41 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
0answers
25 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 ...
0
votes
1answer
75 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 ...
4
votes
1answer
429 views

What is the ffmpeg filter equivalent of “Automatic levels” for colors?

Looking at the documentation about filters there seems to be a curve filter to manipulate color with the following presets: color_negative cross_process darker increase_contrast lighter ...
3
votes
1answer
288 views

what graphics card features effect NVIDIA NVENC hardware encoding speed?

I have a web project I am working on that requires transcoding of multiple short video clips (6-10 seconds) uploaded by users into a web friendly H.264 format on my linux server. I have been able to ...
6
votes
2answers
3k views

What is the difference between ffmpeg and ffmbc now?

Two years ago I've used ffmbc to encode videos to prores, but nowadays ffmpeg also supports prores and avchd. What is the difference between ffmpeg and ffmbc now?
0
votes
2answers
88 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
1answer
37 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 ...
0
votes
2answers
39 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
35 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 ...
1
vote
2answers
127 views

Putting a Lower bitrate of my video stream in my current mp4 container

Sorry if my question is too noobish, this is my first question. What I have is: An mp4 movie with a video stream and an audio stream. What I want in the output: Is an mp4 file containing: the same ...