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.

1
vote
0answers
6 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
9 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
9 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
24 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
27 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
25 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
33 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
23 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
28 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
20 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
31 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
40 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
64 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
18 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
19 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
16 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
27 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
51 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
14 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
19 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
19 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 /...
-2
votes
0answers
56 views

When I combine two video using ffmpeg with C# then Duration is greater then addition of both video's duration? [closed]

I have two file one has video length is 00:02:18 and second videos duration is 00:01:25 then I combined both video using ffmpeg command in c# then after combine video's length should be 00:03:43 but ...
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
58 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
33 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
326 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
73 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
107 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
21 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
34 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
21 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
20 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 ...
0
votes
1answer
15 views

Trying to clean up (fix) vob file time code in order to point FFMPEG to in and out points

Background: 15 years ago I created a DVD with a Ulead video editing software. Unfortunately, I have lost the original footage files, so as I now like to extract some clips from the videos, I have to ...
0
votes
1answer
27 views

Not accept key file video streaming

I want to stream video securely and I am using ubuntu console1 /home/ajithmsm/ffmpeg -stream_loop -1 -i out.mp4 -vcodec copy -f mpegts tls://127.0.0.1:2222?listen'&'cert=domain.crt'&'key=...
2
votes
1answer
45 views

List specific files from a directory

I can't list a specific files of a directory passed as argument to a batch file. The problem I am facing is that the pipe "|" character is not recognized, I used it to circumvent the dir command ...
0
votes
1answer
59 views

How to convert mp3 to wav without losing metadata?

How can I convert an mp3 file to wav without losing metadata with ffmpeg? This happens whether I convert from mp3 or if I'm re-encoding a wav file, it doesn't make a difference. I tried adding -...
0
votes
0answers
36 views

Can ffmpeg support creating DASH “availabilityStartTime” with milliseconds?

I'm currently trying to use FFMpeg to capture my webcam , output it to dash and stream it live. I noticed that the "availabilityStartTime" parameter created in the MPD file is without the milliseconds ...
0
votes
1answer
82 views

Most efficient way to re encode H.264 10-Bit to High profile or HEVC 10-Bit

For an odd reason my OLED TV can play HEVC 10-Bit files but only H.264 non-10-Bit. This output (video stream) from ffmpeg is played fine with HEVC 10-Bit: Stream #0:0: Video: hevc (Main 10), ...
0
votes
0answers
19 views

FFMPEG issue — "[NULL @ 0x7fa48980e200] Unable to find a suitable output format — converting .m4a to .mp3

I am trying to convert a folder full of music to .mp3 -- see code: #! /bin/bash for i in *.m4a ; do /users/.../itunesmedia/music/ffmpeg -i "$i" -acodec libmp3lame $(basename “${i%.m4a}”)....