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
1 answer
41 views

ffmpeg insert video on top of other video

I am trying to add video on top of another video but don't know how. I am noob in ffmpeg can any one help. Code I have tried: ffmpeg -i C:\Users\harin\Desktop\test\c\10sec.mp4 -i C:\Users\harin\...
user avatar
  • 103
0 votes
0 answers
27 views

Ffmpeg producing worse result than Handbrake using x265 with identical settings

I'm trying to replicate Handbrake settings with ffmpeg, because I'd like to add some metadata and some other things with ffmpeg that Handbrake can not do. What I've done seems to be close, the ...
user avatar
  • 35
0 votes
0 answers
51 views

ffmpeg: convert dv Movie File to mp4

I have an old file called 'faces' (no extension) and although quicktime cannot open it, VLC can open the video file no problem. When viewing a folder in list view containing this file, it is listed ...
user avatar
0 votes
0 answers
13 views

Converting Gopro 9 LRV files to Resolve Proxy files

I am trying to convert Go Pro Hero 9 LRV files so I can link them as proxy media in DaVinci Resolve using Ffmpeg. First, I converted the LRV file to .mp4 LRV file is in 25 FPS so I need to up the ...
user avatar
0 votes
1 answer
19 views

how to combine two ffmpeg commands into one?

I am currently using this command to cut the first 10 seconds of all videos in a folder so the output is the whole video minus first 10 seconds. FORFILES /M "*.mkv" /c "cmd /c ffmpeg -...
user avatar
  • 1
0 votes
0 answers
28 views

Decompressing video to limit hardware requirements for playback

I have an un-typical problem. I am trying to find out is it possible to decompress the encoded video file so the playback device is capable of playing two separate 4k streams (low-end GPU). It is ...
user avatar
  • 1
0 votes
0 answers
23 views

How small can you make a video's file size, even with loss?

I want to downsize the whole bee movie to under 8mb, not caring about the quality of the video, as long as there is sound and at least a few pixels. The minimum size I have gotten with cv2 and ffmpeg ...
user avatar
  • 1
0 votes
0 answers
18 views

adding subtitles filter without changing video codec

