Skip to main content

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
1 vote
0 answers
30 views

How can I remove every nth frame from raw video using ffmpeg?

I have many cine films that have been digitally converted. They have been converted as a 25 fps with 2 frames in every 23 duplicated. I need to remove the duplicated frames using a bitstream filter so ...
DaveB44's user avatar
  • 11
0 votes
0 answers
8 views

Segmented File Size

In VirtualDub2, when I select "Save segmented AVI", it uses the default settings which are set to raw video and PCM for audio. How do I change it to other settings like H.264 and AAC? If ...
Calvin Jack's user avatar
0 votes
0 answers
58 views

Split Videos using File Size in ffmpeg

How do I split videos by file size using ffmpeg? For example, I have a 1.92GB video and I want to split it into 200MB videos. There are two ways how I want to split them: Losslessly by using the -c ...
David Pilling's user avatar
0 votes
0 answers
76 views

Having multiple issues when attempting to convert h.264 files to h.265 using HEVC

I am using RiaanAspeling's script for the conversion of my library that I currently have, most of it is H264 and I want to convert it to H265 to reduce the size of the files that I have hosted on my ...
tito-willis's user avatar
0 votes
1 answer
58 views

How to convert videos of any format to MP4 and only take the first minute of the video

I'm working on a project, essentially a social media app for the traveler community. In this application, users can upload videos in any format, but I need to save them in MP4 format so that any ...
thecoderscamp's user avatar
0 votes
0 answers
27 views

YUV: Change the Chroma Subsampling and Bit Depth Without Losing Quality

Let's say I have a short video with YUV 4:4:4 and 10bit depth, and I convert it to a FFV1 with YUV 4:2:0 and 8bit depth. Is the FFV1 lossless? Will the colors be the same? If so, how do I convert ...
David Pilling's user avatar
0 votes
0 answers
52 views

Making Visually Lossless GIFs and Animated WEBPs

Which software can make the best visually lossless gifs out of videos? Also, how do I use rgb and/or rgba when making visually lossless animated WEBP files?
Calvin Jack's user avatar
1 vote
0 answers
43 views

Why the video is like this after ffmpeg save RTSP stream to MP4 file?

I use ffmpeg to save an IPcam RTSP to a MP4 file, but the video have half green or gray blocks, here is the parameter: ffmpeg -i "rtsp://192.168.0.37/live/1" -s 1920x1080 -filter:v "fps=...
UncleKing's user avatar
0 votes
0 answers
15 views

How to create a video encoding ladder for any aspect ratio?

For a given video uploaded by a user, I need to create three versions of it to cover standard definition (SD), high definition (HD), full high definition (FHD), and ultra high definition (UHD e.g. 4K)....
volume one's user avatar
0 votes
0 answers
163 views

Multithreading in ffmpeg with -f rawvideo

