Skip to main content

All Questions

Tagged with
1 vote
1 answer
51 views

'-to' option for trimming a video doesn't work unless cmd is run from the folder where ffmpeg is located

I'm using'-to' option for trimming a video and ffmpeg says 'to' option not recongnized if ffmpeg.exe is run from a folder other than where ffmpeg.exe is located through cmd.exe. The location of ffmpeg....
Sree H's user avatar
  • 31
0 votes
1 answer
81 views

Can I capture a series of images named according to its timestamp

I am successfully capturing a screen shot every 15 seconds with the command below but I need to correlate the images to where in the video the screen shot is from. The %d gives me an integer, but ...
GDP's user avatar
  • 103
1 vote
0 answers
1k views

Corrupt MP4 file: ffmpeg codec, global header, and dvvideo errors. Can it be repaired?

So, I have a number of corrupt MP4 files (some corrupt AVI files, too, but I believe that's a different problem). They seem to have gone corrupt when I had an external hard drive that they were on ...
John's user avatar
  • 11
4 votes
2 answers
4k views

How can I scale an overlay within an ffmpeg filtercomplex?

I would like to apply a PNG overlay (watermark) to an arbitrary video file using ffmpeg. I would like the video to stay its original size (which I don't know ahead of time), and the PNG to be scaled ...
lofidevops's user avatar
  • 1,338
0 votes
1 answer
327 views

Skip parts of video while converting it to images with ffmpeg

I use this command on ffmpeg to convert a video into images: ffmpeg -i video.mp4 -q:v 1 -r 1 -f image2 frame-03d%.jpg What I want to do is to skip the first x seconds and the last y seconds of the ...
Hyperion's user avatar
  • 579
0 votes
1 answer
4k views

How to batch multiplex audio and video track files with ffmpeg

I think that everybody knows that problem about downloading 480p & 1080p videos from Youtube, and that the only way available for many Download programs is to download the Video and Audio Tracks ...
KorkOoO's user avatar
  • 213
4 votes
1 answer
17k views

Receiving FFMPEG error -22 when piping data to stdout

I am attempting to use FFMPEG to transcode avi files to mp4 and pipe the data to stdout using the following command (technically through NodeJS, but I receive the same error when executing the ...
dvlsg's user avatar
  • 185
3 votes
1 answer
3k views

Why does ffprobe report an incorrect number of frames?

I have a small video file which ffprobe describes as:- Input #0, avi, from 'sample.avi': Metadata: encoder : Lavf55.12.100 Duration: 00:00:35.00, start: 0.000000, bitrate: 546 kb/s Stream #0:0: ...
Skeeve's user avatar
  • 61
0 votes
1 answer
52 views

how to save on existing video

I have this command : ffmpeg -f dshow -i video="screen-capture-recorder" -r 30 -t 10 E:\test01.flv and i am happy with it, but i wonder if i can make it save every 30 minutes so if the power went off ...
Maged E William's user avatar
6 votes
1 answer
5k views

How to use slow motion effect in a specific time interval with ffmpeg

I'm trying to use slow motion effect on my videos. Let's say I have a 2 minutes long video and I want to use this effect between 20 and 30 seconds. I found this command from a blog: ffmpeg -i input....
iwocan's user avatar
  • 379
3 votes
2 answers
5k views

Lossless screen video capturing

Can you capture/record a video playing on the screen using a recording software(or your custom code) such that every pixel is recorded and there is no loss of information ?
Rnet's user avatar
  • 203
2 votes
2 answers
419 views

How to create a composition of movies?

Suppose I have got two videos (AVI format if that matters), say movie1.avi and movie2.avi. movie1.avi has a framerate of 10fps. movie2.avi also has a framerate of 10fps, but has been speed up ...
Bernhard's user avatar
  • 1,143
0 votes
1 answer
1k views

Proper FFmpeg code to convert AVCHD 1080i Format to WMV files

Proper FFmpeg code to convert AVCHD 1080i Format to WMV files. The image size of the input file is 1440 x 1080 and I would like to keep it in HD if at all possible as I am going to make DVDs from ...
BHR856's user avatar
  • 1
4 votes
1 answer
4k views

How can I convert an m4v video to a widely viewable format using ffmpeg?

I have a m4v video generated by iMovie. I want to use ffmpeg to generate a widely viewable video on Windows. I cannot assume that the viewer will have VLC (or any other sophisticated viewer). It needs ...
carlosdc's user avatar
  • 338
3 votes
1 answer
9k views

How to merge audio and video files with FFmpeg?

This is a question, similar to this one. I've tried following ffmpeg command: ffmpeg -i "video.mpg" -i "audio.mp3" -t 00:01:35.13 -vcodec copy -acodec copy result.with.sound.mpg And I've got some ...
Arsen Zahray's user avatar

15 30 50 per page
1 2 3
4