Questions tagged [video-encoding]

Specific issues with encoding video to a certain format, also related to [video-conversion]

Filter by
Sorted by
Tagged with
15 votes
5 answers
3k views

ffmpeg: limiting to single CPU core when encoding h264

I need to reduce the framerate of some H.264 videos in the background without maxing out my CPU (on Linux). Somehow -threads 1 has no effect at all: ffmpeg -threads 1 -i 50fps.mp4 -filter:v fps=30 ...
user avatar
0 votes
0 answers
28 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
15 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
20 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
50 views

ffmpeg Combine 2 video files into one with two audio tracks (different languages)

I have multiple pairs of video files (.mp4) that are basically the same video but in different languages (original english and synchronised german in my case). I know that with ffmpeg I can take ...
user avatar
  • 1,382
0 votes
0 answers
29 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
1 answer
51 views

ffmpeg overlay image on video & trying to keep the original video quality

I'm adding overlay images to a video. and I'm trying to make the output very similar to the original video in order to get the best quality for example if the original video (like the one in the ...
user avatar
-1 votes
1 answer
18 views

Does H.265/HEVC macroblock/CTU algorithm compensate for 4:3 letterbox in 1920x1080

Have some source in 1920x1080 but it's actually 4:3 with letterbox. One path is to crop the video to remove the black letterbox and bring it down to 1440x1080 but is that really necessary when encoded ...
user avatar
  • 3,441
0 votes
0 answers
34 views

FFmpeg reads input from stdin causes warning: thread_queue_size

I have a standalone, customized filter written in python. The filter keep reading from stdin rawvideo and outputs each processed frame as raw bytes. I want to use it for a webcam so data comes from a ...
user avatar
1 vote
0 answers
31 views

Cannot start livestream on youtube even though ffmpeg seems to work?

I am a novice on ffpmeg and trying to go for a livestream youtube radio via azuracast. I have created an instance on oracle cloud and installed azuracast there. I can listen to the songs I uploaded in ...
user avatar
1 vote
0 answers
31 views

Having audio and playback issues when attempting to capture DVCPro50 tapes over Firewire with FFmpeg

I've been trying to capture DVCPro50 tapes that were recorded at 23.976 fps over Firewire and I'm unable to come up with a command to get the file to play back properly. I can get a file with audio at ...
user avatar
  • 11
0 votes
1 answer
42 views

what's the difference between SAR & PAR in video (Detailed Info)

i want to know what's the big difference between the SAR and PAR, also how ffmpeg automatically deciding the DAR value with the SAR and video width & height. why the SAR value is so important for ...
user avatar
  • 1
0 votes
0 answers
49 views

FFMPEG failing to render PNGs as ProRes 4444

I have a series of PNGs with transparent background that I would like to render as a video with an alpha channel. I tried running the following ffmpeg command: ffmpeg -y -r 60 -i frames/%04d.png -c:v ...
user avatar
1 vote
0 answers
189 views

FFMPEG How to do segments encoding in MXF XDCAM HD422

I'm trying to encode a feed from a Decklink card to MXF XDCAM HD422 by segment, so I use the following command line: ffmpeg.exe -f dshow -video_size 1920x1080 -r 25 -pixel_format uyvy422 -rtbufsize ...
user avatar
  • 51
1 vote
0 answers
59 views

How to hard code / embed subtitles of videos inside a folder with FFMPEG

Lets say I have folder A with lots of videos that have TX3G subtitles Some videos don't have any subtitles So I need a windows command to process all videos inside this folder and embed / hard code ...
user avatar
0 votes
0 answers
148 views

What is the suitable H/W compatibility for av-1 encoding

Some videos are transcoded, h264 on ARM machine, h265 on Intel Skylake and av-1 on Intel RocketLake. File savings are better with av1 at the same quality but still at a high computational cost. Avg ...
user avatar
  • 19
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
1 vote
0 answers
41 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
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
0 votes
0 answers
160 views

FFMPEG Hardware Accelerated NVIDIA Video Encoding

I need to decode a video, analyze frames and encode it back. I am able to do it using FFMPEG C++ without GPU. However, I am having problems with doing it on NVIDIA GPU. So far, I am able to decode the ...
user avatar
  • 1
0 votes
0 answers
85 views

audio and video not correctly sync after concatenation

totally new to video editing in general and in need of some help =) command that I'm using (windows batch): (echo file cucca.jpg.mp4 & echo file cucca.fade.mp4 & echo file cucca.jpg.mp4)>...
user avatar
  • 101
