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.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

ffmpeg split and concat flac audio file generates error "Application provided invalid, non monotonically increasing dts to muxer in stream 0"

I'm using ffmpeg to cut slices from a flac audio file then concatenate them together. I'm able to do this and the output file plays in VLC media player and appears to have the correct duration; ...
0
votes
0answers
7 views

Live stream of a website

I need to live stream a website that contains image, video and audio to Twitch.tv. Researching a solution brought me to this Github example that runs on Heroku.com. Dockerfile: FROM jrottenberg/ffmpeg:...
0
votes
1answer
16 views

FFmpeg Optimized File Size Video Loop

I am attempting to create a video loop by merging a 15 second video with about 4 minutes of audio. After finding a similar question, I found a command that loops the input video for the length of the ...
0
votes
1answer
15 views

How to ffmpeg encode a video with audio properly synced in Adobe Premiere and Resolve?

I'm trying to use ffmpeg to encode a series of rendered images with a soundtrack. When we import that video into Premiere the audio seems to be 1/2 frame early. When we import that same video in ...
0
votes
0answers
15 views

Multiple inputs to MJPEG mux

I'm trying to encode 2 inputs form 2 different decklink cards and create a output encoded in mjpeg with 2 video index's to open in VLC. To be able to change from one video to another. I'm using ffmpeg ...
0
votes
0answers
20 views

Recovering an MP4 file - making an MP4 container with no audio from an HEVC file using ffmpeg

My SanDisk micro SD card with some GoPro Hero 8 HEVC footage had to be formatted, but the video files (MP4) were recovered using a tool called RescuePro Deluxe. But these recovered files couldn't be ...
0
votes
0answers
7 views

Applying colorkey twice in FFMpeg

I have a video with green screen. Unfortunately there is a shadow on the green screen. Increasing the tolerance got side effects. Thus I thought of the obvious, just apply colorkey twice. I tried this,...
2
votes
1answer
23 views

Combining multiple commands to render out different formats, while also resyncing the original file, and not have to render that one out first

After recording a live show, there are several tasks I need to do before I can render out the video file to different formats. I need to trim the file, and then resync the audio as well. After this I ...
0
votes
0answers
10 views

ffmpeg x265 zero motion estimation

I want to use x265 on a zero motion estimation setting, but there's no direct such setting in the params as other codecs. How should I do it correctly using x265? The closest setting I can think of is ...
0
votes
0answers
30 views

How to combine FFMPEG filter and filter complex

i'm new to FFMPEG and i'm trying to combine some filters First i use this command for cropping the video -i input.mp4 -filter:v \"crop=in_w:in_h-380\" output1.mp4" then i use this ...
0
votes
0answers
14 views

Mixdown Audtio with FFMPEG

I want to process MKV files by mixing down the audio to 128kbps AAC on 2 channels while just copying video and subtitle tracks. So I run: ffmpeg -i input.mkv -c:s copy -c:v copy -c:a aac -ab 128k -ac ...
0
votes
0answers
12 views

Turbulent displace effect on every 8th frame using FFmpeg

I'm trying to apply a turbulent displacement effect that changes distortion every 8th frame in a 24 fps video. If this article is accurate, turbulent displacement is created by using a displace and ...
0
votes
0answers
14 views

What is a good way to upscale 3D images without comprising the aspect ratio?

What is a good method for upscaling 3D videos and images in video editing programs such as Adobe Premire and Power Director or frontends like FFMPEG and AViSynth? The method that I mostly used to me ...
0
votes
0answers
33 views

ffmpeg video command still with black screen

I am using a screen capture component in delphi that I will use in my program, by enabling the recording option with the command ffmpegLGPL.exe -re -i% PIPE% -c: v h264 -threads 8 -profile: v baseline ...
0
votes
0answers
28 views

How can I configure ffmpeg to add black bars instead of stretching when input aspect ratio doesn't match

I'm trying to add a 16:9 intro to videos for my site using ffmpeg. So far I have the following filter which I found here: ffmpeg -i intro.mp4 -i input.mp4 -filter_complex "[0][1]scale2ref=iw:ih[...
0
votes
1answer
27 views

ffmpeg frame rate

I have several images and I am reproducing them in 78.7ms, I am creating like the 80s video effect. But, I am unable to find the correct ms, and those images with the original videos are unsynced. I ...
0
votes
0answers
12 views

How to create init.mp4 with headers only with ffmpeg hls muxer?

I'm trying to implement an utility to capture live stream from an IP-camera to disk in HLS structure. I would prefer fmp4 over ts. To play stream from archive, the utility would regenerate m3u8 for ...
0
votes
0answers
68 views

