Questions tagged [video-conversion]

The video-conversion tag covers software & formats related to converting videos from one format or container to the other.

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

h264_qsv is choppy when live streaming

I am trying to do live streaming of video games using h264_qvs, but is choppy when compared to libx264. Here are some variations of the ffmpeg command I am running: Variation 1 ffmpeg.exe -y -hwaccel ...
1 vote
1 answer
151 views

Trimming ffmpeg

I used this command to trim the video: "ffmpeg -i input.mp4 -to 00:06:49 -c copy out1.ts ffmpeg -ss 00:07:13 -i input.mp4 -c copy out2.ts ffmpeg -i 'concat:out1.ts|out2.ts' -c copy output3.mp4&...
0 votes
1 answer
140 views

FFmpeg: Audio is sped up after compressing AVI video

I have an AVI video and I want to reduce the file size. When I run the FFmpeg command below, the resulting audio in the video is sped up, and the last bit of the video has no audio. I play all my ...
0 votes
1 answer
378 views

ffmpeg - cut without reencoding and strange behaviour: application provided duration is out of range for mov/mp4 format

In Ubuntu 18.04 I quite often used the following command for trimming part of the video without re encoding (which means without any quality loss). ffmpeg -ss 00:06:00 -i DSCF5984.MOV -t 00:07:00 -c ...
0 votes
0 answers
370 views

Can QuckSync h264_qsv do 4.2.2 (p010le) encoding?

I've run into an odd situation that I can't resolve. When I retrieve the encoder characteristics of the ffmpeg build I'm using, it shows that the h264_qsv codec supports three pixel formats: ''' I:\...
0 votes
1 answer
710 views

Edit video h.264 metadata without encode

How can I edit these video (h264) parameters (on pic) without encode? VUI parameters "video_signal_type_present_flag" and "colour_description_present_flag". As far as I understand, ...
0 votes
1 answer
197 views

What is the syntax for ffmpeg's -vf "split" option?

I'm trying to learn how to use ffmpeg, and I came across this filtering example on http://trac.ffmpeg.org/wiki/FancyFilteringExamples. Specifically, this one: ffplay -f lavfi -i mandelbrot -vf "...
0 votes
0 answers
183 views

Converting exr frames to mp4 has scrambled frames

I have an exr frame sequence that I would like to convert to an mp4 or mov. The frames are in proper order and I can play the sequence properly in any image sequence player such as mplay or nuke. The ...
5 votes
7 answers
33k views

Change audio track order in MKV files

I have a bunch of MKV files, that were all made the same way: one video track audio track 1 is english audio track 2 is german Now I want to change the audio track order, so that german is track 1 ...
0 votes
0 answers
93 views

ffmpeg takes a lot of time when splitting a video towards the end

I have a 3 hours long video and I am trying to split the video at given intervals. The intervals which appear earlier are quickly split but the later ones takes a lot of time. The command that I have ...
1 vote
2 answers
280 views

FFmpeg - How to replace the image of a video with a png without modifying the audio?

I'm trying to modify several videos as quickly as possible. The goal is to replace the original image of the videos with a black or white image, in short, an image with nothing. Searching the internet ...
1 vote
1 answer
1k views

FFMPEG: 2 FPS video to 30 FPS. How?

I have a 2 FPS video and I would like it to be a 30 FPS with a speed increase of 15. Is this "re-sampling up"? I don't even know how to google the question.
0 votes
1 answer
2k views

Scale_Cuda or Scale_npp no such filter found error

I, I have been trying to use hardware transcoding using nvidia GPU, everything works fine but when I use scale filters such as scale_cuda or scale_npp, I get an error no such filter. I have tried ...
0 votes
2 answers
64 views

How to run same cmd code across multiple folders

I'm trying to run same cmd code across multiple folders: ffmpeg -i "00.mkv" -codec copy "00.mp4" So i have few folders that have .mkv and would like to convert them into mp4 but ...
0 votes
0 answers
51 views

is there a way to do multiple file operations in ffmpeg input

I have gopro video's that need heavy color editing and i have figured out to disassemble my videos in high quality frames -> converting them with ART-rawconverter -> Reassembeling them into ...
0 votes
1 answer
310 views

ffmpeg warning and no sound on the encoding video

i try to convert a dvd to mp4 with ffmpeg (on windows) but i have some warning message AND i have no sound on the converted video i use this cli : ffmpeg -hwaccel qsv -i VTS_01_1.vob -vf yadif -c:v ...
0 votes
0 answers
110 views

Averaging film transfer from 59.94fps to 24fps using ffmpeg?

I have some video files which were transferred from black-and-white film to 29.97 fps interlaced. The film was transferred too darkly (meaning that it requires some brightening), and it also has some ...
0 votes
0 answers
123 views