1 vote
0 answers
219 views

Using FFPMEG, create a MJPEG stream from a file to simulate a webcam

I'd like to use ffmpeg to simulate a network webcam. These usually give out an MJPEG feed that plays in a browser. I want to create a stream like this locally as a test case for a software I plan to ...
user avatar
  • 393
0 votes
2 answers
33 views

Are watermarks constrained by the quality of the underlay video?

This may be a stupid question but I have to clarify it for my own peace of mind, so bear with. The good news is it's more or less a yes/no question for the FFmpeg/AV experts who know the answer. Say I ...
user avatar
  • 10.3k
0 votes
0 answers
215 views

H265 10 bit to H264 8 bit through NVENC looks terrible

I'm currently using FFMPEG run with Sickbeard Mp4 Automator to convert H265 video to H264 since my phone chugs hard playing H265 10 bitvideo. I set it to use NVENC and it's unnoticeable for brighter ...
user avatar
-1 votes
1 answer
205 views

Why on youtube a 1080p video looks better than 720p ? (My screen max resolution is 720p)

A resolution greater than 720p looks better on my 720p screen . I want a clear and basic answere to understand this.
user avatar
  • 23
0 votes
0 answers
28 views

Internal working of vmafmotion filter

The objective was to check how dynamic a given video is and based on that we tweak the bitrate of the video with an internal algorithm, keeping the quality minimally changed and saving the space. For ...
user avatar
0 votes
0 answers
51 views

Merge Videos & Add a Overlay ffmpeg

i am trying to merge intro & outro videos into my main input video and also add a Overlay image in main input video. i wrote this. !ffmpeg -i "$introScreen" -i "$inputVideo" -i ...
user avatar
  • 1
0 votes
1 answer
349 views

Removal of select subtitle tracks and audio tracks from mkv file in batch

My problem is that I have 2 subtitle tracks, one is named "English signs and songs" and another is called "English full". I also have English and Japanese audio tracks (dual audio)....
user avatar
0 votes
1 answer
38 views

Segmenting a video results in incorrect timecode data

When I segment a video file into 5-second chunks: ffmpeg -i input.mp4 -c copy -f segment -segment_time 5 -segment_format mp4 chunk-%d.mp4 Each chunk is exactly 5 seconds long, but when playing the ...
user avatar
  • 1,874
0 votes
0 answers
57 views

ffmpeg. Combine two text with two alpha channels

Is it possible to merge these two instructions into one? I can't do it even though I read FFmpeg Filters Documentation: Introduction. ffmpeg -y -i in.mp4 -filter_complex "split[base][text]; [...
user avatar
0 votes
0 answers
101 views

Encoding video from VFR still images

I am familiar with the use of ffmpeg to encode video from a series of still images (e.g. a sequence of PNG files) where the images are frames at a constant frame rate. Is it possible to encode a video ...
user avatar
  • 9,800
0 votes
0 answers
45 views

How to display live frame rate on top of video using ffmpeg?

I want to display live frame rate over video using ffmpeg.I am using following command to get the frame number.Is it possible to get the frame rate as well?.Thanks. ffmpeg -re -stream_loop -1 -i /dev/...
user avatar
0 votes
0 answers
25 views

How to change the thumbnail for large number of video files?

This is what I have. This is what I want. I created screencaps for my videos using Video Thumbnails Maker. I want to change the default thumbnail of the mkv file to the jpg file. When I googled I ...
user avatar
1 vote
0 answers
147 views

How can I decrease the V8 processing time when using ffmpeg?

I am working on a project where a lot of videos need to be converted quickly in a fairly good quality. I decided to use ffmpeg and V8 encoding because of the licensing of the codec. h.264 isn't an ...
user avatar
0 votes
1 answer
40 views

How was this video made

ok guys I'm genuinely confused how this video was made and was wondering whether anyone could shed light on how this video might have been made or encoded or something. this video in discord is 51 ...
user avatar
0 votes
0 answers
39 views

how can I read all file in a folder and compute PSNR for them using ffmpeg command as a batch file?

