Stack Exchange Network

Stack Exchange network consists of 174 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]

Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated. For help with CLI use only of ff* binaries - ffmpeg, ffprobe, ffplay, ffserver. For help with API usage, post on Stack Overflow.

0
votes
0answers
7 views

How to join several mp4 files with multiple audio streams?

I have several (2+) mp4 files. Each of them has multiple audio streams (different languages). I want to join them all in one single MP4 file and to keep all audio streams. How can I do this? Which ...
0
votes
0answers
11 views

ffmpeg how to capture lower resolution video from a multi resolution stream resource [duplicate]

Guys, I used to capture a live video stream from a website. Recently this website updated their video to 4K available, thus there would be 4k, 2k, 1080p and 720p video stream to choice. While I use ...
0
votes
1answer
16 views

How To disable specific decoders/demuxers in VLC

I am looking to have playlists of mixed media(GIF, MP4, etc) for an artistic showcase of different animations from several collaborators and VLC is the clear first choice since it supports ordered ...
0
votes
0answers
13 views

FFMPEG - Problems mixing multiple audios until one hour has elapsed. AMIX and ADELAY

I use ffmpeg to mix audios. I need my final file to last one hour, so I create a while in PHP that will increment the incoming audio. In the end I have a huge command, I execute the same in the ...
0
votes
0answers
22 views

ffmpeg image sequence slideshow with fade - missing images?

This is using ffmpeg version 3.4.4-0ubuntu0.18.04.1 on Ubuntu 18.04. I'd like to achieve the same as in Create video with 5 images with fadeIn/out effect in ffmpeg (mostly "Dip to black", although ...
0
votes
0answers
21 views

FFMPEG: How to convert 24 bpp MP4 to 16 bpp AVI that has rgb565le format?

SUMMARY: I'm trying to figure out (get an example, I guess) how to use the scaler src_format/dst_format tags to convert to a specific 16 bpp RGB format for a target device. I'm dealing with some ...
1
vote
0answers
23 views

How to record the sound playing in headset using ffmpeg

I'm trying to record screen and input/output audio on a headset but its recording only audio from headset microphone. How can I record the sound I'm hearing through headset ffmpeg -y -f gdigrab -...
0
votes
1answer
28 views

No such filter: ' ' in ffmpeg

I am trying to splice together a series of images and videos with an audio overlay. This worked before, but after I added some more tracks and increased the audio volume of the voice tracks, ffmpeg ...
1
vote
1answer
13 views

FFmpeg streaming multiple audio tracks to icecast

I want to stream multiple audio tracks to Icecast. Input is FLAC stream from the same server and outputs have different bitrates. The problem is that the first streams work if I remove 3 last streams. ...
0
votes
0answers
17 views

FFmpeg: Documented method of changing frame rate not working

According to the FFmpeg documentation over here, I can change frame rate of a video using: ffmpeg -i input.mkv -c:v copy -vsync drop -r 59.94 output.mkv but all I am getting is an ...
0
votes
0answers
11 views

(FFMPEG) How I can be batch render videos with one image + videos

I have about 30 videos in one folder. I want to add a picture to videos but it must be full scale image and it should be viewing from beginning to end of video. How I can do that? Thank you..
1
vote
0answers
35 views

Send cookie with ffmpeg input

I currently have a cookie.txt file that looks like this. # Netscape HTTP Cookie File # http://curl.haxx.se/rfc/cookie_spec.html # This is a generated file! Do not edit. .youtube.com TRUE / ...
2
votes
1answer
29 views

ffmpeg -ss: issue with a flac uncompressed

I have my music library in FLAC Uncompressed, and I have an issue with at least one file, when using it with FFmpeg -ss option. If I convert it to FLAC level 0 it works fine. When using FFmpeg -ss ...
0
votes
0answers
37 views

How to record sound playing in headset using ffmpeg

I'm trying to record screen and input/output audio on a headset but its recording only audio from headset microphone. How can I record the sound I'm hearing through headset ffmpeg -y -f gdigrab -...
1
vote
0answers
40 views

Unable To Transcode 8 Sources In One Instance Real Time (FFmpeg)

Just the other day I posted about my inability to transcode a multitrack video real time, -rc-lookahead ended up being the solution. However this was when recording fairly static signals, when each ...
0
votes
1answer
20 views

Variable framerate lossless video from yuv422 images

I've been pulling my hair lately with FFmpeg commandline. Be aware that I am not an FFmpeg expert. Here is my problem: I have a bunch of YUV422 images as such: image0.yuv image1.yuv .. image450.yuv ...
0
votes
0answers
24 views

ffmpeg 4.1 not setting i-frame/keyframe on start of segment

