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
0
votes
1answer
99 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 ...
3
votes
1answer
90 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 -...
3
votes
1answer
756 views

How to delete the very last frame of a video using ffmpeg / mencoder / transcode or any other?

I am trying to delete the very last frame of a video using ffmpeg / mencoder / transcode / or any other free linux application. Here is what I have so far, and it's only extracting it, it's not ...
0
votes
1answer
188 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 ...
9
votes
7answers
104k views

How to force Adobe Media Encoder to use 100% CPU and memory?

On my machine, Adobe Media Encoder is very slow. It takes 12 hours to render 4 minutes of 1080p video for YouTube (the video is based on Adobe After Effects project with an original MOV file and four ...
0
votes
1answer
75 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 ...
5
votes
1answer
1k views

Largest input image size when encoding a video?

I got a bunch of really large 16 bit videos, approaching 65535×65535 pixels in size. These are essentially high quality timelapse panoramas. I want to convert them to a 7680×4320 movie (8K UHD, 8 bit)....
11
votes
3answers
35k views

8bit vs 10bit vs 12bit

I do a lot of HEVC encoding and what I've read is 10bit is always better than 8bit, even from an 8bit source, because it avoids rounding errors. Is that true? Also, then is 12bit better than 10bit or ...
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 -...
1
vote
2answers
1k views

FFMPEG: is it possible to offset output frames from a selection of specific frames?

I'm doing some ffmpeg (4.1.3) transcodings by extracting specific frames from the source, in this case, the source can be either a movie or an image sequence, all working fine with the following ...
0
votes
1answer
41 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
30 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 ...
1
vote
3answers
4k views

Is there a way to improve h264_nvenc output quality?

I'm compressing some videos for archiving, and I came to this configuration which gives me a nice overall quality on a small size: ffmpeg -threads 4 -y -hide_banner -i input.mp4 -vf scale=-2:480 -c:v ...
0
votes
1answer
170 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
323 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
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
1answer
303 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
361 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 ...
1
vote
1answer
104 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
2answers
869 views

FFmpeg for m2t and Sony Bravia - not working

-f mp4 -c:v libx264 -preset veryslow -tune grain -profile:v high422 -flags +ildct+ilme I am preparing video to be streamed (DLNA) from my NAS to an older Sony Bravia. I have successfully created ...
0
votes
1answer
331 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
2answers
93 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
23 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
1answer
34 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:...
1
vote
1answer
3k views

best way to publish low latency video on ffmpeg

I am trying to publish a stream of live video that need to get to the client side in under 3 sec in latency. I am using vMix to capture a 720p/50 stream from a camera, that by virtual camera letting ...
0
votes
1answer
590 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 ...
4
votes
2answers
270 views

Free software for batch basic editing and down-sampling

I have a bunch of TV shows in HD that I want to down-sample to SD and at the same time strip out the titles and credits. Handbrake has great encoding and can handle batches, but I can't find a way to ...
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
1answer
640 views

Fast VP9 still image encoding

I use this command to create "myFile.webm", a VP9 video with one still image : $ ffmpeg -i myOriginialPureAudioFile.opus -loop 1 -i myAudioFile_640x360.png -shortest -threads 4 -speed max -c:a copy ...
0
votes
4answers
243 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
0answers
30 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 ...
4
votes
2answers
109 views

H.265 disadvantages with video dimensions not multiple of 8

Are there any disadvantages (like worse image quality/more compression artefacts) when encoding a video in H.265 with dimensions that are not a multiple of 16 or 8, but instead a multiple of 4 or 2? ...
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
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 ...
20
votes
5answers
35k views

How to encode Apple ProRes on Windows or Linux?

Is it also possible to encode video with Apple ProRes on Windows and Linux?
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-...
1
vote
2answers
765 views

mp4 video exported from x265 does not play

I use x265 to encode a video and the output is mp4. Unfortunately, this file is not playable by any program. The input video is yuv if that matters. Do you know which the problem might be? Thank ...
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 ...
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
1answer
1k views

ffmpeg rtmp server connection issues

I am trying to stream using ffmpeg rtmp using, ffmpeg -i out2.mp4 -c:v copy -c:a aac -listen 1 -ar 44100 -ab 64000 -f flv rtmp://localhost/live The process starts but nothing is happening after ...
0
votes
0answers
26 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
76 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 ...
1
vote
2answers
6k views

How to stop ffmpeg from interlacing when converting from m2ts to mkv

I have a m2ts video file that contains a h264 video stream and an ac3 audio stream. The quality is not the best, but it is okay, but converting it with ffmpeg without any additional options makes the ...
0
votes
0answers
93 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
0answers
54 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
34 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
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 ...

1
2 3 4 5
7