Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ffmpeg]

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 program for transcoding multimedia files.

1
vote
1answer
10 views

How to use magicyuv & utvideo codec with ffmpeg

I would like to know how to use magicyuv & utvideo codec with ffmpeg
0
votes
0answers
6 views

Encoding with ffmpeg on ARM device from dvd to x264 preserving interlacing

I have a Pine64, with AllWinner A64 processor, quad-core 1.2GHz and 2GB DDR3 Ram. I have installed ffmpeg on armbian and I still make encodings with good quality and reasonable time, in front of power ...
0
votes
0answers
16 views

Capture original timecode with ffmpeg from decklink

I am trying to capture tape content via a BlackMagic Decklink Quad 2, using ffmpeg. I believe the timecode is passed on through the Decklink because when capturing manually with MediaExpres the ...
1
vote
0answers
13 views

Star Trek Continues: ffmeg dvdsub: overlapping subtitles

So I've downloaded the free fan-created Star Trek Continues Blue-Ray ISO for Episodes 1-3 and I'm trying to convert the FHD 1920x1080 to SD 960x540 to be able to watch on my phone: nice --adjustment=...
0
votes
1answer
15 views

How to add freeze frame to a video using ffmpeg

I want to freeze some frames in a video so that it gives a buffering video type look. Also the audio should freeze with the video.
0
votes
0answers
19 views

ffmpeg - Live hardware capture dropping frames and/or audio pops

I'm attempting to capture 1920x1080 at 60 FPS using a Magewell HDMI capture. If I preview it with ffplay it looks just fine, however when using ffmpeg to record I get frame drops and minor audio ...
2
votes
1answer
19 views

What's the difference between “visually lossless” and real lossless and what does this mean for future encodes?