I'm trying to build a few automation scripts to transcode videos using ffmpeg and I'm the keyframes end up in the wrong places when the format is set to HLS. This happens with different sources (one ...
0
votes
1answer
32 views

FFmpeg: read an input link from a text file directly (without extra tools and pipes)

There is the text file - link.txt. That file contains the following link to the video: $ cat link.txt https://www.quirksmode.org/html5/videos/big_buck_bunny.mp4 I can transcode the video from that ...
0
votes
0answers
22 views

Edit MP4 Hex data to vertically or horizontally flip video in a lossless manner

I am trying to do something similar to the questions here and here, but with a small difference. I am trying to flip the video along the Y or X axes instead of doing a rotation. The solution in those ...
1
vote
1answer
33 views

Previewing half-converted video file

Let's say I start an FFmpeg job that takes hours and hours: $ ffmpeg -i large.mp4 out.mp4 Is there any way I can preview the finished part of out.mp4 while the rest is yet to be encoded? Trying ...
0
votes
1answer
41 views

Flac to mp3 conversion offsets sound by a few ms

When running this simple conversion command: ffmpeg -i fileA.flac fileB.mp3 , the mp3 output is offset by about 5 ms. This does not happen if I try to convert to Vorbis/Ogg (i.e ffmpeg -i fileA.flac ...
0
votes
1answer
80 views

Can ffmpeg detect the best settings for a given input file?

I have a view Videos (flv,rm,avi) an I like to convert them to mp4. But I like to have the smallest File-Size with the "same visual quality" Is there a "automatic" that can convert the Videos and ...
0
votes
0answers
20 views

How to encode a 24/1.001fps MPEG-2 VOB?

I've seen commercial DVDs that successfully encode ~24fps video without requiring the use of pulldown patterns. In addition to that, I've seen commercial DVDs that mange to mix 24p and 60i parts to ...
0
votes
0answers
6 views

Redirect RTMP connections from one server to another

I'm setting up a server for loading balancer between servers (Transcoders). I have many transcoding servers and i want balance between those servres by php algorithm to selecte witch server respond to ...
0
votes
0answers
21 views

How to get a stream with ffmpeg through a specific eth(interface)

I have a server with 2 interfaces, eth0 and eth1. eth0 -> conected to Managment Switch eth1 -> conectated to Video Switch I would like to get a multicast with ffmpeg through eth1. Is there some ...
0
votes
1answer
51 views

Rotate Jpeg in FFMPEG with transparent color

I am trying to rotate an image and try to render it to MP4. But Output video is render with roted image with green background around it. My requirement is I need to changed green background to ...
0
votes
2answers
38 views

Fastest way to concatenate list of audio files of different format?

ffmpeg -i a.mp3 -i b.wav -i c.mp3 -i d.aac -i e.mp3 -i f.mp3 -filter_complex concat=n=4:v=0:a=1[a] -map [a] -codec:a libmp3lame -b:a 256k vout.mp3 This is the command I'm using currently to ...
2
votes
1answer
29 views

Multitrack Video Does Not Transcode Real Time

Recently this Github page, dedicated to bypassing Nvidia's encode limit, added windows support: https://github.com/keylase/nvidia-patch/tree/master/win Up until now I've been encoding my 5 live ...
0
votes
0answers
18 views

How to rollback ffmpeg version to desired version? Is rollback needed in this scenario?

This is a ubuntu 16.04 running on armhf board. I use ffmpeg for recording video from webcam. The process kind of works best in a version of the ffmpeg. I want to install/rollback to the particular ...
0
votes
0answers
34 views

invalid ue golomb code FFmpeg CentOS 7

I use this commaned ffmpeg -re -i http://king-ott.com:80/live/919363102552/VtnayAcZgEJbXZe/17290.ts -c:v libx264 -c:a libmp3lame -ar 44100 -ac 1 -f flv rtmp://myvpsip/live/hd.m3u8 but it show "invalid ...
0
votes
0answers
26 views

Can't write metadata when input contains container

I don't understand this. For the first command the metadata (handler, language) is stored correctly. The second keeps the metadata from temp.mkv. What am I doing wrong? Works: ffmpeg^ -i video....
1
vote
1answer
52 views

Video resolution when capturing a full-screen recording via ffmpeg on Mac OS X

I have a 15-inch 2017 MacBook Pro running Mac OS X 10.13 (High Sierra): The default display supports screen resolutions up to 2880x1800, despite the maximum resolution selectable via the standard UI ...
0
votes
0answers
33 views

How to not include the Pause duration in the FFMPEG recording timeline

I'm trying to pause a screencast made with ffmpeg under Linux, giving the command: kill -s SIGSTOP <PID> resuming then it with the command: kill -s SIGCONT <PID> to finally interrupt ...
0
votes
1answer
15 views

Add part of audio with loop to video using ffmpeg

I have a video 5 min 30 seconds long and an audio 4 mins 30 seconds long I want to add part of audio(part of audio from 1 min 25 sec to 1 min 47 sec) to video(part of video from 2 min 30 sec to 3 min ...
1
vote
1answer
33 views

create a looped audio of a certain part of audio using ffmpeg

How can we create a looped audio with ffmpeg from an audio file the command used for a looped audio is ffmpeg -lavfi "amovie=audio.wav:loop=3" out.wav but this creates a looped file of the whole ...
0
votes
1answer
20 views

2.1 downmix with libfdk_aac using ffmpeg

I have several input media files I'd like to process. The input audio stream of each file is encoded in ac-3 with a 5.1 channel layout (back or side) at 384kbps. The objective is for the target media ...
0
votes
0answers
20 views

ffmpeg loop audio over rtmp stream

How can I loop audio.mp3 as background audio of an rtmp stream? I'm can stream a webcam (just video) to rtmp with like this... ffmpeg -f v4l2 -codec:v h264 -framerate 24 -video_size 1920x1080 -i /...
0
votes
1answer
22 views

Convert file and copy LastWriteTime from source file

I would like to convert videos and set time on them to be same as from source file. I use batch for converting files in folder with ffmpeg for %%a in ("*.MP4") do ffmpeg -i "%%a" -c:v libx264 -c:a ...
0
votes
2answers
33 views

Does the FFMPEG output depend on the machine?

I created a slideshow on my laptop with the command of ffmpeg LOOPS -i "AUDIO_FLAC" -filter_complex "TRANSITION MAP concat=n=30:v=1:a=0[v]" -map "[v]" -map 30:a -shortest -q:v 1 -q:a 1 output.mp4 ...
0
votes
1answer
59 views

Add audio stream to file with ffmpeg, keeping existing streams

New audio stream gets corrupted and does not play at some parts. ffmpeg -i "file1.mkv" -i "file2.dts" -map 0:v -map 0:a -map 1:a -map 0:s -c:v copy -c:a copy -c:s copy -metadata:s:a:1 language=eng "...
1
vote
1answer
35 views

FFmpeg: convert an image's raw binary data to audio format (for databending purposes)

This article describes how one can mess with an image by converting its raw binary representation to audio PCM and applying audio effects to it, before converting back. The method it recommends is to ...
0
votes
1answer
327 views

FFmpeg deinterlacing filter yadif_cuda not available?

FFmpeg reports "No such filter: 'yadif_cuda" for both the release build and the static build. FFmpeg Documentation has no stipulations. $ ffmpeg -loglevel debug -ss 01:16:20 -i Hi8_02.dv -t 10 -vf "...
0
votes
1answer
83 views

Error when installing ffmpeg-binaries using npm

I needed ffmpeg-binaries for playing a audio file thru a voice channel with my discord bot but npm just returns an error. Error message: C:\Users\malte>npm install ffmpeg-binaries --save > ...
1
vote
1answer
109 views

FFMPEG Re-encode video after concatenation with complex filters

I have a bash script for FFMPEG which accepts two inputs Awoo.mkv and Awoo1.mkv. ./ffmpeg -y \ -i Awoo.mkv \ -i Awoo2.mkv \ These two files are concatenated using a complex filter, this is ...
0
votes
1answer
25 views

How to decode G723.1 wav files?

Telephone networks often use wav G723.1 encoded wav files, I can't find a codec anywhere that supports it and audacity/ffmpeg gets close but still doesn't sound right.
1
vote
0answers
35 views

ffmpeg concat removing sound of videos

I've used this code for merging three videos together with ffmpeg : ffmpeg -y -f concat -safe 0 -i list.txt -c copy done.mp4 the list.txt contains : file 'first.mp4' duration 2.5 file 'second.mp4' ...
0
votes
0answers
23 views

How to stream Windows desktop audio as RTSP/HTTP with ffmpeg?

I'd love to stream desktop audio so I could listen to it in AIMP Android app. The app understands "http" links and I could successfully stream it with VLC HTTP streaming, however I could not get ...
0
votes
0answers
21 views

How to copy not recognized streams on conversion with FFmpeg?

I am trying to compress some Videos using FFmpeg, that contain multiple streams, some of them not recognized by FFmpeg: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GX010686.MP4': Metadata: ...
1
vote
0answers
46 views

Animated thumbnails for a video using FFmpeg

I want to create an animated .gif file as a thumbnail for a video. I used this command line to grab 20 frames from a video: ffmpeg -i input.mkv -ss 00:05:14.435 -vframes 20 ./thumbs/out%02d.png ...
0
votes
1answer
18 views

Adding microphone audio to an existing video

I have a video file which has no audio, I wanted to add audio description using mic while the video is being played i.e. video is being played and I will do a voice over on it and that get saved a ...