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

ffmpeg segment_atclocktime drops audio and video frames

I used the following command to split an input video file to smaller segments every 10 seconds ,I have to encode it with fixed GOP ,so used the strict_gop flag. my command works fine without the ...
0
votes
0answers
7 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
58 views
+50

Is it possible to repeat 4 input frames every n frame?

I need to repeat 4 input frames every n frame , for example frame 0 to 4 , 100 to 104 ,... Please tell me how to do it?
0
votes
0answers
18 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
18 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
11 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
23 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
35 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
22 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
22 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
61 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
39 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
12 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
22 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
24 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
18 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
26 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
8 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
6 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
18 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
15 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
0answers
32 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
29 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
9 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
22 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
26 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
97 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
113 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
30 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
0answers
356 views

Facebook Changes 1080P Video to 720P - Even though Facebook supports 1080P Quality videos

I can't find a single answer for this issue. I have a Facebook Business page and want to upload a video that is in 1080P quality (Generated with Camtasia). I upload it from my computer to my Facebook ...
0
votes
1answer
391 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
76 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
10 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
27 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)...
1
vote
0answers
79 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 -...
0
votes
0answers
46 views

Unable to get video output using Dazzle DVC100

I'm trying to digitize old videos from a SONY DCR TRV-120E reading hi8 PAL tapes. I'm using a component output (I've tested the ouput with a TV and it works fine) I'm using the Dazzle DVC100 Adaptor. ...
0
votes
0answers
92 views

H264 Concatenation Works with FFmpeg but not Other Muxers

I have an original H.264/AVC video created by my phone: $ ffprobe -hide_banner -i vid1.mp4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vid1.mp4': Metadata: major_brand : mp42 minor_version ...
1
vote
1answer
303 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
300 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 ...
0
votes
2answers
58 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
69 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
750 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
259 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
0answers
112 views

FFMPEG: cut clips from a long video with “fast seek” while maintaining accuracy

I have this 3 hour long video which consists of: < 1-5 seconds of black frames > -- < clip > -- < 1-5 seconds of black frames > -- < clip > -- ... I could successfully get the ...
0
votes
2answers
32 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 ...
1
vote
1answer
492 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 ...
0
votes
0answers
17 views

vlc file format encoding issues

I am trying to figure out how to convert video and audio format with VLC. I'm trying to convert a 64 kbps mp3 to a 64 kbps ogg. The UI for encoding gives the options for audio as the following: ...

1
2 3 4 5
7