Questions tagged [encoding]

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

Filter by
Sorted by
Tagged with
12
votes
2answers
5k views

How is this .mp4 file 596523 hours long?

I came across this joke mp4 file online. (Warning: direct download link to an 8 mb file.) Media players as well as ffmpeg both list the file as having a length of 596523:14:07.00 (!). My first guess ...
0
votes
1answer
45 views

FFmpeg Optimized File Size Video Loop

I am attempting to create a video loop by merging a 15 second video with about 4 minutes of audio. After finding a similar question, I found a command that loops the input video for the length of the ...
2
votes
1answer
32 views

Combining multiple commands to render out different formats, while also resyncing the original file, and not have to render that one out first

After recording a live show, there are several tasks I need to do before I can render out the video file to different formats. I need to trim the file, and then resync the audio as well. After this I ...
0
votes
0answers
15 views

What is a good way to upscale 3D images without comprising the aspect ratio?

What is a good method for upscaling 3D videos and images in video editing programs such as Adobe Premire and Power Director or frontends like FFMPEG and AViSynth? The method that I mostly used to me ...
0
votes
0answers
14 views

Can anyone tell explain these UTVideo settings to me?

I am on the lookout for an alternative Lagarith Lossless as some games do not really agree with Lagarith Lossless. I did some digging and learned of UTVideo on the internet but the thing is, UTVideo ...
0
votes
0answers
32 views

is it possible to split open GOP video to smaller segments without frame dropping?

I want to split an open GOP video to smaller MP4 segments , but using Segment Muxer , 3 frames are lost. the GOP size of my video is 15 (M=3 N=15) and I use mpeg2video encoding. is it possible to ...
0
votes
0answers
28 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
1answer
26 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
28 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
357 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.
2
votes
0answers
77 views

Problem combining multiple filters with ffmpeg

I'm trying to generate a video file out of 3 files: file #1 and #2 are both dynamically generated image list file; file #3 is a dynamically generated pcm file; I need to slow down or speed up the ...
0
votes
0answers
94 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 ...
1
vote
0answers
16 views

Are video encoders specialized for certain resolutions?

I have wondered if the encoders used by tools like ffpmeg and hardware encoders like NVENC are more efficient for common resolutions like 1920x1080. I've done a few informal tests with a variety of ...
0
votes
2answers
43 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
55 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
35 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 ...
1
vote
2answers
37 views

Why is my video file so large when there isn't any video?

Background I am using Final Cut Pro X on a new M1 MacBook Pro (16gb of RAM) on AC power, and I have noticed that when I export the video project (share) the resulting video file is so much larger than ...
1
vote
0answers
9 views

Low latency on SRT stream

I am new to this and wondering, how can I get the lowest latency sending an SRT stream? I can’t seem to get under six seconds. Using, latency=10000
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
25 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
19 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 ...
1
vote
1answer
107 views

Extract subtitles in time range using ffmpeg

I have original video (with subs) and cropped version of it (without subs). I need to add subtitles from original video into cropped in appropriate time range. I think the best way to do is: Extract ...
1
vote
0answers
35 views

Why does a h264 encoded video recorded with HTML MediaRecorder on an Intel macbook not play on an m1 macbook with hardware acceleration enabled? [closed]

I've reproduced this issue in a simple sandbox: https://codesandbox.io/s/practical-driscoll-veyc2 (you'll have to open https://veyc2.csb.app/ in a new tab to have the screen recording functionality to ...
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
31 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
31 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....
1
vote
1answer
117 views

Resolution loss by chromatic subsampling: is there a workaround?

I was trying to make some recordings of a game (with OBS), but it wasn't really good even with "lossless" options. Some part of the interface was just pixelated... After a while I realized ...
0
votes
0answers
166 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? ...
1
vote
1answer
33 views

Exported the same video twice with the same settings yields files with different hashes

When I export an Adobe Premiere project to video twice with the same export settings, why does it yield videos with different file hashes? Shouldn't the files be identical and have matching hashes? ...
0
votes
1answer
600 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
100 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
0answers
14 views

When combining videos, what do frozen frames or blocky grey corrupted areas indicate?

I'm trying to concat a bunch of .mp4 videos using ffmpeg. They all play fine in VLC individually, but when I concat them together, I get frozen frames, blocky grey corruption, pixellation where the ...
0
votes
0answers
28 views

MP4 vs VP8, what's the best codec & fps for text-editing video?

What's the best codec & fps (and other CLI config) to minimize bandwidth usage for streaming text editor videos? Specifically: high res (as close to original as possible) low fps (<= 8 is fine)...
3
votes
1answer
91 views

How to fix the difference between duration of ffmpeg input and output?

I am trying to generate a video from a bunch of png images and audio using the command: /usr/bin/ffmpeg -y -framerate 30 -pattern_type glob -i 'images/*.png' -i audio.wav -c:v libx264 -b:v 0 -crf 18 -...
2
votes
1answer
479 views

How to Create Compatible AVC Video for Muxing Without Re-encode

I want to encode a video that will be compatible with videos created by my phone. That way I can mux the new video with the original without re-encoding the original video. I use FFmpeg with the ...
1
vote
1answer
450 views

FFmpeg/nvenc(cuda): Where is the documentation for h264_nvenc encoder?

I'm trying to use Nvidia's h264_nvenc video encoder with ffmpeg but I can't find a single source of documentation for it. I want to know what options are supported and what they do. The software ...
2
votes
2answers
96 views

What actually happens to footage that is upscaled or downscaled?

I was wondering if there was any hard number evidence for upscaling or downscaling footage to a certain raster size, and what happens to the quality or if any degradation or improvements are made to ...
0
votes
1answer
78 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
2answers
1k views

How can I remove ENCODE İNFORMATİON from mediainfo for H265 HEVC .mkv?

I want to know how I can remove encode settings from the mediainfo with mkvpropedit or ffmpeg? İn this post: Removing MP4 encoding information I found this command: ffmpeg -i INPUT -c copy -bitexact -...
0
votes
1answer
431 views

I used ffmpeg to concatenate to videos and it got stuck and produced a huge file. Where is the mistake?

I have this short videoclips that i recorded either with my webcam or with my phone. The ones that come from my webcam are in Matroska container, and the ones from the phone in mp4. Each piece is ...
0
votes
2answers
34 views

What exactly is a "sample" in audio/video context?

I'm studying on video processing/encoding and doing so I started looking source code of some popular related tools. And all of them has some reference to "Sample" For example an arbitrary ...
3
votes
1answer
782 views

Resuming a partially-completed encode with FFmpeg

Summary Given a partially completed encode that: Was encoded using h264 in the Matroska container Was cut short by manually stopping FFmpeg by typing 'q' in the console ...what are the ways to ...
1
vote
0answers
96 views

Build FFmpeg with ".EXE" files of external libraries?

this is my first question on StackExchange! I recently got into building FFmpeg on Windows and build successfully the vanilla and the external library versions of this program! I noticed that it only ...
1
vote
1answer
285 views

Best export settings for still image with audio

Suppose I have a sequence in Premiere which is an audio track accompanied by a single still non-moving image (e.g. a song and the album art). Being that there is no video (or motion of any kind), what ...
0
votes
1answer
96 views

Stream video using FFmpeg with minimum writes reads to disk

We are streaming a video using a 30 instances of docker containers hosted on Azure each instance running FFmpeg. The problem is that Azure limits the reads/writes that a container can do. Is there a ...

1
2 3 4 5
7