FFMpeg fails with LZW decode failed / invalid block label when converting gif to mp4

I'm using FFmpeg to convert gif into mp4 files. On some gif files I encounter an invalid block label error. The program seems to still output an okay mp4 file but I'd rather it not encounter the error ...
0 votes
0 answers
131 views

How to add random music for video with ffmpeg

I'm a new user of FFmpeg, I want to add random music (defined folder) for multiple video with ffmpeg ? Specifically: I have a FFmpeg command, i used to process multiple videos in the folder at the ...
0 votes
0 answers
57 views

There is mosaic phenomenon when muxing h264 raw stream to mp4 or flv by using ffmpeg6.0

I am currently using ffmpeg 6.0 to encapsulate h264 raw streams into mp4, flv, or rtmp formats. When the bitrate exceeds 1024kb/s, there is mosaic phenomenon at the bottom of the final picture. I ...
-1 votes
1 answer
555 views

Two video overlays another with FFMPEG

I'm a new user of FFmpeg, and I want to insert a logo on two videos (one video overlay another) with one command. FFmpeg command (ok): ffmpeg -stream_loop -1 -i background.mp4 -i input.mp4 -i logo....
2 votes
2 answers
6k views

How to compress a video to VVC(h266) or Versatile video Coding

I have a h264 video. I want to compress it to Versatile Video Coding(h266) by using ffmpeg. Can anyone tell me how to do it by using ffmpeg or any other way.
1 vote
1 answer
61 views

VIdeo overlays another incorrectly - background is over overlay

I'm a new user of FFmpeg, and I want to insert a logo on two videos (one video overlay another) with one command. FFmpeg command (ok): ffmpeg -stream_loop -1 -i background1080p.mp4 -i input1080p.mp4 ...
1 vote
1 answer
383 views

Unwrapping 360 video file

I'm looking for a way to unwrap surveillance camera 360 video file. I tried this using ffmpeg : ffmpeg -i Stationnement.mp4 -vf "v360=eac:e" Stationnement_Output.mp4 and got this error [...
1 vote
1 answer
65 views

ffmpeg: Merge short audio sound between two audio streams

I have two videos input1.mp4 and input2.mp4 both of them with duration of 60 seconds. I also have one 8 seconds long audio input sound.mp3. So right now I'm concatenating these two videos with xfade ...
0 votes
0 answers
188 views

FFMPEG MP4 Snippet from RTSP Stream Occasionally Gives Corrupt MP4 Data

I'm using the node.js fluent-ffmpeg library that responds to an event, and takes a three clip from an RTSP stream using the code: const getCameraVideoSnapshot = ( rtspUrl: string, logger: Logger, ...
1 vote
1 answer
624 views

ffmpeg shows "get_buffer() failed". Is this a bug?

ffmpeg version 2023-06-19-git-1617d1a752-full_build-www.gyan.dev i7-1255U, Windows 11 The command line is "ffmpeg.exe" -y -hwaccel qsv -ss 00:00:03.461 -to 00:00:12.009 -i "input....
1 vote
1 answer
2k views

How to fade from one video to another in ffmpeg, both audio and video

I've been experimenting with the xfade (video) and acrossfade (audio) filters in ffmpeg to allow the 'fading' between two input videos, but I don't actually see a way to get ffmpeg to properly fade ...
-1 votes
1 answer
440 views

How can I burn in .ass file and a watermark to a video file using ffmpeg simultaneously?

I want to add subtitles and a watermark to a video using ffmpeg. For now, I'm using Handbrake to burn in the subtitles and later I execute an ffmpeg command to add a watermark from png file. The ...
8 votes
3 answers
29k views

Converting .mp4 to .264 using FFmpeg

I am completely new to FFmpeg and am trying to convert my test.mp4 to (it has to be specifically) a .h264 file. I have tried the following in Terminal: ffmpeg -i test.mp4 -c:v libx264 test.h264 but ...
2 votes
1 answer
7k views

Handbrake output directory to include Title folder

I am using handbrake to convert my DVD's to .MP4 and have set the default output path Tools -> Options -> Output Files In here there is Default Path: which I have pointing to my Movies folder ...
2 votes
0 answers
323 views

Facing delay in audio while using ffmpeg with h264_nvenc encoder

I am trying to capture my windows10 desktop with desktop duplication api and on-gpu D3D11 textures, in the form of ffmpeg D3D11VA frames @60 fps. Required command is given here. On top of that I am ...
1 vote
1 answer
1k views

ffmpeg transparent HEVC video from alpha matte and color video on macOS

I have an alpha.mp4 (alpha matte video) and a color.mp4 (color video). How do I use ffmpeg to make a transparent HEVC (.mov) video? I can combine with ffmpeg to make a .webm file following the ...
9 votes
3 answers
24k views

