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
27 views

How do you batch resizes of Genesis videos in FFMPEG?

I am trying to a create 4:3 video upscale encodes with Sega Genesis videos that are usually around 320 x 224 using FFMPEG. While I had been advised to use FFMPEG (and AVISynth) in the past, it was ...
1
vote
0answers
37 views

Convert 4:3 to 16:9 like QuickTime Panoramic Size

QuickTime has an awesome feature called "Panoramic Size". It basically scales the input video to the screen aspect ratio without cropping by leaving the center as-is and gradually increasing ...
0
votes
0answers
26 views

ffmpeg mp4 does not work on Chrome mobile, plays fine in mobile Safari and Chrome Desktop

The mp4 plays perfectly in Safari mobile and Chrome desktop. For Chrome mobile, it shows a video player that is just a black screen, but the correct video length is shown. Hitting play does not play ...
0
votes
1answer
110 views

ffmpeg to convert .avi to .mp4 results in error: Could not find tag for codec dvvideo in stream #0, codec not currently supported in container

I'm trying to convert .avi files to .mp4 using ffmpeg, as lossless-ly as possible. I tried this command: ffmpeg -i filename.avi -c:v copy -c:a copy -y filename.mp4 and received this output: ...
0
votes
0answers
58 views

ffmpeg how to discover right video dimensions, DAR, SAR before scaling/resize?

The original video is: Width : 720 pixels Height : 400 pixels Display aspect ratio : 4:3 Original display ...
0
votes
0answers
28 views

How to simulate different levels of lighting so as to capture real world behavior in a video?

I am trying to introduce various levels of lighting in the videos so as to simulate real-world behaviour. I am using the ffmpeg tool for this purpose. So far I have tried changing the brightness to ...
0
votes
0answers
91 views

Output files does not contain any stream

I am trying to extract images and audio from a given stream with a single command line: ffmpeg -i video.mp4 -f image2 -qscale:v 3 -map 0:v image%01.jpg -map "0:a?" audio.wav unfortunately ...
0
votes
0answers
25 views

FFMPEG -- Create New Audio File using aselect filter API call in C code

I have been working on an a program in C that invokes the use of FFMPEG's libraries to remove some segments of audio from a given audio file. I have created the filter successfully using the API call, ...
0
votes
0answers
27 views

Preserve png transparency when adding a png onto rtmp stream via ffmpeg

I want to add a logo (png file with transparency) on top of my rtmp stream, i tried it with following command (adding -c:v prores_ks which is supposed to support alpha channel), but don't see any ...
0
votes
0answers
25 views

Alternative to XVID?

What codecs are good for upscale encoding while saving space and preserving the quality of the video? I am looking for something that is good with animation, gaming, 2D, etc.
0
votes
0answers
88 views

Batch FFmpeg for Serial Excerpts

Input.mpg contains a series of scenes. I have identified the points at which the scenes change. Scene 1 starts at 0:00, scene 2 starts at 1:29, scene 3 starts at 2:43, and so forth. I would like to ...
0
votes
0answers
25 views

Optimizing h264 timelapse size

I'm doing a project where im taking HQ images of bacteria growing and I'm assembling these images into a timelapse video. I'm hoping to get large space reductions by encoding these timelapses in x264 ...
0
votes
0answers
58 views

FFMPEG: How to continue saving black background in video when camera gets disconnected temporarily

I am trying to save video from a local IP camera from its sub-stream (640x480,25fps). The ffmpeg command that I used is ffmpeg -y -rtsp_transport tcp -i "rtsp://admin:admin123@192.168.10.171:554/...
1
vote
1answer
31 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
49 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
1answer
68 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
19 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/...
2
votes
0answers
64 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
12 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 ...
1
vote
1answer
48 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
24 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
114 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
58 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
57 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
37 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
15 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
29 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
38 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
33 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
13 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
14 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
17 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
21 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
8 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
46 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
19 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
61 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
21 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
21 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
42 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
8 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
29 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
31 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
37 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
67 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
26 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
86 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
47 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
25 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 ...

1
2
3 4 5
37