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
0 answers
6 views

Decode frames from mp4 file while new ones are encoded into a it

I wrote a video player (written in C++ and C#) that shows a live video stream and also encodes it into mp4 file at the same time. I want to also be able to playback (seek backward or forward) the ...
user avatar
  • 101
0 votes
0 answers
12 views

FFmpeg optimizations for trimming large video with precision?

I'm playing around with FFmpeg options for large and small videos of different container formats. I'm wanting to trim the video in a performant way that is also accurate. I've read a lot on this topic ...
user avatar
0 votes
1 answer
8 views

Suitable alternative to Quicktime RLE for alpha-containing non-cartoon videos?

I'm producing a product that involves a composition of several videos, over alpha layers, and there are surprisingly few options aside from image lists. Quicktime's RLE (Run-Length Encoding) codec ...
user avatar
0 votes
0 answers
10 views

How to burn a Blu-ray disk without Encore? (Preferably without spending a lot of money on new software)

I was recommended to post this question here by someone in the Graphical Design exchange, I hope it's within the scope of the exchange but if not please let me know. I've been working on some wedding ...
user avatar
  • 1
0 votes
1 answer
52 views

Parallel throughput of Intel QuickSync (QSV) for real time streams

I'm using Intel QuickSync to lower CPU loading of real time video transcode with FFmpeg. Specifically, qsv is used to deinterlace and decode the input video. A special HW module is used for the ...
user avatar
  • 101
0 votes
1 answer
15 views

How can I build a MOV (QT-rle) file with minimal unnecessary features?

I understand that my title requires further specification, so allow me to elaborate. I recently finished a model in Blender and rendered 1000 frames to PNG with alpha. The total size was roughly 2 GB ...
user avatar
0 votes
0 answers
16 views

Interesting features to use in FFmpeg

What are some interesting features or filters of FFmpeg that can lead to fun use-cases or used for improved quality? For instance, motion interpolation feature to increase FPS for better quality was a ...
user avatar
  • 313
0 votes
0 answers
56 views

FFmpeg 5.0 vs 3.4 performance

I was trying to compare ffmpeg 5.0 vs version 3.4.6 in how much performance improvements I would get while transcoding a simple 720p video into a H264 video. On my laptop, I noticed around 5-10% ...
user avatar
  • 313
0 votes
1 answer
49 views

How do I verify that the H264 video stream is encoded with a single slice per frame?

I'm a software tester and I need to test a certain requirement for a vehicle camera that I'm not sure on how to test. As in the title it's to verify that each frame is encoded with a single slice. ...
user avatar
  • 3
1 vote
1 answer
47 views

How to move all video files with mp3 audio?

My folder has some video files with mp3 audio and some video files with aac audio. I want to move all files which have mp3 audio to another folder. When I asked my friend, he gave me this script: ...
user avatar
  • 25
0 votes
0 answers
27 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 ...
user avatar
0 votes
0 answers
10 views

Packet loss in video steam - losing part of I frame

This is a bit of study question, looking for ways to work in RF environment with ~5% packet loss first question if for video configured for: Codec H265 Res 640x480 bit rate 300Kbps what is the ...
user avatar
  • 1
1 vote
1 answer
19 views

Possible reasons of choppy video

I have a very specific goal: there is a device which is advertised to be able to playback my own media files from USB-pendrive, and I'm intended to do so. Further details are not disclosed about ...
user avatar
  • 121
2 votes
1 answer
39 views

What is the anatomy of a video file? [closed]

I am creating a software related to video editing. So, I need to understand what is a video file, how is it created and how does it work? One thing that I want to achieve is: I want to be able to add ...
user avatar
0 votes
0 answers
8 views

Ways to enhance video experience on video streaming apps

We have a video delivery prototype on Android. A user takes a short video (H264 formatter), sends it to the cloud, and all other users can watch the video on their home. What are some ways to enhance ...
user avatar
  • 313
0 votes
1 answer
163 views

Encode still image video effectively in FFMPEG

FFMPEG can make video from MP3 file and still image: ffmpeg.exe -loop 1 -i "img.png" -i "%1" -c:v libx264 -tune stillimage -shortest "%1.mp4" But it honestly encodes the ...
user avatar
  • 103
1 vote
1 answer
47 views

HEVC vs H264 video file size

I am doing some experiments on the file size of recorded videos in HEVC vs the ones recorded in H264 using a simple Android app that I developed. My impression was that videos recorded in HEVC should ...
user avatar
  • 313
0 votes
0 answers
24 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, ...
user avatar
  • 101
0 votes
0 answers
15 views

Does a smaller video file streams fasters than a bigger video file?

0 I developed a simple video player app in Android that plays two mp4 videos from a HTTP URL. One is a smaller file (HEVC formatted) and the other one a bigger sized file (H264 formatted). Basically, ...
user avatar
  • 313
12 votes
1 answer
6k 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 ...
user avatar
  • 223
1 vote
1 answer
216 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 ...
user avatar
  • 13
2 votes
1 answer
58 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 ...
user avatar
  • 21
0 votes
0 answers
27 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 ...
user avatar
  • 51
0 votes
0 answers
30 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 ...
user avatar
  • 51
0 votes
0 answers
45 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 ...
user avatar
  • 223
0 votes
0 answers
49 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-...
user avatar
0 votes
1 answer
89 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 ...
user avatar
  • 51
0 votes
0 answers
39 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 ...
user avatar
  • 51
0 votes
1 answer
1k 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: ...
user avatar
2 votes
0 answers
93 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 ...
user avatar
1 vote
0 answers
19 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 ...
user avatar
  • 191
0 votes
2 answers
61 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 -...
user avatar
  • 1
0 votes
0 answers
72 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 ...
user avatar
  • 1
1 vote
2 answers
58 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 ...
user avatar
1 vote
0 answers
31 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
user avatar
1 vote
1 answer
232 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 ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
  • 111
1 vote
1 answer
132 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 ...
user avatar
  • 113
0 votes
0 answers
303 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 ...
user avatar
0 votes
0 answers
37 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 ...
user avatar
1 vote
1 answer
50 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? ...
user avatar
  • 113
0 votes
1 answer
964 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 ...
user avatar
  • 101
0 votes
1 answer
144 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 ...
user avatar
3 votes
1 answer
136 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 -...
user avatar
  • 131
2 votes
1 answer
816 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 ...
user avatar
1 vote
1 answer
701 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 ...
user avatar
  • 13
2 votes
2 answers
169 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 ...
user avatar
  • 137
0 votes
1 answer
153 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 ...
user avatar
  • 101
0 votes
2 answers
2k 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 -...
user avatar
  • 11
0 votes
1 answer
778 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 ...
user avatar
  • 103

1
2 3 4 5
7