Skip to main content

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.

0 votes
0 answers
35 views

watermark a certain part of an input video with FFmpeg, but output the whole video without triming the length

the original video is 2 hours long, so I don't want to render the whole video since it's time consuming,when I set the time like -ss to -t,the final file only output a portion of the original video, ...
jackie2jet's user avatar
1 vote
1 answer
75 views

How to merge all mp3 files located in the same directory?

The command below used to work but stopped around ubuntu/kubuntu 20.04. ls *.mp3 | sed -e "s/\(.*\)/file '\1'/" | ffmpeg -protocol_whitelist 'file,pipe' -f concat -i - -c copy output.mp3 ...
Cortez's user avatar
  • 11
1 vote
0 answers
99 views

Trimming a video using FFmpeg leads to black screen

I try to figure out how to use FFmpeg to trim videos. I have created a 30 second .mov screen capture using Apple's QuickTime player, and then tried to trim it using three different ways: Using -...
jsx97's user avatar
  • 71
1 vote
0 answers
67 views

Take Screenshot/snapshot from .ts file

I need to take a screenshot/snapshot from .ts files. Currently using the command: ffmpeg -ss 00:06:05.6710000 -i input.ts -frames:v 1 -q:v 1 output.jpeg This works fine for .mp4 files, but for .ts ...
AVG's user avatar
  • 111
1 vote
1 answer
54 views

Using ffmpeg, how can I split an incoming stream, one live web streaming, the other mp4 but in timed chunks?

I have a single mpeg-ts input stream, http://192.168.1.100/stream0, and I wish to do two things with this stream. One output is to be a hls multipart stream with m3u8 so apache can serve to local ...
Jon37's user avatar
  • 21
1 vote
0 answers
47 views

Ffmpeg webm YouTube settings command

Is there a .webm still image command in ffmpeg that is best compatible with YouTube I’m currently using: ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune ...
Michael's user avatar
  • 25
0 votes
0 answers
8 views

ffmpeg does not exit when pipe is closed? [migrated]

If this has already been brought up, I apologize. This is part of a software tuner package I am writing as a POC. It is used by Plex Media Server. For the most part, it works with good picture quality ...
Thomas's user avatar
  • 1
2 votes
0 answers
30 views

ffmpeg - mpegts Multicast

I'm generating a multicast stream with this command: ffmpeg -hwaccel_device 1 -format_code Hi50 -re -f decklink -i 'DeckLink Duo (1)' -pix_fmt yuv420p -c:v h264_nvenc -profile:v high -b:v 3500k -rc 2 -...
Miguel Duarte's user avatar
2 votes
1 answer
58 views

FFmpeg is sometimes slow when cutting video from a network URL

I recently encountered some problems while using FFmpeg to cut videos. For certain videos, FFmpeg processes very slowly and sends multiple HTTP requests to file links. I suspect there's an issue with ...
Hanaasagi's user avatar
  • 121
1 vote
1 answer
49 views

Looking for a better cutting command in FFmpeg

This is the original command, it removes the part between the start and end which will be specified in command: ffmpeg -i input.ext -vf "select='not(between(t,start,end))', setpts=N/FRAME_RATE/TB&...
Mohammad Mansour's user avatar
0 votes
0 answers
46 views

av1_vaapi ffmpeg throws error on last frame of video

I've been using ffmpeg and vaapi to transcode video files, it has been working great except for one group of video which has been throwing the error [vf#0:0 @ 0x5d37f5dd6dc0] Reconfiguring filter ...
Richard Ledbetter's user avatar
0 votes
0 answers
44 views

decreasing probesize on FFMPEG stops audio

I'm trying to setup an encode/decode pair across our corporate wan with the least amount of delay as possible. So far I've been able to get the delay down using -probesize but we've found any value ...
John Munoz's user avatar
0 votes
0 answers
37 views

ffmpeg command to combine mp3 file and embedded album art image file metadata into a video

my below ffmpeg command works for combining 1 audio file with 1 image file into a video. ffmpeg -loop 1 -framerate 2 -i "C:\Users\marti\Videos\ig_sf_6.5.24_highlights\apple image.jpg" -i ...
Martin's user avatar
  • 131
0 votes
0 answers
47 views

Rescale videos and then pad them using vaapi and hwaccel with ffmpeg in amd, linux

This command, make videos to be padded first and then scale them afterwards. However, i want exactly the opposite, first to scale them and then to pad them. How I can do that? rm a_*.mp4; for vids in *...
Estatistics's user avatar
1 vote
1 answer
184 views

Cutting a part from a video: Should '-ss' be before 'i' or after?

Let's say I need to remove everything but the second minute from a video. I can do this, for example, in the following way: ffmpeg -copyts -ss <start> -i input.mp4 -to <end> -c:v libx264 -...
jsx97's user avatar
  • 71

15 30 50 per page