How to obtain the correct framerate with ffmpeg image2pipe format?

I have 40 .jpg in my dir folder and want to create a video at 20fps from them. I've tried the following command: find dir/ -iname '*.jpg' | xargs cat | ffmpeg -f image2pipe -framerate 20 -i - -s ...
0
votes
0answers
24 views

How does the bitrate option affect 2-pass h264 encoding?

I am trying to understand how 2-pass (h264) encoding works in more detail than "first pass analyzes, second pass encodes". Most tutorials I found online use the -b:v option on the first and ...
0
votes
0answers
18 views

Python opencv subprocess write return broken pipe

I want to read an rtsp video source, add overlay text and push it to the RTMP endpoint.I am using Videocapture to read the video source and python subprocess to write the frames back to RTMP endpoint. ...
0
votes
0answers
54 views

How do I make ffmpeg create video that retains transparent background from *.png images with transparent background?

I am a researcher, trying to string together a bunch of png files of a protein to a short video. I have all the png images with transparent backgrounds, but I can't seem to get this in the video. I ...
0
votes
1answer
30 views

ffmpeg to cut subtitle file in sync with the cut video

I managed to cut the video and keep subtitle in sync by embedding the subtitles in the video: $ ffmpeg -i sample-mp4-file.mp4 -hide_banner \ -vf subtitles=subtitles.srt -ss 0:30:00 -t 1:33:31 \ ...
0
votes
1answer
24 views

How do you trim videos in FFMPEG?

I am tried to trim my videos in Virtualdub but I also wanted to make a stream copy of the same video that I am trimming. Unfortunately, Virtualdub does not always give me the results I want as it ...
0
votes
0answers
25 views

Decode Multi-Layer HEVC

I'm trying to decode an HEVC/H.265+ rtsp stream to an image using ffmpeg as follows: ffmpeg -rtsp_transport tcp -stimeout 10000000 -i 'rtsp://user:passwd@url:port/Streaming/tracks/101?starttime=...
0
votes
0answers
11 views

ffmpeg get Thread message queue blocking after hours

I'm using ffmpeg to record Xvfb and pulse audio. After 1h 30mins, it stopped and show this error [pulse @ 0x3406240] Thread message queue blocking; consider raising the thread_queue_size option (...
0
votes
0answers
20 views

Video/audio unsynced after transcoding live rtmp video translation

Currently, I'm trying to create a live streaming service for internal purposes of my company; The scenario of work is pretty simple: We are receiving the RTMP stream from the user(over the internet) ...
0
votes
0answers
23 views

Removal of select subtitle tracks and audio tracks from mkv file in batch

My problem is that I have 2 subtitle tracks, one is named "English signs and songs" and another is called "English full". I also have English and Japanese audio tracks (dual audio)....
0
votes
1answer
22 views

ffmpeg libx264rgb error

When i was using ffmpeg i use libx264rgb to convert videos. But when I converted a video there was a error. I will put you a video so that you can see what happened. Original: https://archive.org/...
0
votes
0answers
20 views

ffmpeg stable for only few minute then start eating memory and cpu

I'm trying to record a website to video at 1080p. Here are my steps I started a Xvfb screen at 1920x1080 and run chrome in it. I went to an Youtube video. Start ffmpeg to record this screen I ...
0
votes
0answers
65 views

How to force ffmpeg download live m3u8 from the first available segment?

When I use ffmpeg straight forward like this: ffmpeg -i 'playlist.m3u8' -c copy out.mp4 it searches for current segment (or maybe the last one) and drops all previous. I know that live playlist is a ...
1
vote
1answer
39 views

Using ffmpeg to strip image based subtitles

Is it possible to remove only image based subtitles using ffmpeg? I know that you can manually select/exclude streams using -map, however I'm trying to automate this process, and the input files have ...
0
votes
0answers
17 views

How to record two windows at once using ffmpeg?

I'm currently using this code: ffmpeg -f gdigrab -framerate 30 -i title="Chrome" -b:v 3M output.flv To capture a specific window title. Would like to ask how I could also capture a second ...
0
votes
0answers
10 views

FFMPEG Audio Stream lengths

