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

FFMPEG mp4 command not working

I’ve tried to get a command to work based on this YouTube upload settings but can’t make it to work. Does anyone know the exact encoding ffmpeg command based on YouTube uploads link below? https://...
Michael's user avatar
  • 25
0 votes
1 answer
16 views

FFmpeg: ffv1 -context parameter

What forces ffv1 to encode in intra-frame mode -context 0 or -g 1 or both? It says here (in Compression details) that to force intra-frame encoding I should use -context 0 (as far as i understand). ...
Skyfall's user avatar
0 votes
0 answers
12 views

ffmpeg - How do I convert audio while preserving its bitrate?

I want to convert audio downloaded from YouTube (in OPUS codec) to OGG, but when I do this using the basic ffmpeg -i -vn <file> command, there is a slight decrease in bitrate (as an example, ...
RedBees's user avatar
0 votes
0 answers
17 views

ffmpeg causing some sort of a conflict with a MPV script

I have tried to reinstall ffmpeg but it doesn't solve the problem. The script that I am running is cut-video.lua. [cut_video] built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) [cut_video] configuration: ...
adam's user avatar
  • 1
1 vote
0 answers
30 views

FFMPEG - Converting a CbBI (Apple) PNG to a regular PNG

I've got a PNG file from an IPA, and trying to open it in Windows Photos inverses all the colors, so I thought that it's an Apple specific format and I found out I am not wrong: $ file AppIcon29x29....
HGStyle's user avatar
  • 63
1 vote
0 answers
12 views

no audio when encoding 5.1 ch audio to opus

when i was encoding a dts 5.1 ch audio that had the layout of C L R Ls Rs LFE , file using ffmpeg via libopus , i found that the resulting file did not play in vlc, due to the channel layout being ...
yoong jin chow's user avatar
0 votes
1 answer
24 views

Reencoded video with ffmpeg is not matching input sar,dar provided

I am trying to reencode a video (temp.mp4) to a certain width/height, with particular sar/dar/fps to match it with another mp4 file which I need to join with temp.mp4 file. I want to achieve these ...
Smith Kumar's user avatar
0 votes
0 answers
31 views

How to use Picture event in ASS format

There are different articles mentioning that ASS provides a Picture event, mentioned here and here I have been trying to apply it like below but, without success and I couldn't find examples on the ...
fady taher's user avatar
-2 votes
1 answer
38 views

How to extract all frames of a video using GTX 550 ti?

My GPU is Nvidia GTX 550 ti and I should extract all frames of video files for my job. my GPU not support latest version of CUDA. I tried multiple softwares to use my GPU for frame extracting but all ...
Pubg Mobile's user avatar
1 vote
1 answer
66 views

Is there a fast way to get the timestamp of a keyframe near an offset?

I've found many solutions to find the location of keyframes in videos using ffprobe, but all of them are slow, like roughly 0.1x real time on an 8k video. While this is fine for finding a keyframe ...
user avatar
0 votes
0 answers
26 views

Error while reencoding and combining 3 mp4 files with ffmpeg

I am using the ffmpeg command given in top answer on this below page to join 3 mp4 videos https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg It says to use that ...
Smith Kumar's user avatar
2 votes
1 answer
37 views

The proper way to limit framerate when recording screen on macOS

macOS 14.5, FFmpeg 7.0.1. To record the screen, if I use the code from Wiki, that is, ffmpeg -f avfoundation -i 1 output.mp4 the frame rate seems to be so high that when I press q to stop recording, ...
jsx97's user avatar
  • 71
1 vote
1 answer
27 views

How can I concatenate videos that don't always have audio using ffmpeg?

I have 5 video files (although, it could be 100s), some with audio, some without. They are more-or-less a consistent size but I'll force that by using something like -vf "320:240" on the ...
Skeeve's user avatar
  • 61
0 votes
0 answers
12 views

is real-time video compression possible on a Raspberry Pi to wirelessly transmit multiple live feeds? [migrated]

the idea I want to achieve is this: I'm planning to make an eye-tracker device, which is in 2 parts: the first part is what the subject/user wears, includes an eyeglass-shaped frame, 2 Infrared ...
Valo_iO's user avatar
0 votes
1 answer
34 views

Trying to merge ffmpeg commands into one

I initially tried doing this as one command, but after struggling with it I wrote a quick script to create a bunch of intermediate files to get the job done, but that isn't quite working either. The ...
user avatar

15 30 50 per page