In FFmpeg's H.264 Video Encoding Guide we are told: Tip: If you're looking for an output that is roughly "visually lossless" but not technically lossless, use a -crf value of around 17 or 18 (you'...
0
votes
0answers
17 views

Lossless way to fix aspect ratio in VOB?

I have some old videos that were converted from a camcorder to DVD years ago. On one of the DVD's, the aspect ratio is incorrect. Most DVD players and applications seem to ignore this and play the ...
-4
votes
0answers
29 views

Download a blocked video MP4 720p [closed]

Hello to all Readers/Experts, ---Question: how to download videos like this one? //tvthek.orf.at/profile/Archiv/7648449/Neues-beim-Wiener-Sommernachtskonzert/13919349/Neues-beim-Wiener-...
0
votes
1answer
36 views

Convert video with ffmpeg to have the same quality

I want to make some present for my grandma. And prepare some video. Unfortunately here video player is old and could not read some file formats. She is not at home now, so I don't know which player ...
1
vote
1answer
33 views

Burn .ass subtitle onto .webm with no loss of quality

I'm trying to burn .ass subtitles onto a .webm, using ffmpeg -i input.webm -vf ass=subtitles.ass output.webm but it shrinks from like 150MB to 9MB. How do I add the subtitles without losing ...
1
vote
1answer
18 views

How to add zoom transition effects using FFmpeg to a variable number of images?

How can I add add zoom transition effects using FFmpeg to a variable number of images? I am able to create video from a variable number of images but I am not sure how to add zoom in and out ...
1
vote
1answer
44 views

ffmpeg - blend video with images

So I want to create videos that had a red overlay, effect and I assume that blend is the right options filter for this. Here my command : ffmpeg -i dogs.mp4 -i red.jpg -filter_complex '[1:v]scale=...
0
votes
1answer
14 views

Identify H.265 from the OSX Command Line?

Can anyone suggest a way to tell the difference, from the OSX command line, between .mkv files encoded with H.265 from those encoded with H.264? Plex H.265 streams viewed from some devices (e.g. LG ...
0
votes
0answers
11 views

ffmpeg remove 1 of 2 audio tracks without video reencode

I'm trying to get rid of the 1st of two audio tracks in an mp4 file. But each time I run: ffmpeg -i test.mp4 -map 0:0 -map 0:2 -acodec copy -vcodec copy new_file.mp4 ffmpeg seems to reencode the ...
0
votes
2answers
43 views

Concatenating in sync MP4 (H264+PCM instead of AAC) from a Sony 2018 Camera

I downloaded these files (at max resolution 4K, that is important), in this order: https://vimeo.com/195782736 https://vimeo.com/196725716 https://vimeo.com/195776765 https://vimeo.com/196651176 ...
0
votes
1answer
15 views

What is the difference between VP9 and ​WebM?

The ffmpeg manual states that: libvpx-vp9 is the VP9 video encoder for ​WebM, an open, royalty-free media file format. What is the difference between the VP9 and WebM?
0
votes
1answer
11 views

What is the CRF range for VP9 conversion using ffmpeg?

My Problem I am converting a .mov (h264) file to VP9 / WebM using ffmpeg, and I don't know what the CRF numbers mean. What Have I Tried I have read this ffmpeg manual about 2-pass conversion, which ...
0
votes
0answers
25 views

h264 Video && G711A with FFMPEG

I'm currently trying to convert an audio and video stream to something visible inside a player such as VLC. I get the video through TCP (I separate protocol headers from the manufacturer) and I have ...
0
votes
1answer
46 views

ffmpeg side by side video

Im trying to get two 1080p videos side by side, Wanting the two scaled to 720p and combined both as 1080p ive tried using the below code . it works fine when using the lower resolution but when i ...
0
votes
0answers
20 views

Blurring based on colour (to help compression)

I am taking video of rowers on a river and stabilise the video afterwards using ffmpeg. Similar to Video compression- how to prioritize one area over another? I'd like to optimise the compression. The ...
0
votes
0answers
25 views

Reencode MKV (from DVD - Mpeg2) to h264

I have some old DVD that I already converted using MakeMKV, they seems to have the original mpeg stream, so I want to do this: Reencode the video stream to the more recommended settings for old-DVD ...
0
votes
0answers
13 views

Receiving libx264 feed and viewing it through guvcview using v4l2

I am attempting to set up a low-cost home security system. At one end of my house I have a Raspberry Pi connected to a Logitech C920 webcam running the following command: ffmpeg -re -i /dev/video0 -...
0
votes
1answer
22 views

FFMPEG - Creating script to convert a video into audio file (or anything related really) + diverses questions

Good day everyone. Im making my babysteps into ffmpeg, and so far this tool has been really helpfull. Anyway. Im currently using this line as a convertion basis : ffmpeg -i name.mov -c:v libx264 ...
0
votes
0answers
13 views

How drop still frames with timestamp ffmpeg

I have a ffmpeg command that allows me to drop duplicate frames and speed up the video and works well. I use it with hundreds of video recordings from a surveillance ip camera that does not have ...
0
votes
1answer
26 views

Call FFmpeg filter from source code

I'm trying to find out how to call a FFmpeg filter (freezedetect) from within FFmpeg's source code. I see the filter's file is under libavfilter/vf_freezedetect.c, but I don't know how to use that ...
0
votes
0answers
20 views

ffmpeg: VAAPI can't do nearest neighbor scaling?

I've been using ffmpeg on my laptop for some time and I could have sworn that scale_vaapi had an option to set the flags to nearest neighbor. I need nearest neighbor scaling because I'm converting low-...
0
votes
1answer
29 views

Difference between duration_ts and duration in ffprobe output?

I am relatively a beginer in ffmpeg and video production and was trying to extrat duration of a video using ffprobe using the following command ffprobe -loglevel error -select_streams v -show_entries ...
0
votes
1answer
28 views

Merge Video with aspect ratio in FFMPEG

I am confused how to do this thing with no-crop in android with ffmpeg, Video details video 1 size - 700*400(width*height) duration - 5 second video 2 size - 400*600(...
0
votes
0answers
21 views

FFmpeg loop filter doesn't work

This is a follow-up from my previous question here. Basically, I'm trying to use FFmpeg's loop filter to freeze some frames and insert black frames. It's very weird; I swear it was working a few days ...
1
vote
0answers
35 views

MP4 Video created with ffmpeg C++ api does not show in OSX

I am writing a MP4 video from scratch using the C++ API (libav* 4.1.1). This video can be played back just fine using ffplay or VLC. But the Finder Preview and the Quicktime Player on OSX (10.13 and ...
1
vote
1answer
27 views

Combining two video fields into one (to create an interlaced video)

I have two separate video fields (top.avi and bottom.avi) and I would like to merge them to create an interlaced video. Is it possible to do this with ffmpeg? (or any other tool for Windows or Linux) ...
0
votes
0answers
19 views

Problem with audio sync when concatenating multiple mp4(s)

I am trying to concatenate up to 4 (appx. 800MB) mp4/mkv videos at a time, losslessly, and preferably with little or no re-encoding. All have similar, but not identical, properties. The issue I am ...
0
votes
1answer
32 views

use ffmpeg to convert interleaved raw yuv/pcm to compressed

I'm always impressed how smart FFmpeg has been designed so giving this a go. Can I use FFmpeg to convert part of a file to a compressed video file w/audio? The file I have consists of YUV420 frames ...
0
votes
1answer
31 views

understanding an FFmpeg command (blurring a video)

I searched for a FFmpeg command to blur part of a video, and found the following: ffmpeg -i short.mp4 -filter_complex "[0:v]split=2[v0][v1]; [v0]crop=200:200:60:30,boxblur=10[fg]; ...
1
vote
1answer
15 views

Encoding: Insert keyframes at certain positions

I am trying to improve the perceived quality of certain predefined frames (like the frames 45, 99, 154, ...). Reason is, that the video is interactive and pauses at these keyframes until the user ...
0
votes
2answers
32 views

How to add correctly ssa/ass subtitles to video with ffmpeg or VLC

I want to add ssa subtitles to video. I've tried with VLC. If I play the video and add subtitles file VLC shows correctly the ssa subtitles but if I convert/save the same video adding the subtitles ...
0
votes
1answer
27 views

FFmpeg No such filter error

I'm trying to use FFmpeg to create a new video with some frames repeated and black frames inserted inside. Here is my command: #! /bin/sh fn="Drifting with Cars.mp4" # ffmpeg -y -i "${fn}" -ss 00:00:...
0
votes
1answer
31 views

How to convert a sequence of images to a video with different number of digits in the names?

I'd like to turn a sequence of images into a video using FFMPEG. They are numbered but with different "digits". Eg: a0001.jpg a0002.jpg a0003.jpg . . . a654321.jpg a654322.jpg a654323.jpg ...
0
votes
1answer
27 views

How to record system sound without video?

I installed Soundflower with brew cask install soundflower and I see it listed: $ ffmpeg -f avfoundation -list_devices true -i "" [AVFoundation input device @ 0x7f9a32515e80] AVFoundation video ...
0
votes
0answers
12 views

FFMPEG: Prepend MPAA rating to a movie trailer

I have a number of movie trailers from various sources: Web, youtube, DVD and Blu-Ray disks and I would like to prepend the MPAA rating to the beginning of each. What I have: Movie trailers that ...
0
votes
0answers
15 views

FFmpeg with OpenCL support - Ubuntu 18.04

Recently I asked about GPU acceleration in FFmpeg using AMD Radeon (AMD support for ffmpeg? Can't get my dedicated GPU to work). After many tests I see that fighting with this topic is hard, ...
0
votes
0answers
37 views

AMD support for ffmpeg? Can't get my dedicated GPU to work

I'd like to ask for your advice. Recently I got refurbished Dell Latitude E6540 with two GPUs: integrated Intel HD Graphics 4600 and external AMD Radeon HD 8790M: 00:02.0 VGA compatible controller: ...
0
votes
0answers
37 views

How to fix interlaced mpeg2 video marked as progressive?

Is there a way to use ffmpeg (or anything else that can be used in linux) to fix an interlaced video marked as progressive, and mark it as interlaced so that I can get rid of bad interlaced frames? ...
0
votes
0answers
8 views

Using FFmpeg to pick video frames in R-studio

I have a machine learning project to track a moving object (little beyond my expertise at the moment as I am a student) and I have been trying to figure out how to do the two tasks below using R-...
0
votes
0answers
23 views

How to lower number of parameters passed to ffmpeg

I am processing video with ffmpeg. I am trying to add image overlays at certain times. I have command something like this: ffmpeg -i video.mp4 -i img_a.png -i img_xx.png -i some_third_image.png -i ...
1
vote
0answers
21 views

Ffmpeg recording with gdigrab will drop frame

I write a code to use gdigrab to capture screen and use dshow to capture audio. But no matter how I set the frame rate to gdigrab, the acquisition frame rate is 10 frames. I thought maybe my ...
0
votes
1answer
25 views

Black/silent video with specific duration with ffmpeg

I'm trying to generate video files that follow a "prototype" file as much as possible (frame rate, dimensions, container format, codecs, etc.) but show a black screen with silent audio. Here's one ...
0
votes
0answers
12 views

Use ffmpeg to switch between 2 rtmp inputs having different profiles

I've got an nginx rtmp setup on the cloud, which I use as a "distributor" that takes a single rtmp input and splits it out to multiple rtmps such as Facebook and Youtube. There are ffmpeg processes ...
0
votes
0answers
25 views

FFmpeg: apply audio/video fade-in on the first TS chunk, then “cat” all chunks produces a frame loss

this is my first post (on video.stackexchange.com). I need some explanation regarding to re-encoding a single .ts chunk and then use cat command. I'll explain my scenario. I've a lot of .ts chunks ...