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. For help with API usage, post on Stack Overflow.

Filter by
Sorted by
Tagged with
-1
votes
0answers
11 views

How to remove blending/ghosting in a video with progressive scan (not interlaced)?

I have a video in which the frames are blending or I don't know what else to call it, like Is it possible to get rid of this effect, and if so, how?
0
votes
1answer
22 views

Can you install FFmpeg using only command promt?

I was really just wondering if you could install FFmpeg using just command promt specifically. Also just adding windows paths using it as well. I tried adding it myself but it wouldn't run properly.
0
votes
0answers
18 views

Add transparent padding to a overlay concat process in ffmpeg

I'm trying to run a concatenate process, what I want to do is use a video, resize it, blur, use same video as an overlay with a transparent padding, so the area where the padding would be would ...
0
votes
1answer
32 views

ffmpeg batch command to take stereo wav input file and create an output file that consists of that same file twice in parallel

I have a bunch of stereo wav files and want to create new files from them where every output file contains the input stereo wav file as the first and - in parallel - also as the second audio stream, ...
0
votes
0answers
57 views

Extracting QuickTime mov_text subtitles with ffmpeg

I have a .mov file that has mov_text-formatted subtitle tracks that were created using the old (now deprecated) QuickTime 7 Pro's "Text Track" feature. This is what ffmpeg -i myfile.mov ...
-1
votes
0answers
21 views

FFMPEG PHP Issue on running multiple commands in a row

When executing multiple ffmpeg commands, the after-process does not always wait for the actual process to finish resulting in result code 1 (ffmpeg general error, such as invalid NAL units). For ...
0
votes
1answer
18 views

Convert AV1 container file to AV1 bitstream with ffmpeg

I want to extract AV1 bitstream from an AV1 container file(webm, mkv etc). For H264 files this command works: ffmpeg -i trial.mp4 -c:v copy new.h264 But when same is used for AV1 bitstream: ffmpeg -i ...
0
votes
0answers
11 views

Using FFMPEG as a hls server with transcoding, configuring

I am working on a small app that takes an rtmp feed with ffmpeg (not with nginx module)and transcodes it then I distribute it with a cdn. I'm struggling a little bit with the settings I need to make ...
0
votes
1answer
46 views

Fix/remux mp4 to get correct video length

I captured a roughly two hour MS Teams video session using vlc. No audio, that is fine. When I open the file in a video player, it erroneously reports a length of 36 minutes, however it keeps playing ...
0
votes
1answer
30 views

How to balance a video file's audio using FFmpeg

I have a video file with audio that is unbalanced - it's louder in one channel than the other. Is it possible to fix this using FFmpeg?
0
votes
0answers
10 views

ffmpeg - Wyzecam RTSP Mosaic - lagging

I'm trying to display 4 RTSP streams simultaneously. It works but with huge lag. That's my ffmpeg command: #!/bin/bash ffmpeg \ -i rtsp://f:a@10.10.20.206/live \ -i rtsp://f:a@10.10.20.207/live ...
0
votes
1answer
16 views

How to use FFplay Hstack with sound & subtitles on both Video's

Using a Batch file that plays 2 videos with Hstack using FFplay - I want to have subtitles on each video and have sound on 1 or the other or both simultaneous I have 2 way using FFplay as shown today. ...
0
votes
1answer
20 views

ffmpeg make fate --make: *** [fate-filter-fps-cfr] crc Error 1 - I haven't changed any code

ENV:Linux SZV1000266228 3.0.76-0.11-default #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) x86_64 x86_64 x86_64 GNU/Linux ffmpeg version N-104708-g8a18db3 Copyright (c) 2000-2021 the FFmpeg developers ...
0
votes
0answers
23 views

Extracting frames via ffmpeg changes colors

I've been trying to extract frames from some of the animations I created. I'm using ffmpeg to do so in the following way: ffmpeg -i file.mp4 %03d.png However, upon close examination, the colors from ...
0
votes
1answer
54 views

Find and replace from a different text document from each new line

I have some file conversion software that which works through cmd and doing something along the lines of: converter.exe input.wav -o output.wav --ffmpeg "-af volume=0.1" I'm trying to ...
0
votes
0answers
28 views

ffmpeg: Splitting and joining video

I like to use ffmpeg to split a video into separate chunks, to apply different filters to each of these chunks (mostly cropping and scaling) and in the end put all those chunks together again. ...
0
votes
1answer
63 views

Mp4 file that plays fine on Windows Quicktime but video frames not in order and out of sync with audio in VLC

Someone has sent me a video that I wish to embed into a presentation I'm building. However, it doesn't play back as the author intended either embedded or standalone. I suspect was encoded on a Mac, ...
0
votes
0answers
24 views

