All Questions
Tagged with ffmpeg command-line
290
questions
1
vote
1
answer
44
views
FFmpeg -ss option and keyframes
I would like to clarify that I understand how to use -ss, -t, -to, stream copy, and the difference between stream copying and reencoding/transcoding.
What I don't understand, is how the seeking/...
1
vote
1
answer
70
views
Ffmpeg image parameter for YouTube
Is there any image png command equivalent to parameter below?
ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt ...
0
votes
1
answer
53
views
How do you create an ffmpeg lossless image without re-encoding?
I'm using the command below but not sure if it’s really lossless and without re-encoding? Is there specific command to create lossless image and without re-encoding? I'm new to this.
ffmpeg -lavfi &...
2
votes
1
answer
122
views
What a correct playlist.m3u8 should contain, or should look like?
24/06/2024: [Presentation of the problem]
I had dowloaded some videos from the Internet, few years ago.
I obtained many files:
a series of files in .ts
a single file playlist.m3u8
In my example:
A ...
0
votes
1
answer
65
views
How to solve a final pb when merging a series of .ts file with concat command of FFmpeg?
I had dowloaded some videos from the Internet, feaw years ago…
I obtained many files: a series of files in .ts
In my example: a series of 306 files named from segment1_4_av.ts to segment306_4_av.ts
A ...
1
vote
1
answer
52
views
why don't work old batch ffmpeg extraestereo command in new version?
I use this batch command for years in ffmpeg, but from update to the last version don't work and don't see in documentation whats the problem.
ffmpeg -i C:\Pelis\video.mkv -vcodec copy -map 0:a -map 0:...
1
vote
1
answer
70
views
How to use ffmpeg to convert a flac file to alac and preserving all metadatas?
I use this loop to convert flac to alac :
for i in *.flac; do ffmpeg -i "$i" -y -vn -c:a alac "${i%.flac}".m4a; done
But some tags are not exported. I tried to use the -...
-2
votes
2
answers
96
views
How to run an .exe file in command line without adding PATH variable in Windows? [closed]
I've recently downloaded ffmpeg and I need to run it through command line. I'm not able to do that because I don't have admin rights. How do I work around that?
0
votes
0
answers
59
views
How to create1080p and 4k black png background text in center using ffmpeg?
I’m trying to create a png black background with text in center using ffmpeg I left an image example from Canva. Please someone help by giving command line/parameters example for 1080p and 4K?
1
vote
2
answers
149
views
FFMpeg: How to get the real return value in bash
I've always used ffmpeg via a cmd-script and I always could check the %ERRORLEVEL% which was always '0' on success or '!0' if an error occured.
I'm trying to recode my cmd-scripts in bash (using msys2 ...
0
votes
1
answer
37
views
How to use ffmpeg speedup video specific time range in one line ffmpeg cli
I try following splited cli, they work well
ffmpeg -i "$input_file" -filter_complex "[0:v]trim=start=0:end=10,setpts=PTS/10[v1];[0:a]atrim=start=0:end=10,asetpts=PTS/10[a1]" -map &...
0
votes
1
answer
202
views
How to Batch Apply Multiple Commands? FFmpeg
I have three commands that I've got to work individually for a set of videos, but cannot get them to apply together. I need to apply all three of these things to every video.
1) add audio, 2) speed up ...
2
votes
1
answer
642
views
How to extract the timestamp (PTS) from the specific frame?
My input is a ts file. And I'm trying to use FFmpeg to extract the timestamp (PTS) from the specific frame index. I have tried the following command ( I have replaced the [FRAME_INDEX] with 5), but it ...
0
votes
0
answers
119
views
FFMpeg removes the video stream unintentionally
I used the following ffmpeg command to downscale a video. But surprisingly the output did not have any video stream, just an audio-only output.
ffmpeg -y -i "input.mov" -c:v libx264 -vf ...
1
vote
1
answer
1k
views
How does FFMpeg read from a remote s3 url
I'm intrigued how does FFMpeg read a video file from a remote url (for example, an aws s3 presigned url).
Does it download the file in chunks and then process it chunk by chunk?
Or does it download ...