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
1
vote
1answer
5 views

Is there a list of input variables?

There is an article that says you can scale a video to be a multiple or fraction of the input size like this: -vf "scale=iw/2:ih/2" to scale by half Are there any other symbols for input ...
0
votes
0answers
2 views

How to averagely extract frames from a video using ffmpeg by specifying “fps”

I have a job of using ffmpeg to extract the frames averagely from a video, with different fps. I use this command for it. ffmpeg -i input.mp4 -r specified_fps -q:v 2 image %4d.png And I have 3 ...
0
votes
0answers
3 views

Combine mp4 video and a RTMP stream into 1 RTMP output stream via ffmpeg

I need a ffmpeg command to first feed a mp4 video into a RTMP output stream, then followed by a RTMP input subsequently; what should be the parameters to get it working?
0
votes
0answers
4 views

“??: Illegal byte sequence ERROR FFMPEG

Hey everyone, trying to run this FFMPEG script I "botched" together and it's returning a Illegal byte sequence error >>> #!/bin/bash find /Volumes/NVMe-RAID/ASSET\ Processing/Movies/...
0
votes
0answers
7 views

Packet corruption during download, then ffmpeg hangs [closed]

I was getting corrupted packets during capture of an m3u8 playlist, so I added the +discardcorrupt flag, as suggested here. However, this results in a program hang. The stream steadily slows to a ...
0
votes
0answers
21 views

Problem combining multiple filters with ffmpeg

I'm trying to generate a video file out of 3 files: file #1 and #2 are both dynamically generated image list file; file #3 is a dynamically generated pcm file; I need to slow down or speed up the ...
0
votes
0answers
5 views

FFMPEG C#/.NET Wrapper with SilenceDetect Filter

Does anyone happen to know if a wrapper exists within C# to run the FFMPEG silencedetect filter on audio files? I have been working on a program and am trying to avoid just running the FFMPEG ...
0
votes
1answer
22 views

GoPro creation metadata on Google Photos different for photos and videos (timezone offset?)

If I take a video and a photo at the same time (both also have GPS tags in metadata, BTW) and upload them on Google Photos, the video will be wrongly sorted in the album because its creation time is ...
0
votes
0answers
10 views

ffmpeg- transcoding live channels

I'm using nginx conf to downsize the bitrate of some of live channels and convert its format to rtmp, but there are some channels that have more than one audio track, how can I change it? this is the ...
0
votes
0answers
25 views

ffmpeg remove all metadata and keep audios and subtitles

I using the following .bat file to remove metadatas. echo off mkdir outputs for %%a in ("*.mkv") do ffmpeg -hide_banner -i "%%a" -map 0:v:0? -map 0:a? -map 0:s? -c copy -...
0
votes
0answers
14 views

Convert .raw frames to images using FFmpeg

I received a .raw frame format (here is a sample) which contains the raw pixel values of a frame. And I've been told I can convert it to an image (.bmp or .png) using FFMpeg. Is there a command to do ...
0
votes
0answers
37 views

Adding a static overlay logo into ffmpeg video stream and switch another which maintaining the logo

I intend to add a logo and loop a set of pictures on top of a RTMP stream, my current command is as follows: ffmpeg -i rtmp://127.0.0.1:1935/live/xxx -i logo.png -f image2 -loop 1 -i prod.jpg -...
0
votes
1answer
21 views

Display only Intervals Selected using FFMPEG command

I have been working to remove certain intervals in audio using FFMPEG and was wondering if there is a command or certain technique to only display certain intervals selected. For example, say I have ...
1
vote
0answers
8 views

Are video encoders specialized for certain resolutions?

I have wondered if the encoders used by tools like ffpmeg and hardware encoders like NVENC are more efficient for common resolutions like 1920x1080. I've done a few informal tests with a variety of ...
0
votes
2answers
12 views

FFMPEG 9600x1080 5 video

FFMPEG 9600x1080 5 video stitching outputs black video Hello everyone. I’m trying to merge 5 1920x1080 videos into a one big 9600x1080 clip. I’m using FFMPEG for it with the following script: ffmpeg -...
0
votes
0answers
11 views

Tool for searching for a video's frame by an image file

I've been searching for a tool that would take an image--a screenshot of a frame from a movie--and search every frame of one video from that same movie for that same image and give me either the frame ...
0
votes
0answers
15 views

EXR layers/channel in FFMPEG

I need stitch image1.exr and Image2.exr to ImageStitch.exr But I couldn't get the layers and channels to work. Can you tell me how to do this I try using this code In EXR images -> 3 layers: ...
0
votes
0answers
5 views