Combining two ffmpeg commands into one in android studio

I want to combine two ffmpeg commands into one. Command 1: Adding GIF and Scrolling Text to Video new String[]{"-ss", "0", "-t", "15", "-i", "...
0
votes
2answers
40 views

ffmpeg combine/concat multiple audio tracks into single audio

I've downloaded the chunks parts from a stream. Here is the manifest of the audio stream: #EXTM3U #EXT-X-VERSION:6 #EXT-X-TARGETDURATION:7 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PLAYLIST-TYPE:VOD ## Generated ...
0
votes
0answers
15 views

FFMPEG's seek can't convert decimal to sexagesimal accurately

ffmpeg i- "file.mp4" -ss 0.03334 should seek to the third frame 0.03334 * 60 = 2.0004 (first frame is 0, second frame is 1, third frame is 2...) but it's actually seeking to the second ...
0
votes
0answers
4 views

ffmpeg color correction algorithm [migrated]

I'm trying to sync CSS and ffmpeg color correction. The goal is to create tool that converts CSS bri-sat-con-gam filter values to corresponding ffmpeg vals and vice versa. e.g. -vf "eq=...
0
votes
1answer
16 views

Set a audio bitrate cap in ffmpeg

I want to set a maximum audio bitrate in my FFmpeg conversions, but it seems like the only option is to specify a constant one like -c:a libopus -b:a 128K It would allow FFmpeg to only compress audio ...
1
vote
2answers
75 views

A video of 1h27m duration, only plays up to 27m

Background I have recovered some large videos as explained here: Many smaller images/videos are recovered from a formatted drive, except one specific big video larger than 2 or 3 GB There are 3 videos ...
0
votes
1answer
66 views

FFMPEG: How to make the overlay loop till the end of the main video

I have this command line: ffmpeg -i Wildlife.wmv -vf "movie=overlay.mp4, scale=250: -1 [inner]; [in][inner] overlay =10: 10 [out]" completed.mp4 Which placed the overlay.mp4 at the top ...
0
votes
0answers
12 views

Processing and restreaming video

I need pull a video stream, extract metadata from it and restream (a compressed version of the video) as well as the metadata (the metadata will need to sent to a different source but will need to be ...
0
votes
0answers
17 views

FFMpeg crashes my Windows 2016 R2 server

I am using ffmpeg to encode some videos and have two identical Dell Precision R5500 workstations. One though is running Windows 10 and is fine. One is running Essentials Server 2016 and crashes the ...
0
votes
0answers
17 views

is there a way to copy files (to avoid re encoding) while using ffmpegs filter_complex?

so I am creating a command to cut videos, I have tried several different commands. Whenever using any command that copies instead of re-encoding, (ex: -i input.mp4 -ss 00:00 -to 00:10 -c:v copy -c:a ...
0
votes
1answer
22 views

Concatenate pairs of mp3 files with ffmpeg or cat?

I've got a directory of mp3 files, which look a little like this: Blue Elephant part 1.mp3 Blue Elephant part 2.mp3 Tale of Two Cities part 1.mp3 Tale of Two Cities part 2.mp3 Lookism part 1.mp3 ...
0
votes
0answers
21 views

FFmpeg: force re-generate PTS (i.e. alter frame rate without re-encoding) on any codec (not just H264)?

Basically, I want to force change the frame rate of a file that is not encoded using H.264. With H.264 I can do the following: # Assume I want to take a 30FPS file and make it 60FPS, effectively ...
0
votes
0answers
47 views

ffmpeg can convert some file from mp4 to ts but not others

I have mp4 files with no sound I want to convert to ts so as to concatenate them https://trac.ffmpeg.org/wiki/Concatenate ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1....
0
votes
0answers
74 views

Converting Files from VOB to M4V or MP4 for use on an iPad

When using my FFmpeg video converter 10.0.30.3 how to I create a M4V or MP4 movie to put on my iPad from 3 VOB files?
0
votes
2answers
54 views

How do i convert animated webp to Video?

Goal : convert Webp to mp4 what i have tried : ffmpeg -i filename.webp filename.mp4 it's clearly not the good code. can anyone show me the way it can be with anything like imagemagick, sharp
0
votes
1answer
50 views

Extracting DVB_subtitles with ffmpeg fails with empty file / nothing encoded

These are the streams contained: Stream #0:0[0x247]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #...
0
votes
0answers
21 views

Transcoding h265(3840x2160, 25fps) into h264(1280x720, 5fps) and h264(3840x2160, 25fps). RTSP in and RTSP out using qsv

So hardware: E-2224G - Intel® UHD Graphics P630 Reolink 820A 4k PoE security camera So I've setup a dockerfile to get rtsp server and all the right ffmpeg tools with intel drivers: FROM aler9/rtsp-...
0
votes
0answers
12 views

Combining ffmpeg 3 command to single command

command 1 ffmpeg -i $video -ss $time -frames:v 1 $save" command 2 ffmpeg -i $save -vf scale='if(gt(a,320/460),320,-1)':'if(gt(a,320/460),-1,460)' $savex command 3 ffmpeg -i $savex -i $watermark ...
1
vote
1answer
62 views

Get whole duration of folders and subfolders with sound files

I am looking for a ffmpeg that allows me to get the whole duration of my music files. LEt's say that all are in mp3 format. I found online the following piece of code: ffmpeg -i * 2>&1 | grep ...
0
votes
0answers
24 views

FFmpeg transcode piped mp4 with MOOV at end - but I can read it twice

I need to transcoding an MP4 file using that I can only access via a stream. The MOOV atom is at the end of the file. I do not have the ability to seek to a specific part of the file, only read a pipe ...
0
votes
0answers
18 views

How to convert alaw(8000,1) to ulaw(g711) with ffmpeg?

How to convert alaw(8000,1) to ulaw(g711) with ffmpeg? I try this but wrong ffmpeg -i test.alaw -codec:a copy -f mulaw test.ulaw
0
votes
0answers
105 views

ffmpeg encoding process getting stuck after few hours

Hope someone can guide me with this. I am encoding a few videos and the process keeps getting stuck after few hours. I'm using php wrapper (using this github code - https://github.com/PHP-FFMpeg/PHP-...
0
votes
0answers
45 views

FFMPEG Convert image format with best possible output?

With the standard command you can theoretically convert almost anything (ffmpeg -i input.png output.tiff), but I'm afraid that the output will differ from the input in terms of quality and/or ...
0
votes
1answer
39 views

Is there a way to pass an ffmpeg command from a text file in Windows?

I was wondering if there was a way to pass one (or multiple) arguments from a text file for ffmpeg. I tried a bit here with this in powershell (expecting it to work like linux but to no avail ffmpeg -...
0
votes
0answers
34 views

Youtube-dl not downloading requested filesize

So I currently have "youtube-dl.exe" -l PL6NdkXsPL07IOu1AZ2Y2lGNYfjDStyT6O -f "[filesize<25M]" --audio-format "mp3" --ffmpeg-location "C:\Users\%Username%\...
0
votes
0answers
17 views

Have ffmpeg transmit redundant RTP packets

I'm using ffmpeg to transmit an RTP stream for multicast. I'm encountering issues with significant packet loss as soon as my bitrate exceeds ~4,000kbps. Strangely enough, I can multicast 20 different ...
0
votes
0answers
29 views

FFMPEG Hardware Accelerated NVIDIA Video Encoding

I need to decode a video, analyze frames and encode it back. I am able to do it using FFMPEG C++ without GPU. However, I am having problems with doing it on NVIDIA GPU. So far, I am able to decode the ...
0
votes
0answers
18 views

Ffprobe -read_intervals only returns first interval frames

When I try to run the following command for a 10 minutes long video FFprobe only returns the keyframes for the first interval, but not for the second one. However, if I run the command for each of the ...
1
vote
0answers
31 views

ffmpeg record with minimal CPU usage or hardware acceleration

How to record video with ffmpeg in hd with minimal CPU usage or use hardware acceleration with an integrated intel gpu? Currently I have at least 20% of cpu used (using -preset faster), I would like ...
0
votes
0answers
35 views

ffmpeg adding subtitles with options

Hi I'm having trouble adding options to subtitles: I can only add 1 attribute. ffmpeg -i "video.mp4" -vf 'subtitles=subtitles.srt:force_style=Fontname=Z003,PrimaryColour=&HCCFF0000' -y &...
0
votes
0answers
21 views

Remove a part of MP4 from beginning to the next key frame without reencoding using ffmpeg

I know that it is possible to remove a part of MP4 from one time stamp to another. It is possible to cut even without re-encoding, but is it possible that ffmpeg finds next key frame from the ...
0
votes
0answers
11 views

How to incrementally append delayed images to build a video with ffmpeg

I'm using a 3D rendering application to output sequences of images. Each image can take from some seconds to many minutes to complete. Would it be possible to get ffmpeg to wait and append them in a ...
0
votes
1answer
79 views

Can I Find a .EXE File to Install FFMPEG

NEW, totally NEW to FFMPEG. I'm confused about installation. For most programs of this type I've seen .EXE files. I couldn't find that for FFMPEG. Is there one for a 64-bit win machine? So far, I ...

1
2 3 4 5
117