I have a proress 4444xq video that I need to burn some subtitles in. The subtitles are in the .ass format (advanced substation alpha). I want to burn the subtitles but keep the video in prores 4444xq (...
user avatar
  • 1
1 vote
0 answers
61 views

FFmpeg preserving 360 video orientation

I am using FFmpeg (version 2022-03-24) to convert dual fisheye 360 video recorded on a Rylo camera into equirectangular format. My goal is to stitch videos in bulk on the PC instead of using the Rylo ...
user avatar
  • 293
0 votes
0 answers
49 views

ffmpeg output with assumed duration 0 on Android

I noticed that videos generated by FFMPEG have a duration of 0 on Android even when I try a full clone. I tried the following commands, but the only one that had any effect was with -movflags ...
user avatar
  • 13
0 votes
0 answers
42 views

Delay between the first packet and last packed in the muxing queue in ffmpeg

We are seeing a black screen with complete audio and video loss with muxing error continuously when we enable debug logs. We had observed initially there we few seconds of audio loss in input and it ...
user avatar
0 votes
0 answers
30 views

ffmpeg keep subtiles and audio tracks when converting

I have some mkv files, with each containing a few audio tracks and subtitles (multiple languages) and each of these files is a few hours long. Now I want to convert these files into mp4 format (webm ...
user avatar
  • 1
0 votes
1 answer
74 views

Render all video in folder with ffmpeg?

I have a folder containing a lot of 2-10 min videos ....(30 video in folder) How to process multiple videos in a folder and cut videos into small videos 55s. This is the line of code to process the ...
user avatar
0 votes
1 answer
44 views

Converting multitrack audio of an mkv video file w/ ffmpeg

I have mkv files with multitrack AAC audio which have to be converted to PCM-S16-BE. The following command works but creates a video with only one stereo track: ffmpeg -i input.mkv -c:v copy -c:a ...
user avatar
0 votes
0 answers
23 views

FFMpeg: Buffer overflow while Slideshow => Variable FPS => Constant FPS

I have a ~1h slideshow in the concat demuxer format (-f concat -i input.txt). There are at most 20 slides. I'd like to produce a constant-framerate H264 MP4. I do: ffmpeg -f concat -i vcd.txt -preset ...
user avatar
  • 217
0 votes
0 answers
35 views

FFMpeg and Handbrake video size differences

I have to use ffmpeg on my windows OS because I need different filters and settings but I noticed that the videos I'm translating are a bit big and ffmpeg disappointed me when I started trying ...
user avatar
2 votes
0 answers
124 views

ffmpeg: How to generate alpha channel MOV from mp4 matte/webm

I have two mp4 files, one file is alpha channel(matte key) and the other is original video, I convert them to .webm like ffmpeg', '-i', './files/video.mp4', '-i', './files/video_matte_key.mp4', ...
user avatar
  • 121
0 votes
1 answer
222 views

FFmpeg: Error while opening decoder for input stream #0:0 : Invalid argument

Hi I'm trying to transcode a hevc stream to h264 using ffmpeg $ ffmpeg -c:v hevc_v4l2m2m -i video.mkv -c:v h264_v4l2m2m -c:a aac out.mp4 I want to ffmpeg to explicitly decode the input hevc video ...
user avatar
-1 votes
1 answer
61 views

Converting a Lot of Video Files to H.265 Safely [duplicate]

I have a lot of video files (over 1000) that I need to convert to H.265/HVEC. The videos range in length from a few minutes to a couple of hours. Most are 1080p. My plan is to do them in batches at ...
user avatar
0 votes
0 answers
24 views

VLC creates blank video when converting with crop filter

I have an MP4 video I'm trying to crop using VLC media player. I've followed the directions here, but the result is a file with only audio and no video. What's going on and how do I fix it? UPDATE I ...
user avatar
0 votes
1 answer
56 views

Keep Modification Date (filestamp) from a MTS video to a MP4 Video - Powershell Script

I've been looking for a solution for this for sometime. The idea is simple: I've got old MTS videos that I have converted to mp4 videos through ffmpeg. Neither ffmpeg nor other alternatives such as ...
user avatar
  • 228
1 vote
1 answer
50 views

Merge audio and resize video in the same ffmpeg command

I have these two instructions in ffmpeg and I would like to know if I can use a single command for both with ffmpeg: $w=1280 $h=720 ffmpeg -i $1 -vf scale=$w:$h -preset slow -crf 18 output_00.mp4 ...
user avatar
0 votes
0 answers
43 views

VLC converting MKV to MP4 audio not working?

Firstly, I tried going to Convert->Disc, then changing the Audio track to 0 and subtitle track to 0. The subtitles work, the audio track does not. When playing the MP4 through the default video ...
user avatar
0 votes
0 answers
83 views

ffmpeg - Change color of transparent pixels?

Background: When you turn pixels transparent, you're in fact just setting the alpha value of a pixel to 00. Said pixel can still have an arbitrary colour, no matter if it's green, blue, black or ...
user avatar
1 vote
1 answer
45 views

FFMPEG - COPY MKV to MP4 but add 2.0 Stream

Morning All, Using FFMPEG currently just to re-container UHD MKV into MP4 with... ffmpeg -i File1.mkv -c:v copy -c:a copy -strict -2 File1.mp4 But these MKV only have TrueHD or DTS-HD which is fine ...
user avatar
  • 11
0 votes
0 answers
18 views

xbox 360 not being able to play mp4 files

I'm trying to play a video on my Xbox and even used a handbrake preset made for Xbox 360 which made the video I wanted h264 and 720p. It even had hard-coded subtitles. The preset usually works, but ...
user avatar
0 votes
0 answers
206 views

ffmpeg command, what is the "best" config to re-encode video Youtube?

Let's say we have a video generated with matplotlib.animation with the code below (while can't figure how to have the mp4 file with HD 1080p, but we can re-encode with Final cut pro HD 1080p) Writer =...
user avatar
0 votes
0 answers
152 views

FFMpeg is changing from CFR to VFR on a simple rewrap

I'm exporting an x264 MP4 file from Premiere Pro (using Voukoder), then adding subtitles and converting to MKV. The mp4 output file from Premiere is reported as CFR (by MediaInfo), but after ...
user avatar
0 votes
1 answer
84 views

Handbrake CPU usage goes to 100% when I plug in charger

My laptop specs: 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz 3.11 GHz + Iris Xe Graphics + 8GB RAM + 512GB NVMe SSD Normal cpu usage for handbrake stays between 20-30 % of cpu when on battery. But ...
user avatar
0 votes
1 answer
28 views

FFmpeg&FFPlay: Option `start`&`end` of filter `trim` have trouble parsing time duration string but `-ss`&`-to` works perfectly

I'm tring to preview cut video before process it on Windows, this Cut.bat is what I tried: @echo off @cd/d %~dp0 REM Entered by user set startTime1=5 REM Entered by user set startTime2=00:05 REM ...
user avatar
  • 245
1 vote
0 answers
38 views

How to convert .DXA file with ffmpeg

I have .dxa video footage that I'd like to convert to a more standard format with ffmpeg. By doing research I found some people reccomend converting to .yuv first, then convert from .yuv to .mp4. (...
user avatar
0 votes
1 answer
43 views

Convert AV1 container file to AV1 bitstream with ffmpeg

I want to extract AV1 bitstream from an AV1 container file(webm, mkv etc). For H264 files this command works: ffmpeg -i trial.mp4 -c:v copy new.h264 But when same is used for AV1 bitstream: ffmpeg -i ...
user avatar
0 votes
0 answers
43 views

ffmpeg: Splitting and joining video

I like to use ffmpeg to split a video into separate chunks, to apply different filters to each of these chunks (mostly cropping and scaling) and in the end put all those chunks together again. ...
user avatar
  • 1
0 votes
0 answers
33 views

Handbrake videos displayed letterboxed, how to avoid?

I have encoded a DVD with HandBrake as mkv with one of the GENERAL (720p) presets. When I play this on my SONY TV (with the TV's function to play video files) it is shown letterboxed (black bar on top/...
user avatar
  • 1,793
1 vote
1 answer
199 views

Use ffmpeg to convert .mkv to .mp4 while retaining hard-embedded subs

I'm trying to convert an mkv video into mp4 while keeping the hard-embedded subs. Extra information is below - does anyone know which command I should use to make this work? So far I've tried these ...
user avatar
  • 11
0 votes
0 answers
43 views

HLS and Fragmented MP4 with hls_flags single_file is not working

As per the link https://hlsbook.net/hls-fragmented-mp4/, I used command ffmpeg -y -i sintel_trailer-720p.mp4 -force_key_frames "expr:gte(t,n_forced*2)" -sc_threshold 0 -c:v libx264 -b:v ...
user avatar
0 votes
0 answers
137 views

Facing issues while generating HLS with fmp4 in FFmpeg

In my project, I had been generating HLS with a single ts file. I'm trying to incorporate fragmented mp4 with HLS. But the transcoded video has issues (glitches in audio & video). The command ...
user avatar
1 vote
0 answers
383 views

Calculate PSNR, VMAF, SSIM using FFmpeg

I am trying to calculate PSNR, VMAF, SSIM using FFmpeg after I reencode to 10-bit H.265 codec but I keep getting an errors: "An invalid or unaligned stack was encountered during an unwind ...
user avatar
0 votes
0 answers
80 views

How to convert m3u8 into mkv which utilizes separate mp4 & m4a references

The .m3u8 file calls out multiple mp4.m3u8 files (with varying resolution) and two m4a.m3u8 file (audio aac, high & low resolution); when I attempt to convert I am losing the audio.. if I convert ...
user avatar
  • 1
0 votes
1 answer
136 views

How to reduce the size of a 1080p mp4 vid file by downsizing to 480p mp4 format, using ffmpeg

I have a bunch of mp4 format video files to be uploaded and made available online for consumption of friends and family. The preliminary review of files show, they are over one GB each and their ...
user avatar
  • 1,255
0 votes
1 answer
89 views

Turning a 5.1 .mkv into 2.0 or 2.1

Is it possible to turn a mkv file that only has 5.1 into a a 2.0 or 2.1 (or maybe just add 2.0 and 2.1 as an additional sound track) without touching anything else. Is this possible?
user avatar
0 votes
0 answers
36 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
1 answer
118 views

How to convert video to transcript locally on PC?

I am seeking a certain feature. At my University, the professor is recording his lectures, and uploading the videos to his website. On the website, he has some kind of software which converts his ...
user avatar
  • 193
0 votes
0 answers
114 views

remux .h264 file to specific duration and framerate

I have a file originally captured on a Raspberry Pi as .h264. The duration of the capture time was 20 minutes, and the original capture rate was 30 fps. However, owing to the constraints on the media ...
user avatar
  • 1
1 vote
0 answers
2k views

Convert Dolby Vision file in MKV container to MP4 container

I have a 5GB Dolby Vision file encoded in MKV container. If I play this file in my LG CX TV, there is a discoloration all over the display. Apparently the default WebOS media player that comes with ...
user avatar
  • 11
0 votes
0 answers
235 views

I need FFMPEG command to convert some video files from h.265 to h.264 with Nvidia hardware

I have a decent Nvidia graphics card, capable of h.265 and h.264 encoding and decoding in hardware (Geforce RTX 2060), running on a Ubuntu installation. I have a whole bunch of video files that I need ...
user avatar
2 votes
2 answers
605 views

Is there a possibility for a batch conversion of video files (different formats) and delete metadata with ffmpeg?

I have a lot of video files of my family. I'am on Windows and the video formats are different: Video files: DVD directories contain: Files in DVD directories were recorded with a DVD recorder and ...
user avatar
  • 27
-1 votes
1 answer
203 views

Valid containers (mp4, mov, avi, mkv, web) for codecs in ffmpeg

Typically I use the following codecs - h.264, h.265, vp9, dnxhd, cineform and prores. I consider the following to be valid containers for these codecs. Codec MP4. MOV. AVI. MKV. WEBM. H.264 ...
user avatar
  • 263
0 votes
1 answer
137 views

FFmpeg commands for best quality conversion mp4 to DVD9 PAL

I need to convert a mp4 H264 to DVD9 PAL with the best video quality. I have tried to convert by WinFF, using the profile DVD PAL HQ Widescreen and the I added some commands like this: -f null -target ...
user avatar
  • 1
0 votes
0 answers
212 views

.SEC to .MP4 or .AVI

I'm attempting to convert samsung DVR footage of a police interrogation/questioning to a more usable format such as mp4 or avi. I'm able to get the .sec to convert to either format but the audio doesn'...
user avatar

1
2 3 4 5
18