I have some videos that I encode them to mp4 file using FFmpeg, now I need to write a batch file that read all the file in a folder and compute PSNR for them and save in separate text file for each ...
user avatar
  • 101
2 votes
2 answers
1k views

How to cut video in multiple place and combine them without re-encoding using FFMPEG?

Let's say I have 10-minute video, I want to remove 1:00-2:00 and 4:00-5:00 Is that possible to do that on one FFmpeg command? (Other program also welcomed) Or maybe a command to cut the part that I ...
user avatar
0 votes
1 answer
329 views

m3u8 to mp4 lossless conversion with VLC or any other free software on Windows

I have read this and several other posts on this site; however, none has answered my question: I'm aware, that I can convert m3u8 streaming file to the mp4, and I only do this with VLC player on ...
user avatar
0 votes
0 answers
72 views

How can I reduce the file size of a video encoded with wmv2 in ffmpeg?

I have some videos of a slide presentation with audio and need to put them in a wmv container. These videos are intended to be viewed with Windows Media Player. I initially made the mistake to use the ...
user avatar
0 votes
1 answer
226 views

how do I read videos from a file and use ffmpeg to save each video with different bit rate?

I want to use the UGC dataset and after reading each video, save each video with a different bitrate and plot the R-D curve. for this aim, I want to use FFmpeg and automatically do the mentioned ...
user avatar
  • 3
0 votes
0 answers
15 views

Does it make sense to use HEVC instead of H.264 for encoding motion graphics?

I can't seem to find a discussion on this, but would it make sense to encode professional video with HEVC, granted you have an Nvidia GPU? I know the format is usually used in situations where speed ...
user avatar
0 votes
1 answer
87 views

When does FFmpeg error "requested bitrate is too low" only when a second pass is specified?

I'm trying to encoding a file with mpeg4 using ffmpeg on Windows and this works fine: ffmpeg.exe -y -i input.avi -c:v mpeg4 -q:v 3 -s 640x448 output.avi Unless I try to encode using two passes: ...
user avatar
  • 756
1 vote
0 answers
42 views

Screenshots to video using ffmpeg

I have screenshots that are taken .25 seconds apart, that I'm trying to combine into a video. No matter what I try it ends up too fast or too slow/choppy. I've tried the following commands. ffmpeg -...
user avatar
  • 11
0 votes
1 answer
443 views

How to get AVFoundation devices to have a consistent playback rate (1.0x) W/ FFMPEG on MacOS

Some background: I've been recording my "camera" with QuickTime, but it only allows for two quality options, low quality (720p60fps), or high quality (1080p60fps encoded with ProRes422), as ...
user avatar
0 votes
3 answers
858 views

How to ffmpeg encode using same codecs and parameters as certain file has?

I need to merge two different video files and I am using LosslessCut for the task. Yet it says that the files need to have the same codecs, dimension, framerate. Source is mkv V_MPEG4/ISO/AVC with ...
user avatar
  • 393
0 votes
1 answer
142 views

Replace section of audio in a video with FFmpeg

I have a Recording A (video and audio) with a length of about 42 minutes. I also have a separate Audio Stream B of the same event, which is identical to the audio in the video except it's a) much ...
user avatar
  • 10.3k
1 vote
1 answer
2k views

Improve FFmpeg and NVENC output quality

Is there a way to improve the quality of the output without increasing the bitrate? Also, is there a way to improve the quality of the code using tee? After reading everything I could find about ...
user avatar
0 votes
1 answer
55 views

Converting Videos To Same Resolution Then Joining Them

I have a bunch of clips that I'm trying to combine into one video. The problem is each clip has a different resolution and aspect ratio (different SAR and DAR sometimes too). I'm trying to get ...
user avatar
0 votes
1 answer
201 views

Replace parts of video with other videos without re-encoding using ffmpeg

I have a video Video1.mkv with audio and video stream. I have 3 other videos V1.mp4, V2.mp4 and V3.mp4 without audio. I would like to keep the audio stream from Video1.mkv and replace the beginning of ...
user avatar
  • 263
0 votes
1 answer
53 views

Two files with apparently the same codecs, but one doesn't work on my TV

So, I have these two files. File 1 works perfectly on my TV, but file 2 doesn't (TV says file format not supported). But checking the MediaInfo, it appears that the codecs are the same. Am I missing ...
user avatar

1
2 3 4 5
7