Ill make this as quick as possible. I recorded with obs, used ffmpeg to convert from .mkv to .mp4 with 3 audio tracks in .aac Command: @echo off & setlocal enabledelayedexpansion for %%v in ("...
0
votes
0answers
79 views

ffmpeg: copy an audio track and convert another in the same video file

After trying to find a solution for this for about two hours now I have to ask here or I'm going mad. I have a video with these tracks: Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), ...
0
votes
1answer
46 views

Overlay transparent image (png) over video (mp4) with ffpmeg?

We would like to overlay an image throughout the whole video file we have. We no longer have access to the original source, so need to modify the video we have. The current video is in MP4 format. The ...
0
votes
1answer
46 views

ffmpeg and ffprobe existing library or an add-on, pros/cons of building one myself

I work with video creation, animation, or fix video elements for several broadcasters in my area. My pipeline includes ffmpeg suite of libraries, and I have written one plugin specifically for ffmpeg ...
0
votes
0answers
13 views

ffmpeg aborts streaming to SRT when client stops playing

I'm using ffmpeg to stream using the SRT protocol, with for example this command: ffmpeg -re -f lavfi -i testsrc \ -c:v libx264 -g 25 -preset veryfast -tune zerolatency -r 25 \ -f mpegts "srt:...
0
votes
1answer
26 views

Put two or more images on video

According this I try to put two pictures on video ffmpeg -i video.mp4 -i photo01.jpg -i photo02.jpg -filter_complex "[0:v][1:v] overlay=25:25:enable='between(t,10,20)';[0:v][2:v] overlay=25:25:...
0
votes
0answers
25 views

How can I trim an MKV video of incorrect length without re-encoding or losing any of its tracks?

I have a handful of MKV videos which claim to be a few seconds longer than they actually are. When played in VLC, they simply stop abruptly when they get to the actual end of the video. This would be ...
0
votes
1answer
38 views

Bulk re-muxing/re-encoding with ffmpeg in multiple folders

I'm quite new to the world of FFmpeg and video editing tools, but I essentially need to change the hash of a large set of videos that are organized in folders and subfolders and the easiest way I've ...
0
votes
0answers
16 views

Image becomes transparent on downscaling with ffmpeg

This is the original image of 200x200 On downscaling the image to 100x100. There is a semi transparent shadow near the lines and some pixels are not completely opaque. The command used for scaling: ...
0
votes
0answers
16 views

How to mux (or reencode) files from lossless avi to mp4 or mkv using the current FFMPEG?

Exactly what it says on the title, how do you mux avi files that utilize lossless codecs such as Lagarith, Huffyuy, FFV1, etc. to mp4 using FFMPEG? Or do you need to reencode the files as opposed to ...
0
votes
0answers
11 views

Virtualdub deshaker filter text output?

As deshaker filter can't manage 360 videos, I am trying to create my own video stabilizer for my 360 videos, following a suggestion I read around: analyze a small area of the whole equirectangular ...
0
votes
0answers
34 views

ffmpeg -c copy vs -copyts vs -copytb etc & similar options? What's the overlap, differences, significances, pros cons, how, why & when TO/ NOT TO use?

ffmpeg -c copy vs -copyts vs -copytb etc & similar options? What's the overlap, differences, significances, pros cons, how, why & when TO or NOT TO use? ---------------------------- I am new ...
0
votes
0answers
13 views

Adobe Premiere Pro exported size and processing time don't look right

I'm fairly noob in video editing and Adobe Premiere, so I'm hoping this is happening because I don't know what I'm doing. The problem is that the exported file is 7x bigger than the input file, when ...
0
votes
1answer
37 views

ffmpeg best parameteres for fastest compression on FullHD mp4?

I need to compress a bunch of FullHD(1920x1080, 3Gb, mp4) videos, each ~2 hrs long. Some loss of quality is okay as is the lower resolution. I'm shooting for a 500Mb output video in ~10 min processing ...
1
vote
1answer
34 views

FFMPEG Extract Front Centre Channel as an audio track

I have an MKV video file with 5.1 channel audio. I want to use the third channel (FC) as AAC Audio Track 1 (with language label Malayalam), the whole audio file copied as Audio Track 2 (also with ...
0
votes
0answers
10 views

List of arguments for QSV enabled ffmpeg filters such as vp_qsv?

I have a PC running Windows which is QSV capable. I've found the codec and at least one QSV filter which really speed up decoding and encoding AVC (x264) videos. But the experience is extremely ...
0
votes
0answers
16 views

ffmpeg - sweeping opacity

I have two videos of 1 minute each one. I would like to start the second video at the 50 seconds of the first one. Then I would like to decrease the opacity of the first video from 100% to 0 in the 50-...
0
votes
1answer
53 views

Join video-file m4v and audio file m4a. to make a mp4?

What is best way, to join a Video-Only file, .m4v with m4a audio file, and output as mp4 Want to join them, without losing original quality, both file have same time length. any good software.etc?

1
2 3 4 5
37