Questions tagged [encoding]

The process and techniques used when storing moving images, sound, metadata and other streams as a digital file.

95 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
37 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
0answers
29 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
1answer
595 views

ffmpeg to convert .avi to .mp4 results in error: Could not find tag for codec dvvideo in stream #0, codec not currently supported in container

I'm trying to convert .avi files to .mp4 using ffmpeg, as lossless-ly as possible. I tried this command: ffmpeg -i filename.avi -c:v copy -c:a copy -y filename.mp4 and received this output: ...
0
votes
0answers
29 views

FFMPEG -- Create New Audio File using aselect filter API call in C code

I have been working on an a program in C that invokes the use of FFMPEG's libraries to remove some segments of audio from a given audio file. I have created the filter successfully using the API call, ...
0
votes
0answers
28 views

Alternative to XVID?

What codecs are good for upscale encoding while saving space and preserving the quality of the video? I am looking for something that is good with animation, gaming, 2D, etc.
0
votes
0answers
123 views

Convert .raw frames to images using FFmpeg

I received a .raw frame format (here is a sample) which contains the raw pixel values of a frame. And I've been told I can convert it to an image (.bmp or .png) using FFMpeg. Is there a command to do ...
0
votes
2answers
44 views

FFMPEG 9600x1080 5 video

FFMPEG 9600x1080 5 video stitching outputs black video Hello everyone. I’m trying to merge 5 1920x1080 videos into a one big 9600x1080 clip. I’m using FFMPEG for it with the following script: ffmpeg -...
0
votes
0answers
63 views

EXR layers/channel in FFMPEG

I need stitch image1.exr and Image2.exr to ImageStitch.exr But I couldn't get the layers and channels to work. Can you tell me how to do this I try using this code In EXR images -> 3 layers: ...
0
votes
0answers
45 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
0answers
7 views

Deduplicating video codec

Say I have a 10 second video that I want to loop 1000 times (not just loop-play it in its presentation form, but have the actual video file be 10000 seconds long). This video will contain the same ...
0
votes
0answers
37 views

How to encode an interlaced h264 stream with ffmpeg

I want to create customized interlaced h264 streams, such as: 2:2, 3:2 pulldown, mix with mbaff, etc. But all I know is to set AV_CODEC_FLAG_INTERLACED_DCT in AVCodecContext.flags, and set AVFrame....
0
votes
0answers
12 views

how do get video down to reasonable size?

I have lots of livestreams downloaded most of which are 1 hour 2 hour long so 700mb to 1.1gb basically but im looking to shave off as much while preserving quality and sound they are all piano covers ...
0
votes
0answers
22 views

Is playing encoded video across the LAN considered "streaming"? Is H.264 a good codec for playing video over LAN

I'm a software engineer, but I still need terminology enthusiasts to help me with some terminology and usage for the term "streaming". I have setup a SMB (Samba) share on my Linux home ...
0
votes
0answers
11 views

How can I convert these Blender video settings to ffmpeg please?

Whenever I use the ffmpeg commands, the video is larger and the seeking/keyframe inteval is not the same as the video rendered from Blender. How can I convert the following Blender settings to ffmpeg ...
0
votes
0answers
33 views

Encoding params for fastest seeking in browser

I'm looking to encode video for the browser the use case below. Currently using FFMPEG but happy to use other software if that's better. Important: Ability to seek with as little delay / lag / jank ...
0
votes
0answers
33 views

Transcoded video become shorter (playback length) and plays at double speed

Currently I am doing a project where I am recording live video (720p25) with a video capture card (stretch card). This live video feed is recorded into a 3rd party proprietary video recording software....
0
votes
0answers
193 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
0answers
36 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
0answers
28 views

Are there video motion tests (to point camera at) to assess encoder settings, rates, etc? (currently working in OBS)

I want to measure the appearance quality of motion against a variety of OBS settings in a talking heads video. What is a good way to test for motion in a video recording/capture running 15-60 minutes? ...
0
votes
1answer
681 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
1answer
104 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
1answer
89 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
1answer
181 views

compare two video then cut the different

I have 2 video files with the same content, but coming from a different source. They have a slight difference in 'cut' and language dubbing, meaning one can be missing a shot compared to the other. I ...
0
votes
1answer
333 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
1answer
35 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
0answers
247 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
0answers
45 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
0answers
19 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
0answers
1k views

Another question on Non-monotonous DTS in output stream

I use ffmpeg to convert and join multiple mp3 files into m4a. BITRATE=128k find . -name "*.mp3" | parallel --lb -k "ffmpeg -y -i {} -map 0:a -c:a aac -b:a $BITRATE {.}.m4a" OUT_NAME=${OUT_NAME:=out....
0
votes
0answers
117 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
1answer
364 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
0answers
1k views

How to decrypt video using ffmpeg?

I've managed to encrypt my video files using the ffmpeg command below however I can't find a way to save the decrypted output. ffmpeg -i {file} -encryption_scheme cenc-aes-ctr -encryption_key {key} -...
0
votes
1answer
191 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
0answers
133 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
0answers
718 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
1answer
2k 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
0answers
460 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
3answers
275 views

Re-encoding Lossy formats with Lossless formats

I was re-encoding videos downloaded from YouTube with Lossless H.264 (using FFmpeg) because I'm experimenting with CRF=0. I found that resulting videos are much bigger (1 gigabyte) than the original ...
0
votes
1answer
369 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
0answers
507 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
0answers
1k 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
0answers
1k 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
0answers
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
1answer
1k 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
1answer
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 ...

1
2