using mouse or keyboard shortcuts, how can I get the gamma or brighness value from ffplay to pass it to ffmpeg later instead of trial and error?

Using mouse or keyboard shortcuts, how can I get the gamma or brightness value from ffplay to pass it to ffmpeg later instead of trial and error?? The question on this link lead me to ask the question ...
1
vote
0answers
9 views

how to output the origin filename when the inputs are images in ffmpeg?

ffmpeg -pattern_type glob -i '*.jpg ' -vf select='gt(scene,0.4)' out_%d.jpg In this command, i just want to select the separation frame from image sequences. But how can i make the output image ...
0
votes
0answers
11 views

Is is safe to run ffmpeg several times in parallel in the same folder?

I'm writing a test which has to generate many files and to accelerate the feat, I use my 64 CPUs. That means I end up running up to 64 instances of ffmpeg inside the same folder. Is that a potential ...
0
votes
0answers
16 views

Batch processing in ImageMagick to create image masks from .mp4

I am creating animated sequences from video files. I am hoping to create image masks from the video files to save time on masking them by hand. This tutorial seems to clearly outline the process, ...
1
vote
0answers
7 views

Low latency on SRT stream

I am new to this and wondering, how can I get the lowest latency sending an SRT stream? I can’t seem to get under six seconds. Using, latency=10000
1
vote
0answers
33 views

Video Stream Loop FFMPEG for YouTube, what is missing here?

I am using FFMPEG for streaming 24/7 mp4 video on youtube. The video is somewhere in 2 minutes, the stream starts but does not go on replay, what should I do? I am using this code: @echo off d: cd &...
0
votes
0answers
14 views

How can I record video over an existing video in an “overdub” fashion, keeping them perfectly in sync?

I am trying to figure out if there some way to for me to "overdub" video. What I mean by that is, I want to be able to record a video of me playing an instrument. Then I want to play back ...
1
vote
1answer
21 views

Correct way to normalize two audios before using filter_complex amix

I am trying to use ffmpeg to merge two audios, in.mp3 and out.mp3, like this: ffmpeg -i in.mp3 -i out.mp3 -filter_complex amix=inputs=2:duration=longest -c:a libmp3lame res.mp3 But the final output ...
0
votes
0answers
12 views

Unsupported input video format “matroska,webm”

I would like to use ffmpeg-concat, but I get this error: (django-con-video) guettli@yoga15:~/django-con-video$ ./node_modules/.bin/ffmpeg-concat -t circleopen -d 750 -o out.mp4 *mkv ffmpeg-concat: 123....
0
votes
0answers
14 views

ffmpeg vs adobe media encoder for low res proxies

I do 4K video editing on Surface Go, of course with proxies. if I don't care about output quality, can I get significantly better performance with encoding via ffmpeg rather than adobe media encoder ? ...
0
votes
1answer
23 views

ffmpeg mysteriously not recording audio in a video

I recently upgraded my MacBook Early 2015 2.9 i5 8gb ram computer to BigSur 11.3.1. My previous command that would record a video with audio no longer works. The video is recording, but there is no ...
0
votes
0answers
6 views

How to push a live stream from existing file with subtitle with low CPU usage?

I'm using FFMPEG to push a live stream from an existing mp4 file with a subtitle and successfully to do it by this command ffmpeg -loglevel verbose -re -i "my_movie.mp4" -vf "subtitles=...
0
votes
0answers
27 views

Is it possible to see used filters in ffmpeg encoded video?

Specifically, I have a h.264 encoded video and I'd like to see if addroi filter was used by a user who encoded it. Is it anyhow possible to see which filters were used while encoding a video?
0
votes
0answers
18 views

Pipe frames to FFMPEG, along with audio

I am hiding words in a live video. To do so, I extract all frames: ffmpeg -i input.mp4 -f image2 ./out_%01d.jpg I then run the frames through OCR, edit the frames, and then pipe them back to FFMPEG: ...
0
votes
0answers
9 views

Nomenclature for a selecting a temporal window?

I would like to know the proper term, so I can Google how to reduce the duration of a video with ffmpeg. For example, assume a 3600 second video that reduced in size by selecting the 2nd and third ...
0
votes
1answer
21 views

FFmpeg: Getting this error while trying to add a logo to video (Unable to find a suitable output format for ..)