Conversion from WMV to MP4 file fails with FFmpeg

When converting a WMV file to an MP4 file, it says [mp4 @ 0x989c160] track 1: could not find tag, codec not currently supported in container and Could not write header for output file #...
24 votes
1 answer
29k views

FFmpeg split video and merge back

I'm trying to use FFmpeg to split video based on some start_time and end_time inputs, and replace those with other video files. For instance, for input 10 15 I will need to replace EXACT seconds 10 to ...
1 vote
0 answers
199 views

Steps to troubleshoot lost audio and subtitles after using ffmpeg?

I have a video file in which the video and subtitles are about 27.3 seconds ahead of the audio. I'd like to sync them back up. I followed the instructions on this post: In ffmpeg, how to delay only ...
0 votes
0 answers
341 views

How to convert gifs to video while keeping framerate

edit: Looks like converting the gifs may not really be changing the frame rate, guess the question is moot. I have a lot of gifs nested in multiple subdirectories and they have different frame rates ...
0 votes
1 answer
1k views

Handbrake - automatically keep aspect ratio when downscaling?

How can I in Handbrake 1.6 automatically keep the aspect ratio when downscaling a clip? I found this YouTube video https://www.youtube.com/watch?v=XwiVjJwVawo and as you can see there used to be a ...
0 votes
2 answers
49 views

How to merge series of ffmpeg commands?

I am using the following series of commands to produce a video. Is it possible to merge all or some of those commands? First, I extract some parts of the video, let's say three: ffmpeg -y -ss 1666 -i ...
0 votes
0 answers
184 views

ffmpeg convert wmv to ASF (MP43+WMAv9)

Sorry for my very limited knowledge of codecs and ffmpeg, but... I need to convert a WMV file with these specs: .wmv 1280*720 (16:9) WMV3 = Windows Media Video 9; 192 Kbps, 44100 Hz, 2 channels, ...
36 votes
4 answers
40k views

Lossless extraction of streams from WebM

I would like to extract streams from WebM video files without converting them (re-compression), can somebody recommend any software that can allow this?
1 vote
0 answers
400 views

How to Get Video Lossless Rotation When Re-encoding Using FFmpeg?

I'm looking for how to rotate a video without losing any quality when re-encoding. I currently use ffmpeg -i "inputvideo" -crf 0 -vf transpose=2 -acodec copy "outputvideo". ...
0 votes
1 answer
1k views

FFMPEG: how to correctly convert avi containing "rawvideo, bgr24" to mp4?

I have .avi file: $ ffprobe input.avi -hide_banner Input #0, avi, from 'input.avi': Duration: 00:01:08.05, start: 0.000000, bitrate: 182785 kb/s Stream #0:0: Video: rawvideo, bgr24, 1060x615, ...
2 votes
1 answer
198 views

Different brightness merging multiple BMP files into MP4 using ffmpeg

I want to edit a small video frame/image by image without losing quality (or without losing much of it). I have used ffmpeg to split into images using the following line: ffmpeg -i test.mp4 $filename%%...
14 votes
1 answer
26k views

Using ffmpeg to denoise (reduce film grain)

I have a large collection of movies I'd like to re-encode to both reduce size and improve picture quality. A large number are old black and white movies that are pretty grainy, but even titles through ...
1 vote
0 answers
827 views

How can I get FFmpeg to better use GPU and CPU resources the way HandBrake does?

Occasionally I needed interpolation feature for my videos, but i failed to find option in HandBrake GUI (if HandBrake already have it, please let me know). After some trying to launch minterpolate ...
0 votes
1 answer
164 views

Replace video track in MKV with track from .h264

I want to replace only the video part in my existing mkv file with the video.h264 file I created externally, I don't want to interfere with other parts or features in my mkv file such as audio or ...
2 votes
1 answer
3k views

FFmpeg unable to find a suitable output format when run from script

I'm trying to write bash script, which I can use to start encode of my video for web player, and also log to file when it started / finished. It looks like this: #!/bin/bash >/var/www/stat/encode....
10 votes
3 answers
4k views

Convert Mp4 to Mp3 with thumbnail

I'm able to convert a mp4 to a mp3 in ffmpeg, but I'm not sure how I would add in a thumbnail of the video. Currently have this to convert from mp4 to mp3 ffmpeg -i video.mp4 -acodec libmp3lame -...
3 votes
5 answers
137k views

How to include video (video file, not online video!) in microsoft word?

How can I include video (I mean video file that is on my hdd that will be included inside word file, not online video!) in Microsoft Word 2013/2016? I need to include it as a video that can be played ...

1
2
3 4 5
20