Questions tagged [video-conversion]
The video-conversion tag covers software & formats related to converting videos from one format or container to the other.
914
questions
-1
votes
0
answers
27
views
How do I automatically generate subtitles for a 3-hour-long movie?
Sorry I don't have anywhere else better to ask this question
I have a Japanese video that is 3 hours long. There are two-people conversations throughout the mp4 video with long pauses in between. I ...
-1
votes
0
answers
30
views
How to generate an .mp4 video with a static.png added with new effect as ffmpeg can add
Hoping You All are doing well.
I'm here to kindly ask how I can add effects to my generated ffmpeg videos, for example with this code I can generate a static video from a video.png and a 01.wav :...
-1
votes
1
answer
41
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 ...
0
votes
1
answer
66
views
How to batch convert .mkv to .mp4 using ffmpeg in macOS?
I am using this command to convert from .mkv to .mp4 in macOS:
> ffmpeg -i input/*.mkv -codec copy mp4/%~n.mp4
zsh: no matches found: input/*.mkv
> ffmpeg -i "input/*.mkv" -codec copy ...
1
vote
0
answers
29
views
Why does my SVT-HEVC-encoded video run out of sync?
I'm trying to transcode a video (with audio) to HEVC using Intel's SVT-HEVC encoder. The video's audio tracks are in sync before transcoding.
Both ffprobe and mediainfo agree that the input video is ...
2
votes
0
answers
79
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 ...
2
votes
1
answer
128
views
How to copy a data stream (non-A/V) from input MP4 file from a DJI drone with FFmpeg?
I've got an MP4 video file captured by DJI drone. The file contains the video stream (H.264) and also two data streams of unknown format. I would like to convert the video from h.264 to h.265 and also ...
0
votes
0
answers
65
views
Re-encode audio using qaac.exe (Multiple Audio Streams)
I have tried the script below posted on another question but how do i amend this script to convert all audio streams to AAC using the qaac encoder? The script below is only converting the first audio ...
0
votes
0
answers
83
views
how to remove SVT AV1 information from FFMpeg output
I can't find how to remove SVT AV1 information, like the ones I report below, from the FFMpeg output.
Command :
.\ffmpeg.exe -loglevel error -hide_banner -stats -hwaccel auto -i .\in.mp4 -c:V ...
0
votes
0
answers
34
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
33
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
120
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
36
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
64
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, ...
0
votes
0
answers
193
views
Anti-aliasing video in FFMPEG
I have some 1080p footage which is quite rough on the edges. Are there any FFMPEG filters or other approaches to anti-alias frames while transcoding?
I've tried upscaling the video by 25 percent with ...
0
votes
1
answer
277
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, ...
1
vote
1
answer
69
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%%...
1
vote
0
answers
235
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
63
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 ...
0
votes
0
answers
79
views
Trying to export videos from AE into xdcam hd 422 codec format with .mp4
Here the requirement specs
* 16:9 aspect ratio, 1920*1080 pixels, .MP4
* Frame rate: 25
* fps Bit rate: 50Mbit/s CBR
* Codec: XD CAM HD 422
* Sound: Stereo track 1 & 2, 10dp to -12dp4
As ...
0
votes
1
answer
395
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 ...
0
votes
1
answer
38
views
I don't know how to play this videos
This videos are from an IP camera but I don't know how or where I can play it. I tried with VLC using a demuxer for h.264 but it doesn't work.
I tried converting the videos to mp4 but it looks like ...
0
votes
0
answers
554
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 ...
1
vote
0
answers
49
views
Is there some way to losslessly "cut off" from the beginning and/or end in an .mp4 file?
First of all, yes, I know that .mp4 videos are lossy.
Many of them contain annoying unwanted stuff in the beginning or end, which I neither want to see nor want to take up storage space on my disks.
...
8
votes
2
answers
1k
views
FFmpeg incorrect colourspace with hardcoded subtitles
Problem
I have a MKV file which has 1 video and 1 subtitle stream, of which I want to hardcode the subtitle stream and output a MP4 file.
Example file, images and results can be found here.
mediainfo
...
0
votes
0
answers
16
views
Transcode with FFMPEG: H264 -> H265 [duplicate]
I need to transcode a live stream (encoded in h264) to h265 with ffmpeg.
Unfortunately my hardware is not able to encode H265 by hardware (but can decode H264).
Currently I'm using:
ffmpeg -re -i &...
1
vote
0
answers
412
views
Demux video and KLV data from MPEG-TS stream, frame-by-frame, in sync
I need to demux the video frames and KLV data from an MPEG-TS stream in sync, frame-by-frame.
The following command to demux the KLV data and outputs a text file with the KLV data.
gst-launch-1.0 ...
0
votes
1
answer
189
views
FFMPEG and Powershell Script not working (worked in the past)
I had to reinstall windows, now I'm trying to get it working again with no luck.
The Script is a .ts to .mp4 batch converter, when I set it up the first time, I included the link at the top for ...
0
votes
0
answers
85
views
ffmpeg .3gp file from Twilio (MMS) to .mp4 audio plays too fast or broken
Trying to transcode a .3gp file that was received from Twilio into .mp4.
Transcoding works, but the audio is severely broken. Almost like it is playing back too fast. The video is 17s and audio only ...
1
vote
1
answer
373
views
ffmpeg 3D conversion - EAC stereo (Youtube) to Equirectangular stereo?
I've had success with converting monoscopic equiangular cube maps (EAC) videos, but I can't get the filters to work for stereoscopic. There's an example in the ffmpeg manual in the v360 filter ...
0
votes
0
answers
82
views
convert 360 deg 3840x1920 .mkv (eac) to same size .mp4 (equirectangular)
Many times these files convert without issue using -vf "v360=eac:e" as the filter. Sometimes it complains the height is not evenly divisible by two. I have tried padding and also scaling to ...
0
votes
0
answers
158
views
Easycap USB drivers not working at Windows 10
I installed driver and software from DVD-ROM, in Device Manager, it shows have 2 devices as following image:
I don't know what is SMS/MMS device.
USB 2.0 Video Capture Controller always not working, ...
0
votes
0
answers
54
views
Xfade not getting applied on the last clip when merging 10 clips
I am facing issue while applying xfade on multiple videos using complex filter graphs, fade is always getting missed at the last clip of the sequence, is this a limitation of ffmpeg,
Can some please ...
0
votes
0
answers
47
views
Is there a video container format (mainstream or experimental) that can properly transmit Black Mirror's Bandersnatch?
Black Mirror's Bandersnatch
From Wikipedia:
Black Mirror: Bandersnatch is a 2018 interactive film in the science fiction anthology series Black Mirror. It was written by series creator Charlie ...
0
votes
0
answers
511
views
mp4 encoded with ffmpeg not displaying on chrome
I am using the command
ffmpeg -i input.mp4 -c:v libx265 -vtag hvc1 -c:a copy output.mp4
in order to compress my mp4 files. This is the output:
ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg ...
0
votes
1
answer
878
views
ffmpeg webm (codec vp9) to mp4 not working on all browsers
I'm recording a video from chrome browser in webm format and on the backend side I want to convert it into mp4 so it can be played back on all devices. The video has this sample name: test.webm;...
0
votes
0
answers
242
views
Reorder scrambled H.264 frames with ffmpeg
I have a video file that contains an H.264 stream inside an MPEGTS 'container'. I want to extract the video stream without re-encoding it and place it inside a proper container, like MP4 or MKV. The ...
1
vote
1
answer
683
views
Only convert codecs(preserve audio and subtitles)
I have a video file h265 mkv which has dual audio and multiple subtitles.
I want to convert it to h264 since it doesn't require further transcoding on my jellyfin server.
But I haven't been able to ...
-1
votes
1
answer
118
views
Use ffmpeg add a video watermark,attached as the cover image [duplicate]
Use ffmpeg to add a video watermark, and the video contains a cover image. The watermark is attached as the cover image.
command like this
ffmpeg -ss 0 -t 60 -i .\test2.mp4 -i logo_gray20p.png
-...
0
votes
1
answer
111
views
How to convert home movie DVDs to .mpeg files?
My wife brought me a box of DVDs with her home movies from her life before me. I would like to store the contents permanently on our Linux home server alongside 100,000 jpg files and some more recent ...
0
votes
0
answers
15
views
is it possible to lower a track volume and compress the tracks in a video in one command?
basically i clipped a video game via shadowplay and the tracks are separated. separately, i have combined the two tracks successfully and from the original clip i have lowered the volume successfully ...
0
votes
0
answers
53
views
ffmpeg convert mp4 to image seq. with ORIG framerate and back
I search the Internet for ffmpeg example to make image sequences out from mp4 (h264) and then make it back from image sequences to mp4 (h264) with maximum accuracy.
All examples using "framerate&...
0
votes
1
answer
195
views
Trouble with splitting a .mkv file in half with FFMPEG using one command, had to do it one at a time with a slightly different command
So I have a ~400GB .mkv file I wanted to upload to YouTube, unfortunately for me YouTube has a 256GB limit. So I Googled if I could split the file with FFMPEG and found the following article (FFMPEG ...
0
votes
0
answers
417
views
FFMPEG losing quality when removing duplicate frames
I currently use the command prompt to convert a video:
ffmpeg.exe -r 60 -i "D:\clip.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB "D:\clip-converted.mp4"
On the assumption of the principle ...
0
votes
1
answer
653
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 ...
0
votes
1
answer
98
views
Looking to compress just a PGS stream of a video
I have a video stored as an mkv with pgs subtitles. I noticed when I burn the subtitles in with this command hereffmpeg -i "movie.mkv" -filter_complex [0:v][vid];[0:s:1][sub];[vid][sub]...
1
vote
1
answer
268
views
Use ffmpeg to re-encode media file exactly identically to another
I'm writing a program that needs to be able to place a very short media file in the middle of a longer media file. I want to use ffmpeg for this. I'm aware you can split the long file in half and then ...
0
votes
0
answers
26
views
How to convert a pixel art gif into an HD mp4? [duplicate]
I'm a pixel animator on twitter, with a problem... The website only hosts video files, and will automatically convert gifs into aggressively compressed mp4 files that are 10kb big, destroying the art....
0
votes
0
answers
571
views
HEVC Intel QuickSync not working: Error loading plugins | Could not load the requested plugin
I am able to encode to h264 using Intel QuickSync just fine:
ffmpeg -init_hw_device qsv=hw -i IN.MKV -c:a copy -c:v h264_qsv OUT.MP4
I used this command for HEVC:
ffmpeg -load_plugin hevc_hw -...
1
vote
1
answer
4k
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.