Hey guys I want to add a logo to my video with ffmpeg but I am getting this error while running the below command. What is the reason? Please do help. `Unable to find a suitable output format for '...
1
vote
1answer
16 views

FFMPEG Loop Concatenate Video to Specific Length

I am trying to use FFmpeg to generate for example a 1-hour video from concatenating a 1-second input video over and over and over again. The problem is that the length of my input video is of various ...
1
vote
0answers
14 views

FFMPEG is not writing the correct video duration in the output playlist file for HLS

I have 5 cameras each having an RTSP stream. I am converting that rtsp stream to HLS. This is the command I am using: ffmpeg -rtsp_transport tcp -i rtsp://*:*@*:*/ -f hls -codec copy -strftime 1 -...
0
votes
0answers
22 views

Encode VP9 in mov container with pcm audio

Davinci Resolve's supported Codecs list shows it only supports decoding VP9 if placed in an mov container. Add to that the audio limitations also present on the Linux version and mov is somewhat ...
0
votes
0answers
26 views

What is a good FFMPEG/AVISynth to upscale gaming videos?

I plan to use Retroarch to dump and create videos from the various cores that are featured there. I had asked for advice from other places online ranging from recommended emulators to what video ...
0
votes
0answers
17 views

Shorter video when generating mpd from webm with ffmpeg

I'm want to use ffmpeg for a personal project so I'm practicing with some commands. Right now I'm trying to generate a MPD with 720p and 320p versions from a 720p webm video recorded with ...
0
votes
0answers
28 views

FFMPEG -vf does not extract first frame

I am running the following command to extract frames at a rate of 1 per second. This works fine, except that the first extracted frame is not the first frame of the video, but the frame after 1 second ...
0
votes
1answer
30 views

ASS subtitle - Different alignment at block and inner level

I am trying to achieve an ASS subtitle that aligns the rectangular bounding block at the horizontal center of the window, while maintaining left-justification inside that block for multiline subtitle ...
1
vote
0answers
20 views

Extract subtitles in time range using ffmpeg

I have original video (with subs) and cropped version of it (without subs). I need to add subtitles from original video into cropped in appropriate time range. I think the best way to do is: Extract ...
0
votes
0answers
17 views

Resize and cropping HD video into square

I want to scale and crop HD (1920×1080) video into square one while adding watermark. I tried ffmpeg \ -i video.mp4 \ -i watermark.png \ -filter_complex "[0]scale=720:720,crop=720:720[a];[1]scale=...
0
votes
0answers
27 views

FFMPEG -vf or -r

I have come across two different ways to generate images once per second of video with ffmpeg. Both work but they always yield the same number of images. Sometimes the difference is large >20%. Why ...
0
votes
1answer
21 views

How does scaling work in ffmpeg?

I am new to ffmpeg. I just want to know how I could keep the original scale of the video. The original size of the video is that its frame width is 1820 while its frame height is 720. The original ...
0
votes
1answer
13 views

Re-encode corrupt videos (that still play) and drop bad frames FFMPEG or other app?

I have about 300GB of assets that have been deemed "corrupt" by FFprobe but most all of them still have playable portions of the video. What I've been trying to determine how to do is either ...
0
votes
0answers
13 views

Only audio is playing when trying to replace the audio in video

I am trying to replace the audio with a new audio, I have gone through some SO questions and still having trouble solving the problem. As of now, I am getting only the audio with the specified ...
0
votes
1answer
56 views

Lossless convert 3gp video to mp4 using ffmpeg

I'm trying to get lossless conversion of 3gp to mp4 using ffmpeg. I tried ffmpeg -i input.3gp -vcodec h264 -c:a aac output.mp4 I tried with "libx264" for the video codec, I tried just a ...
0
votes
0answers
13 views

ffmpeg convert stereo to mono for multiple video files

I have a folder of video files listing: 1H.mp4; 1L.mp4; 2H.mp4; 2L.mp4; .... The sounds are unbalanced for two ears - it is probably due to the recording is stereo. How can I change the audio tracks ...
0
votes
1answer
25 views

Can anyone give me a thorough explanation of some of the FFMPEG commands?

I am finally using FFMPEG after using programs like Virtualdub2 but I do need some clarity with some of the commands. Do not get me wrong, the resources that some people sent to me do help but I do ...
1
vote
0answers
9 views

FFmpeg help . Need to be able to zoom and pan on a video at specific points and then be able to zoom out and pan in a different area of said video

We are currently working with a 4k video file, and we need to be able to zoom in and pan the x- and y-axis to specific areas at specific times in the video to then be able to once more zoom out and ...

1
2 3 4 5
36