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
0
votes
0answers
5 views

ffmpeg: How is the video with color rec.709 change to rec.2100?

I have a video in rec.709 (that is the usual SD video 1080p) Image - Original color video. In After Effect I can choose workspace rec.2100 PQ the video image will become dim (Image - Video with color ...
0
votes
0answers
13 views

ffmpeg : how to move text position every 30 seconds with drawtext filter?

I would like with ffmpeg drawtext filter to move one text which is bottomleft to bottomright after 30 seconds. This must running during all the live stream and and not only one time at startup. thank ...
0
votes
1answer
12 views

ffmpeg: correct syntax for multiple audio filters

I want to apply three audio filters: pan --> dynaudnorm --> volume. The problem is that the middle filter (dynaudnorm) is ignored. For testing, I've tried rearranging the filters, and no matter ...
1
vote
1answer
17 views

In what order should I use stabilization and compression with ffmpeg?

I shoot videos of soccer games on a Canon Vixia which records at 60fps HD with h264 compression. From the camera it results in 20GB files which I have been recompressing (to save on storage and ...
1
vote
1answer
14 views

FFmpeg: Apply Unique Palette To Every Frame of a .GIF?

⋯ Have .GIF with duration of 10 seconds at 15fps, for a total of 150 frames. Want to use different palette for every frame. Have palette files: p1.png, p2.png, p3.png etc … p150.png - What's my ffmpeg ...
-1
votes
0answers
23 views

how to tirm ffmpeg on this code [closed]

i have this code how i can do trim video #!/usr/bin/env bash set -e # Usage create-vod-hls.sh SOURCE_FILE [OUTPUT_NAME] [[ ! "${1}" ]] && echo "Usage: create-vod-hls.sh ...
0
votes
0answers
10 views

How to include multiple tags of the same variety (e.g. multiple artists) when converting to aac (m4a) using ffmpeg

I have no problem encoding with ffmpeg, in fact most of my files are perfect, tags, cover art and everything. But for most songs with multiple genres, multiple genres converge into genres like ...
0
votes
0answers
6 views

FFMPEG x11grab/pulse AV capture: Non-monotonous DTS

I've fiddled with lots of options trying to fix this, but I thought it would be better to start from what I want at the beginning and ask for help. I want to capture some emulated game footage, ...
0
votes
0answers
10 views

Transparent PNG series with audio and camera feed with ffmpeg

I have a series of PNG images with a transparent background that I'm looking to overlay on top of a camera feed and include audio. I am trying to do it with ffmpeg, but I am also open to doing it ...
0
votes
1answer
14 views

crf and preset parameters works with images?

I'm using the following command to process an image, but there is some problem about the lib I'm using between versions with the message Unrecognized option 'crf'. My question is: Are the -crf and -...
0
votes
1answer
24 views

Trying to emulate a hardware camera with a stream from a raspberry pi/picam?

I have a raspberry pi and pi cam v2 connected to wifi. I am trying to stream the camera feed to a laptop over wifi, then make that stream appear as if it were a hardware camera on the laptop. I want ...
0
votes
0answers
15 views

FFMPEG Multicast to multiple addresses at the same time [duplicate]

I have the following ffmpeg command which creates a multicast audio transmission to a IP address and port: ffmpeg -re -i Sample.mp3 -filter_complex "aresample=8000,asetnsamples=n=160,volume=0dB&...
-1
votes
0answers
20 views

FFMPEG take picture without light

I used this command to take picture with ffmpeg.exe: .\ffmpeg.exe -f dshow -i "video=Camera name" -frames:v 1 test.jpg but is there way how to take picture without turn on light on camera? ...
0
votes
0answers
28 views

FFMPEG Concatenate two files while keeping the duration the same as the two files separately

I am trying to concatenate 2 files. But When I calculate the duration of each individual input files, it is not the same as the output file. I use this command: ffmpeg -vsync 1 -y -i input.mp4 -i ...
0
votes
0answers
9 views

pipe error in ffmpeg atter readding videos in a folder

I am trying to read video files in a folder and use the following FFmpeg command, but it can not do it and produces this error: pipe:invalid argument do you know what is the problem and why it ...
-1
votes
0answers
20 views

ffmpeg removes mp3 meta information error->error message:mjpeg: invalid TIFF header in EXIF data

command: d:/ffmpeg\ffmpeg.exe -y -i 168.mp3 -map_metadata -1 -acodec libmp3lame block.mp3 This is the MP3: 168.mp3
0
votes
1answer
15 views

ffmpeg video cropping Invalid too big

Its same issue with this but in video ffmpeg cropping: 'Invalid too big or non positive size for width' trying to crop the video to an aspect ratio of 9:16, the video size retrieve is Width ...
0
votes
0answers
12 views

speedup preview of video while it is being downloaded using FFMPEG

I need to download cca 10min clip from a much longer video from server every day. So to save bandwidth and time, I want to see a preview and stop right after the desired part ends while it is still ...
0
votes
0answers
10 views

FFmpeg and FIFO stream to youtube and Attempt_Recovery cmd on Windows

i have setup correctly a stream with FFmpeg from a Dhaua rtsp camera to youtube live stream with this snip on WINDOWS. C:\SITO-WEBCAM-TETTO\bin\ffmpeg -loglevel error -f lavfi -i anullsrc -...
0
votes
0answers
10 views

ffmpeg - segmental audio stream editing [duplicate]

I have video with multiple audio streams. eg: isolatedApp, combinedAppAndVoice I want to remove the voice component, and retain the application audio only, in a specific time segment. Assume I need to ...
0
votes
0answers
20 views

merging 2 editing videos without saving them using ffmpeg

I want to combine 2 videos assume even they are edited among themselves How normally we do video 1: ffmpeg -i 1.mp4 -filter:a "volume=0.0" test1.mp4 video 2: ffmpeg -i 2.mp4 -filter:a "...
0
votes
0answers
44 views

How can I use ffmpeg to stream my USB connected Android device

I want to use my android device as an external monitor. There are methods using VPN, but they are slow. If you connect two Tablet it becomes unusable, because the bigger the full display amount is, it ...
0
votes
0answers
12 views

Android TV not show

I use MUMUDVB for get DVBT signal and stream it. main source signal before transcode is h264. ffmpeg -nostdin -fflags +genpts -i http://192.168.1.10:5530/bysid/106 -map 0:a:0 -c:a mp2 -map 0:v:0 -c:v ...
0
votes
2answers
48 views

How to enable libx264 in ffmpeg

I am trying to encode with libx264 in ffmpeg ffmpeg -f image2 -r 25 -i frames/%03d.bmp -vcodec libx264 out.mp4 However, i get the following error message: Unknown encoder 'libx264' If us type ...
0
votes
0answers
18 views

ffmpeg combine mp4 with rtsp stream

Currently, I am streaming the output of my rtsp camera to YouTube using ffmpeg. This is the command I am using: ffmpeg -re -rtsp_transport tcp -i [RTSP URL] -acodec libmp3lame -ar 44100 -b:a 128k -...
0
votes
1answer
14 views

ffmpeg cut to frames and merge without quality loss

I am trying to cut a mpg file to frames, and subsequently merging them again with ffmpeg: ffmpeg -i input.mpg -vsync 0 -q:v 2 temp/%03d.bmp ffmpeg -i temp/%03d.bmp -y output.mpg My goal is to ...
2
votes
0answers
31 views

Change the speed of subtitles in an srt file

I have a set of videos that were recorded at 25 fps. That was the original speed of the video and I want to keep it that way. The video and audio work fine. I have a corresponding set of subtitle ...
0
votes
0answers
34 views

What is the best scaling algorithm for FFmpeg?

This is a more up-to-date version of this question here, which luckily it avoids being a duplicate of because that question is about VirtualDub rather than FFmpeg. This is not a subjective question as ...
0
votes
0answers
38 views

FFmpeg 4:3 video with letter box to 16:9 without encode/lossless

Im reading and trying about this but I do not get it. I have a video in 720x576 in 4:3 and would like put off the letter box and put the video in 16: 9 Anyone knows or can gives me a hint?
0
votes
0answers
23 views

FFMPEG how to split iamge to separate parts? [closed]

I want with FFMPEG split my image to more equal parts. Is it possible to do? I tried : .\ffmpeg.exe -i a.jpg -vf "crop=50:50:50:50" input_crop.png That worked but I want to split the image ...
0
votes
1answer
77 views

AV1 extract keyframes

Using this file [1], I can run this command with no problem: ffmpeg -i crushed-between-two-portals.mp4 %d.jpg but if I run either of these commands [2]: ffmpeg -i crushed-between-two-portals.mp4 -vf &...
0
votes
0answers
24 views

Merging audio streams with mismatched length to end together

I have two mono audio files of (say) 60 seconds and 90 seconds length. I want to mux the pair together into a stereo file (one in each channel) so that they end at the same time. I can achieve this ...
0
votes
0answers
12 views

Sharper texts when encoding video to low-quality

I have this script that makes ffmpeg encode video files into MJPEG video format: echo off set arg1=%1 shift ffmpeg-bar -i %arg1% -vcodec mjpeg -vf scale=min'(960,iw)':-1 -acodec pcm_s16le -ar 22050 -...
0
votes
0answers
23 views

Hardware accelerated mjpeg encoding with ffmpeg

I have this batch file that I need to convert videos into MJPEG but using Hardware acceleration on a machine with AMD GPU (Vega 8 and RX560X specifically) echo off set arg1=%1 shift ffmpeg -i %arg1% -...
0
votes
0answers
22 views

FFmpeg memory leak? (lavfi)

I'm attempting to generate a black 1920x1080 video at 60FPS using the lavfi input, I do this as a means to hook an audio stream to something that'll part at the right times via the segment muxer and ...
0
votes
0answers
30 views

ffmpeg libx264 is noisy

After converting video with ffmpeg to H264, my video is noisy. ffmpeg -i http://192.168.1.10:5530/bysid/106 -map 0:v:0 -map 0:a:0 -c:v libx264 -c:a mp2 out.mkv Normal: Noisy subtitle: Same result ...
0
votes
1answer
35 views

What is a MOJO codec and how can it be used with ffmpeg

NComputing VCast has this MOJO format that can play fast on their thin clients. As described here: https://support.ncomputing.com/portal/en/kb/articles/vcast-what-is-the-difference-between-web-media-...
0
votes
1answer
49 views

Cut off start and end of mp3 file with ffmpeg - without having to specify file duration? Windows batch

I have hundreds of mp3 files, all random lengths. I want to cut 10 seconds off the beginning and 10 seconds off the end of each file - without having to tell ffmpeg the duration of each file. Here's ...
0
votes
1answer
31 views

ffmpeg mediocre conversion quality from DVD

I am trying to convert a DVD that I own into mp4/lib265 format. To test the quality out I am only converting the first two minutes of the input video (which is a concatenated vob file). The source ...
0
votes
1answer
21 views

Add image above gif with ffmpeg

I cut out the top part of a 320x356 gif as follows: ffmpeg -i image.gif -filter:v "crop=320:226:0:130" out.gif I have a text image that I want to put where the cut out part was; how do I do ...
0
votes
0answers
15 views

Add a gif to a video using FFMPEG

I want to overlay a gif on a video using FFMPEG. I used the following command but it doubles the time of the video as well. I am new to the FFMPEG commands so I don't really understand its syntax. It ...
0
votes
0answers
17 views

export Apple ProRes 422 HQ BT2020 PQ

Goodafternoon I never use FFMPEG but I had an emergancy at work. I nedd to convert an AVID DNXHR HQ PQ BT2020 in a Apple ProRes 422 HQ PQ BT2020. I use windows 10, and usually to make apple prores I ...
-2
votes
0answers
43 views

Integration of FFMPEG in Xcode

I have been trying to integrate FFMPEG into XCode. I have included the correct path in the Search Paths section, I have added the .a files to my project and I have included the bridging-header file in ...
0
votes
0answers
20 views

How can I reduce the file size of a video encoded with wmv2 in ffmpeg?

I have some videos of a slide presentation with audio and need to put them in a wmv container. These videos are intended to be viewed with Windows Media Player. I initially made the mistake to use the ...
1
vote
0answers
18 views

Why does my FFmpeg video made from several .jpeg files have low quality?

I'm working on a project, and I had to put a bunch of images together into a single video animation. I decided to try out and learn FFmpeg so I could avoid manually putting the images together. The ...
0
votes
0answers
21 views

Extracting AV segment from a huge duration MKV file

I'm trying to extract 3 hours and a half from a MKV file 15Gb big whose total duration is around 12:48:00. The final goal is to have the audio synchronized with video on this extracted segment but I'm ...
0
votes
1answer
33 views

how do I read videos from a file and use ffmpeg to save each video with different bit rate?

I want to use the UGC dataset and after reading each video, save each video with a different bitrate and plot the R-D curve. for this aim, I want to use FFmpeg and automatically do the mentioned ...
0
votes
1answer
18 views

How to convert VBR OGG Opus audio to M4A ACC without quality loss?

I got some audio files in the OGG Opus format (~152kbit/s VBR, 48kHz sample rate) and I want to convert it to M4A ACC format without any quality loss. I tried to use ffmpeg -i myaudio.ogg -c:a aac -vn ...
0
votes
1answer
34 views

FFmpeg: Loop stream of several audio files and a short video

I saw a code to stream several audio files in another topic of questions here on the site. However, I have some doubts regarding this, because in my case, there is no sound and I really wanted your ...
0
votes
1answer
28 views

How to edit audio bitrate, speed and trim in FFmpeg with a single command?

I'm trying to edit audio files with 3 parameters: I have to change the bitrate, speed and I have to trim the audio. I tried filter complex to combine 3 commands into one commands but didn't worked. ...

1
2 3 4 5
111