Questions tagged [command-line]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
90 views

Which FFmpeg variable gives the total duration of a video?

I've spent hours searching the documentation and forums for a simple variable and it's driving me crazy. Can anyone tell me what the variable is that gives the total duration of a video, so that I can ...
user avatar
2 votes
0 answers
33 views

Create time corrected .srt subtitle file for .mkv which uses file/segment linking

I have two mkv files. One of them is the episode of a series and the other one the opening which is linked in the first one. Let's call them episode.mkv resp. opening.mkv. I also have a subtitle.srt ...
user avatar
0 votes
0 answers
43 views

Command-line interface for Youtube Studio

Is there a command line interface program that can work with Youtube Studio? I'd like to make for example these operations. Publishing a new video. Making a scheduled live streaming. Start and ...
user avatar
  • 176
2 votes
1 answer
345 views

How to remove background from video without green screen on the command line?

I'm looking for an ffmpeg-like tool to blur/remove/change a static background from a "talking head" video, on the command line with on-device processing. Essentially, ffmpeg-like-tool [--...
user avatar
1 vote
1 answer
385 views

Convert TTML Subtitles to STL or SRT in Linux

I want to convert a file with TTML subtitles preferably to STL, or to SRT (less preferred). I thought that I would be able to do it with ffmpeg but apparently they do not support it, because the TTML ...
user avatar
1 vote
1 answer
200 views

How do you open multiple videos with multiple subtitles in VLC from command-line?

Usually, you can use this command to open a video with a subtitle in VLC, if it isn't detected automatically: vlc.exe path_to_video.mp4 --sub-file path_to_sub.srt But I want to open multiple videos, ...
user avatar
0 votes
1 answer
783 views

I used ffmpeg to concatenate to videos and it got stuck and produced a huge file. Where is the mistake?

I have this short videoclips that i recorded either with my webcam or with my phone. The ones that come from my webcam are in Matroska container, and the ones from the phone in mp4. Each piece is ...
user avatar
  • 103
0 votes
1 answer
801 views

Find duration only with ffprobe in Windows

I want to find video file duration only with ffprobe but ffprobe FILENAME.EXT 2| find "Duration:" does not filter output to show just the line with "Duration:" Instead, I got: ...
user avatar
  • 65
0 votes
2 answers
438 views

filter_script usage with ffmpeg and replacing inputs with a file

When using ffmpeg -i input1 -i input2 ... -filter_script filter_complex.txt output.mkv I can't seem to get the stream from the filter_complex.txt file to be recognized by ffmpeg. If I add -map [v], ...
user avatar
1 vote
1 answer
4k views

ffmpeg batch overlay Error: "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_overlay_0"

I am trying to create a batch file to run this script to add a watermark on each file in a folder ffmpeg -i input.mov -i watermark.png -filter_complex "overlay=10:10" output.mov The script above ...
user avatar
  • 21
0 votes
1 answer
591 views

Can't apply "fade in" after "fade out" (FFMPEG command line)

I'm debugging the command ffmpeg -i ./input-file.mp3 -af "afade=t=out:st=**5**:d=2" ./output-file But if I try to run a new fadein, after the fadeout, it won't work. The sound doesn't come back. ...
user avatar
3 votes
1 answer
1k views

How to delete the very last frame of a video using ffmpeg / mencoder / transcode or any other?

I am trying to delete the very last frame of a video using ffmpeg / mencoder / transcode / or any other free linux application. Here is what I have so far, and it's only extracting it, it's not ...
user avatar
  • 151
3 votes
1 answer
6k views

FFMPEG - How can I add black bars to top and bottom of my video?

I have about 100 videos. I would like to add a 30 pixel horizontal black bar to the top and bottom of each video without ruining the dimenions(so even if they go over the video). How can I achieve ...
user avatar
0 votes
1 answer
81 views

"shift +" while rendering in ffmpeg, how to undo?

I was rendering a video in ffmpeg and accidentally pressed "shift" and "+", and the below started happening. What is this doing and how do I stop it and is it creating something I need to delete or ...
user avatar
  • 443
1 vote
1 answer
507 views

How to use MELT or FFMPEG for layering of a video (i.e. shifting an overlay of the same video by one frame to remove flicerking from LEDs)?

I am looking for a possibility to remove the flickering from LEDs on a video under Linux on the commandline. To do that one would have to Put the video on one track Put the same video on a second ...
user avatar
  • 13
0 votes
1 answer
383 views

FFMPEG Command Works, then stops

When I use ffmpeg with this command: $ ffmpeg -i ~/Desktop/The_Karate_Kid_2010.mkv -c:v libx264 -c:a libfdk_aac -c:s mov_text ~/Desktop/The_Karate_Kid_2010.mp4 It works, until this error appears: ...
user avatar
0 votes
1 answer
860 views

What are the benefits of a CLI encoder (e.g. FFmpeg) over GUI Software? [closed]

I have seen here a lot of questions regarding FFmpeg, but I didn't know it was a command line application until yesterday. If we have GUI software like Final Cut Pro and Premiere Pro? Apart from the ...
user avatar
  • 301
3 votes
1 answer
5k views

ffmpeg concat error

I am trying to concatenate two video files using ffmpeg, and am receiving and error. Two eliminate compatibility issues between the two videos, I am been concatenating the same video with itself, and ...
user avatar
  • 189
0 votes
1 answer
2k views

ffmpeg multiple filters not working

I am trying to specify multiple filters for ffmpeg and I am getting an error output. I am trying to do an audio and video fade in and a resolution scale. my command is as follows... ffmpeg -i 00021....
user avatar
  • 189
0 votes
0 answers
391 views

Is there command line software that syncs two audio tracks

I have a bunch of separately recorded audio and video tracks that I need to sync. By sync (synch?) I mean align the two tracks so that the audio matches as closely as possible. The two tracks are ...
user avatar
  • 13.4k