The newly released verion 7.0 of ffmpeg has greatly improved multithreading support for transcoding on the commandline. (https://ffmpeg.org/download.html#release_7.0) Previously transcoding with ...
Sugrue's user avatar
  • 121
0 votes
0 answers
26 views

Fail to convert png from 3gp

Here is the command I used to convert the video. ffmpeg -skip_frame nokey -i input.3gp -vsync vfr -frame_pts true output.png (The command can't be modified because this is a code section captured from ...
Alex's user avatar
  • 1
0 votes
0 answers
43 views

Tdarr: Meaning of status file fields?

In Tdarr, the "Status" tab allows saving several csv files. There does not appear to be any documentation of the meanings of the fields in these files. Can someone say what meanings are of ...
NewSites's user avatar
  • 780
0 votes
1 answer
49 views

Lossless Files on Shutter Encoder

I saw that you can make animated WEBP and J2K files on Shutter Encoder. But are they lossless? I want to convert a video into these formats, but I don't know if they will be lossless using Shutter ...
user1897354's user avatar
1 vote
1 answer
130 views

FFMPEG - How to Merge Three Files - Only Middle One Has Audio

I have three videos that I want to merge into single one. Intro video (mp4) - 3 seconds - No Audio Main video (mp4) - 1 minute - With Audio End video (mp4) - 3 seconds - No Audio When I use ffmpeg, ...
DigitalNomad's user avatar
  • 1,708
0 votes
0 answers
106 views

M2V and BIK to MKV

How do I remux bik files to mkv? I tried using ffmpeg and Shutter Encoder but neither of them worked. How do I convert them to mkv and other formats without losing quality? I used ffmpeg -i input.bk -...
user1897354's user avatar
0 votes
0 answers
60 views

ffmpeg package loss during *local* transcoding

I'm trying to transcode videos with outdated codecs/containers, mostly .wmv or .avi files. The following ffmpeg (v6.1.1) command works and produces a working .mp4 file that doesn't seem to present any ...
r41n's user avatar
  • 101
1 vote
1 answer
329 views

How to fix ffmpeg concatenated video playback issue?

I want to put watermarks in my video (in Specific time). I researched some sources, and it said I need to (video filter) reencode the whole video to put a watermark, but I don't have a high-end PC to ...
Raymond's user avatar
  • 23
0 votes
1 answer
181 views

Downsampling 4:4:4 YUV video to 4:2:2?

I'm attempting to downsample a YUV raw video in FFMPEG from 444 to 422 sampling, but the issue is that the output file remains 444?! Framerate and size is all correct. Here's my most recent code: ...
Daniel Bland's user avatar
0 votes
1 answer
282 views

How to choose correct color space and transfer function with ffplay

I need to play a video using ffplay that was recorded with GeForce Experience screen recorder, but the rendered video has incorrect colors. It works correctly if I play it with VLC player, but I need ...
user17952421's user avatar
1 vote
1 answer
76 views

Getting a list of frames from an input video with ffmpeg as pictures

I am trying to extract a small number of frames from a video, like this: ffmpeg -i input.mp4 -vf 'select=eq(n\,1395)+eq(n\,2790)+eq(n\,4185)+eq(n\,5580)' \ 'img%01d.jpg' However, what I get, is ...
peterh's user avatar
  • 2,652
3 votes
1 answer
262 views

FFmpeg zoompan animation results in zig-zag pattern

The goal is for a user to specify a zoomPoint in a video and we then render that using FFmpeg. There will be a zoom in and zoom out animation. Here are some example values: "scale":4, ...
kregus's user avatar
  • 81
0 votes
0 answers
126 views

FFMPEG does not load Font from ASS file

I'm trying to burn an ASS subtitle file onto a video using ffmpeg. This is the style part of the ASS file: [Script Info] ; Script generated by FFmpeg/Lavc60.3.100 ScriptType: v4.00+ PlayResX: 384 ...
Mehdi Haghgoo's user avatar
1 vote
1 answer
311 views

Flip video with hardware acceleration ffmpeg on Windows 11

I am trying to use hardware acceleration to horizontally flip videos but I can't seem to get it right. I don't want to change the codec but just keep the same (just hflipped). I am using Intel Arc Pro ...
Sha's user avatar
  • 311
1 vote
0 answers
118 views

Playback drops frames or stutter on good hardware

I'm planning to use TDARR and trying to prevent any issues before with (re)encoding. And I have stumbled on issue with one TV Show - recently I have downloaded refreshed old show but playback stutters ...
Lemonek's user avatar
  • 21
0 votes
1 answer
190 views

How do I compile ffmpeg so that "-map_metadata -1" works.?

I just tried the (static) ffmpeg build from https://johnvansickle.com/ffmpeg/ and I also tried the ffmpeg build that comes with my Linux Mint 21.2 distro and they both were able to remove the metadata ...
BongoR's user avatar
  • 1
0 votes
0 answers
82 views

FFMPEG - PNG Overlay - Fade In / Out - Start & End of video + Combine Videos

Hoping someone can help me with this. I'm looking to automate some editing tasks. I want to write an FFMPEG command that will do the following. Input is VIDEO.MP4 Add a 1 second fade in and out to ...
bd_1234's user avatar
3 votes
3 answers
573 views

Convert a video with a specific subtitle overlay

I downloaded a video file found on TED. It was with subtitles in different languages. Then I tried to convert it to an MP4 file using the VLC media player. In the conversion profile, I checked Overlay ...
Mori's user avatar
  • 74
0 votes
0 answers
138 views

Not so obvious error while copying .DAT file

There is a .DAT file saved on video CD which is to be saved on SD card. The usual copy paste procedure failed midway showing error "can't read file". The operation was executed by using ...
Qwerty's user avatar
  • 101
1 vote
1 answer
921 views

ffmpeg video encoding has no audio

When I convert any video in ffmpeg - e.g. mp4 to mkv, mkv to mkv - I lose audio for some reason here are the parameters I originally used: ffmpeg -i input.mkv -vf scale=640x480 -vcodec libx264 -...
Patrick Hydar's user avatar
0 votes
1 answer
213 views

How do I prevent FFmpeg from replacing all the audio stream names with SoundHandler?

I'm using FFmpeg to change a video container from mkv to mov with this code: ffmpeg -find_stream_info -probesize 84M -i input_file.mkv -map 0:v -map 0:a -map -0:s -codec copy output_file.mov -...
Franon's user avatar
  • 1
0 votes
1 answer
449 views

Convert MKV to HLS with all audio tracks and subtitles available

For the past few weeks, I've been trying to convert MKV and HLS files. Currently, I'm burning the first available subtitle track of the file in the video and keeping only the first audio track. What i ...
Tutifruti's user avatar
0 votes
0 answers
87 views

Using ffmpeg and concat demuxer producing weird video navigation behaviour

When combining multiple videos segments, each encoded with H265 and Vorbis and containing the same number of streams and frame rate, I use: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mkv ...
user112346's user avatar
0 votes
0 answers
27 views

Subtitles suddenly appearing in videos

I have been converting files in order to reduce size, and I notice some of the converted videos now have subtitles where there were none before. I am using the Leawo converter, and the subtitle ...
jrwb's user avatar
  • 1
0 votes
0 answers
160 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 ...
Devin Dixon's user avatar
0 votes
1 answer
483 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 ...
user2707175's user avatar
0 votes
0 answers
481 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:\...
Bart Lederman's user avatar
1 vote
1 answer
1k views

FFMPEG: How to convert VFR to CFR without messing up the timing

I got a video of the iOS simulator recorded with xcrun simctl io booted recordVideo raw.mov This video has a variable framerate Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668), ...
Norbert's user avatar
  • 113
0 votes
1 answer
153 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 ...
Karen S's user avatar
0 votes
1 answer
870 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, ...
Ligre's user avatar
  • 1
0 votes
0 answers
201 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 ...
j0rg3's user avatar
  • 1
0 votes
0 answers
96 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 ...
Suvid Sahay's user avatar
1 vote
2 answers
348 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 ...
Rafael Coisa's user avatar
0 votes
2 answers
66 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 ...
Zolboo B's user avatar
0 votes
0 answers
61 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 ...
Corneel van Maele's user avatar
0 votes
1 answer
338 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 ...
Eric's user avatar
  • 1
0 votes
0 answers
119 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 ...
The Poodle Bites's user avatar
0 votes
0 answers
144 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 ...
ClassyUnderexposure's user avatar
0 votes
1 answer
227 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 "...
trichroma's user avatar
0 votes
0 answers
142 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 ...
alexdo's user avatar
  • 145
2 votes
1 answer
2k views

Is it okay to re-encode videos from traditional lossless codec to modern lossless codec to save space and preserve quality?

Lossless video codec means almost zero information loss. After some internet search I found that there are some traditional opensource lossless codec like huffyuv, lagarith, utvideo and ffv1, which ...
ArchBug's user avatar
  • 21

1
2 3 4 5
20