Questions tagged [encoding]
The process and techniques used when storing moving images, sound, metadata and other streams as a digital file.
97
questions with no upvoted or accepted answers
0
votes
0
answers
20
views
ffmpeg: preserve quality in trimmed video from a HEVC (h.265) source video
I've have some screen recorded video with OBS software using the video codec "NVIDIA NVENC HEVC" (which is h.265 via GPU hardware) using CQP level 17.
Full encoder options in OBS were:
The ...
0
votes
1
answer
23
views
After adding subtitles the second audio track gone
I have a video with 2 audio tracks.
After using the following command line
the other audio track is gone
ffmpeg -i "movie.mkv" -i "subtitles.ass" -c:v copy -c:a copy -c:s copy &...
0
votes
0
answers
22
views
libx265 set 1 i_frame per x seconds and force all other frames to be b_frames
I'm trying to compress my content while preserving quality. I'm measuring the quality using Netflix's VMAF.
Only focusing on HEVC and tried different parameters available for libx265 such as crf, two ...
0
votes
0
answers
10
views
Which will have better quality, an H.264 encoded video with higher bitrate or an H.265 with lower bitrate?
I got a cheap action camera that allows me to choose the encoding of the video being recorded between H.264 and H.265.
When I set it to H.264, the video's bitrate is set to around 10,000+ kbps. When I ...
0
votes
0
answers
25
views
Jumping forward or backward in a .mp4 file takes a long time in VLC
Recently, I randomly played around a bit with the video encoder settings of my OBS Studio (29.1.2) and recorded a video playing in the browser. In this particular video (recorded with some settings I ...
0
votes
0
answers
63
views
unable to record desktop using latest gstreamer in ubuntu 22.04
I can broadcast my desktop to a rtmp server successfully using
gst-launch-1.0 ximagesrc use-damage=0 show-pointer=false ! video/x-raw,framerate=30/1 ! videoconvert ! queue ! x264enc ! queue ! flvmux ...
0
votes
0
answers
35
views
Replace MP4 I-Frames with a placeholder
I have an MP4 file which I want to manipulate on a hex basis, without re-encoding. More specifically I want to replace the I-Frames of the MP4 file with a kind of placeholder code.
What I want to do ...
0
votes
1
answer
29
views
Handbrake Output Visually Freezes on Interstitial
I downloaded an m3u8 stream using a Chrome plugin, and it created an mp4 file which I can play fully in VLC.
Next, I am attempting to use Handbrake to encode this file to be played on an old iPod Nano....
0
votes
0
answers
26
views
Why is my rendered video output larger than imported files?
I have imported multiple video files (roughly 3h30min / roughly 11GB). I have stripped out the Audio and reduced my total cuts to roughly 2m12sec. I have tried multiple render video output formats, ...
0
votes
0
answers
59
views
FFprobe not showing frames data
As a beginner I don't know much about ffprobe and other video editing command line tools. Please guide me here.
I am trying to download a video with yt-dlp and trim it to the nearest key-frame of my ...
0
votes
0
answers
219
views
FFmpeg recover_mp4 help
ive been using ffmpeg and recover mp4 to try and restore a dashcam video from a car accident. im a beginner using this method/ software and im running into this issue. not sure how to "increase ...
0
votes
0
answers
7
views
Suitable codec and settings to encode videos that can be scrubbed back and forth for making transcripts
For scientific purpose, I'm encoding videos that are going to be transcripted. Since in the process of transcription the person who does the transcription needs constantly to jump back and forth in ...
0
votes
0
answers
143
views
How output multiple stats file for multiple output?
I'm launching encoding ffmpeg using GPU with 2 outputs: one using H264_NVENC and one using HEVC_ENV.
To enable video stats output I'm putting -vstats before input file. To specify output of video ...
0
votes
0
answers
49
views
Why, in FFmpeg with libx265 the timestamp tbn parameter is always 1k even when it seems not logical?
I encode with ffmpeg and noticed that when I encode a y4m video in 29,97 FPS into a h265 video with libx265, the parameter of the two videos are the following :
original y4m :
29.97 fps, tbc : 29.97 ...
0
votes
0
answers
262
views
Issues in trimming a video with FFmpeg
I have a .webm video captured through a web browser. Using ffmpeg, I want to trim it into its first 30s without re-encoding and quality degradation. But I have issues doing it and ffmpeg complains ...
0
votes
0
answers
647
views
Export a video to 4k or 2k with FFMPEG and without lag (UPSCALE VIDEO)
how do I upscale a video to 4k or 2k with ffmpeg? youtube encodes the videos which results in some quality loss of the video. So to make youtube use VP09 encoder on my videos, I have to export the ...
0
votes
0
answers
27
views
Sony PXW-Z280V AVC strange Long GOP pattern
I have video shot using a Sony PXW-Z280V using AVC_3840_2160_HP@L51 with 29.97 frame rate. Upon analyzing the MXF file structure, I notice that the Index Entry Array seems incorrect. In particular the ...
0
votes
0
answers
87
views
FFMPEG: Why can't I work in frames instead of HH:MM:SS?
I have a video-only stream that I removed the audio from without re-encoding. The video information is as follows.
hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1608
Frame ...
0
votes
0
answers
73
views
Pillarboxing AVC/h.264 video with minimal re-encoding?
I have 1440x1080 AVC/h.264 video that should be displayed with a 4:3 aspect ratio (which would correspond to square pixels). I'd like to burn it to a Blu-ray disc to be playable in Blu-ray players, ...
0
votes
0
answers
269
views
ffmpeg libx264 core 157 vs core 164
For a while I have been using a build of ffmpeg from 2019:
ffmpeg version N-94150-g231d0c819f Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190621
configuration: --enable-...
0
votes
1
answer
237
views
What x264 encoder is better for upscaling pixel art? Is it x264 8bit or 10bit?
I mostly use Virtualdub2 to upscale my videos (although I am looking for other methods) via two resize filters, Nearest Neighbor and Lanzcos3. Recently I am looking at the x264 encoder to encode my ...
0
votes
0
answers
57
views
How do you batch resizes of Genesis videos in FFMPEG?
I am trying to a create 4:3 video upscale encodes with Sega Genesis videos that are usually around 320 x 224 using FFMPEG. While I had been advised to use FFMPEG (and AVISynth) in the past, it was ...
0
votes
0
answers
138
views
Where/what to check in Openshot to see why GPU render doesn't work?
I've been using OpenShot for a while on Fedora Linux from 27-33 and mostly not much problems. I did notice occasionally that Render via GPU didn't work, but then I restarted the App, and was ...
0
votes
0
answers
749
views
Quality control in DTS to AAC(stereo) conversion using ffmpeg
I am trying to convert a DTS stream to AAC(stereo) using the following command:
ffmpeg -i "input.mkv"
-c:v copy
-c:a aac -q:a 2 -ac 2 -ar 48000
"output.mp4"
[ffmpeg ...
0
votes
0
answers
38
views
Scale from this resolution
I have the following mp4 file:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder ...
0
votes
1
answer
2k
views
ffmpeg showing "Thread message queue blocking" error while encoding (non real time)
Hope someone can help me. I'm using ffmpeg to extract the frames from an old video as images, batch enhancing and upscaling the images, then renecoding the images together with the original audio to a ...
0
votes
1
answer
462
views
Adobe Media Encoder (Why is it not using all the available power)
System Spec:
16 core 3950x
Nvidia rtx 3080
64gb of ram
1tb nvme
2tb ssd
4tb hdd
Software
AfterEffects - v17.5.1 (build 47)
MediaEncoder - v14.7 (build 17)
Problem:
So I'm outputting a fairly complex ...
0
votes
1
answer
669
views
Which rate control algorithm best preserves quick movement?
I gathered the following rate control algorithms are commonly used when encoding modern video formats like h264, HEVC or VP9.
With a constant quantizer (-qp in terms of ffmpeg) all frames are encoded ...
0
votes
1
answer
629
views
ffmpeg - Slow down video and loop/repeat audio
I am trying to use ffmpeg to slow down a video speed by 25% (75% speed) without changing the audio speed.
ffmpeg -i input_video.mkv -filter:v "setpts=1.3*PTS" "SlowVideo25.mp4"
On ...
0
votes
1
answer
86
views
Do modern devices support decoding 4:4:4 pixel formats?
I am recording and distributing relatively low motion screen content (not games). Using h264, fine text often appears very blurry due to the poor subsampling with 4:2:0 and 4:2:2 pixel formats. With 4:...
0
votes
0
answers
351
views
Scale Video, Without 'ffmpeg Scaler' converting colorspace from RGBA to YUV
I have a video in RGBA space contained in MPNG codec. Which is in 4K. I need to Convert that into a 1080p File... SO i Used this -
ffmpeg -i input.mkv -vcodec libx265 -vf scale=1920:1080 -sws_flags ...
0
votes
0
answers
51
views
What SOFTWARE could I use to encode to this spec?
Thanks in advance!
It's an mpeg transport stream in a .ts wrapper. Layout would be as follows:
Video (MPEG2, 80Mbps, CBR, All I Frame,422@HL)
Audio1 (Track1/PID1) 1 pair LPCM(SMPTE 302M)48kHz
Audio2 ...
0
votes
0
answers
65
views
Post-production editing audio/video out of sync
I am trying to add two videos using ffmpeg and the output video/audio is out of sync (and fast forwarded).
Goal is to put intro.mp4 before the original file clip.flv
My approach is to
Change the ...
0
votes
0
answers
209
views
Delta encoding for video files?
I have a very high quality video and I need to produce a high quality and a low quality version for transport into other systems.
For the high quality version I use
a lossy compression (currently ...
0
votes
2
answers
542
views
Issues with transcoding to a MXF container
I'm new here, so hi to all :).
I'm new to FFmpeg too, and I'm trying to transcode a HEVC file to a mxf file and I'm having some issues. The original file is a rip I made from a Bluray HDR movie a ...
0
votes
1
answer
248
views
How to fix Encoding Overloaded in OBS Studio?
I want to record a programming tutorial with OBS Studio in 1080p 30FPS. I have never changed the encoder, the output format is MP4. Although my computer has very good hardware, I get Encoding ...
0
votes
0
answers
202
views
No Maximum Bitrate H264 codec
I am trying to export a video with a low bitrate. Regardless of what I set as the target bitrate, the video always is exported with the highest possible bitrate. This occurs whether I use VBR or CBR.
...
0
votes
0
answers
932
views
FFmpeg 2017 vs 2019 decoding performance improvement
I was trying to do some basic profiling on ffmpeg, following my previous question here. I have a relatively high-bitrate .ts file (17mbps), and I have two versions of ffmpeg (2017.3 and 2019.4), and ...
0
votes
1
answer
3k
views
How to generate decryption key from m3u8 manifest? (OR) How to decrypt an excrypted MP4 using URI and IV?
I am downloading an HLS video which is AES-128 encrypted. The issue is that the downloaded video is also encrypted and hence, not viewable.
The website is serving 2 M3U8 manifests:
The first ...
0
votes
0
answers
617
views
FFMPEG - Nero and Quicktime Format Chapters
Ok, I'm usually really good at finding the answers to my FFMPEG questions myself but I'm a bit stumped.
I've got this file, an MP4, here is part of the MediaInfo:
Menu
00:00:00.000 ...
0
votes
1
answer
474
views
How can I change/reduce the bitrate of AVI files using Adobe Premiere Pro CC or other tools?
I'm using Eprime and Experiment Builder which requires files in AVI format (AVI-XVid). The files are quite small already (various 2 second clips under 1mb), but are still too large which crash the ...
0
votes
0
answers
663
views
FFmpeg loop filter doesn't work
This is a follow-up from my previous question here. Basically, I'm trying to use FFmpeg's loop filter to freeze some frames and insert black frames. It's very weird; I swear it was working a few days ...
0
votes
0
answers
2k
views
Replacing I-frames in h265 stream
I'm trying to follow this tutorial: https://www.reddit.com/r/brokenanimegifs/wiki/tutorial
Everything works perfectly. On the basis of this tutorial, I even created my own little tool. It just ...
0
votes
0
answers
2k
views
H264 Remove Encoding Settings - Error FFMPEG
" Removing MP4 encoding information " I have tried the formula of interpretation but I have compared it with such an error.
" Unknown bitstream filter h264_changesps "
What am I supposed to do?
0
votes
0
answers
61
views
Converting 1080i5994 DNxHD HQ to 1080p
I recorded some long format talks in 1080i5994 DNxHD via my atomos recorder. I do this all the time and never have any issues. I record in that format because thats what my switcher puts out and it ...
0
votes
1
answer
2k
views
Final cut pro export file size is huge (despite the small size of the initial video) - how can I shrink it?
I'm a complete novice at final cut. I have recorded a dnd game over zoom, it's a 2 hour video, the file saved from zoom is 756mb. I have edited it a bit (just minor stuff, add a couple of images, ...
-1
votes
1
answer
2k
views
Maximum YouTube video stream audio bitrate
I know that YouTube no allows 96kHz audio. But I also worry about second thing the bitrate. How much is possible maximum to get from YouTube stream? I'v only found recommended value of 384kbps, but I ...