Skip to main content

Questions tagged [encoding]

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

92 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
2k 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)....
Mikhail's user avatar
  • 173
4 votes
2 answers
317 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 ...
sansSpoon's user avatar
  • 161
3 votes
0 answers
1k views

FFmpeg Windows MP4 - remove specific frames

I have a movie - movie.mp4. I wish to remove/delete specific contiguous frames from movie.mp4 which are located somewhere near the middle. Specifically, total frames in movie.mp4 = 33,595. I would ...
user2069305's user avatar
3 votes
0 answers
2k views

FFMpeg encode with original codec

I know about the -c copy switch with ffmpeg, but this does not work with filters as it means "don't re-encode". But what I want is to have my output use the same stream formats as my input. So if I ...
jiggunjer's user avatar
  • 177
3 votes
1 answer
404 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 ...
djsoda's user avatar
  • 31
2 votes
1 answer
282 views

How to know which ffmpeg encoders are hardware accelerated?

On any given build of ffmpeg, ffmpeg -encoders will list which encoders can be used for encoding video. Of the encoders listed, how can I tell which ones use hardware acceleration?
Running Man's user avatar
2 votes
0 answers
250 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 ...
user3900456's user avatar
2 votes
0 answers
641 views

Is there a hardware acceleration for audio encoding?

Video encoding with HW acceleration takes way less time than audio encoding. Is there a way to convert ac3 to aac faster?
Михалыч's user avatar
2 votes
0 answers
26 views

Is there any query language or CLI tool to analyze encoded bitstream?

I'm learning codec, but most of the video analyzer tools are GUI and windows based. I'm wondering if there is a bitstream query tool to find the info I'm seeking for. Using SQL for example: select ...
Long Can's user avatar
2 votes
0 answers
1k views

How can I mux video and audio from separate sources that're at different frame rates?

I'm having trouble muxing the video from one source with the audio from another because the audio drifts over time. As I mentioned in the title, the sources are at different frame rates, the video's ...
Rapta's user avatar
  • 21
2 votes
0 answers
5k views

Adobe Premiere Pro and Media Encoder crash on encoding

Well, I can't export anything, Premiere Pro or Media Encoder keep crashing. Crashes are quite unexpected, after several minutes or several hours, without any explanations: "Adobe [--] stopped working"...
Yako's user avatar
  • 121
2 votes
0 answers
420 views

Problems occurred when importing subtitles into Sony DVD Architect

I'm new to Sony DVD Architect, I can't import subtitles into DVD-Arc even though the file extension is .sub. I used Subtitle Edit to save my original subtitle file(in .ass format) to DVDSubtitle(.sub) ...
Happy Face's user avatar
2 votes
0 answers
242 views

Why is audio generated by avconv choppy?

I am using avconv to generate an AV stream, and the video is perfect, but the audio is very choppy using iOS Safari. Can anyone tell me what is wrong with my audio stream that's causing this? When ...
Adam's user avatar
  • 121
2 votes
0 answers
68 views

How to see encoding progress in Compressor 4.1.3

Is there really no way to see progress of an encoding job in Apple Compressor 4.1.3? I started a batch (single job, one file) and this is all I see: My fan is blowing at full speed so I guess ...
Anentropic's user avatar
2 votes
0 answers
4k views

Fast encoding with ffmpeg

I know about presets but faster presets lose the video quality. Are there any hardware requirements I need to consider? Or are there any settings that I need to tweak? And lastly where do I place the -...
Robin's user avatar
  • 175
2 votes
0 answers
416 views

How to get ffmpeg/x264 to use same parameters as input?

I'm trying to accomplish a smart rendering workflow using ffmpeg/x264. In short, get ffmpeg to segment the input file. Locate the segment(s) with changes to be made. Re-encode altered segments with ...
Gyan's user avatar
  • 33.4k
2 votes
0 answers
133 views

What hardware should I get for a conversion farm for MXF => Prores

I currently use a mac pro for importing mxf files into FCP (equivalent to converting to prores, I believe) at about 3x realtime @29.97fps. I want to get a machine to run ffmpeg & do the ...
fastmultiplication's user avatar
1 vote
0 answers
10 views

How can I convert H.264 to NTSC for analog video transmission?

For a UAV project we're using an Nvidia Jetson Nano as our mission computer on a fixed wing for object recognition purposes and we agreed that analog video transmission, widely popular with fpv drones,...
Tuğra TÜRKÜCÜ's user avatar
1 vote
1 answer
377 views

How to encode scenes with different CRF into a H.264 MP4 video with a variable frame rate?

Source Material Having many scenes which essentially are still frames (for many seconds) Commonly found in: Slideshows, Screen Recording or Software Mockup/Prototype ✅ This kind of source material ...
porg's user avatar
  • 151
1 vote
0 answers
438 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% ...
angel_30's user avatar
  • 353
1 vote
0 answers
31 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 ...
qwr's user avatar
  • 226
1 vote
0 answers
152 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
eddie conde's user avatar
1 vote
1 answer
731 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 ...
superpupervlad's user avatar
1 vote
0 answers
185 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 ...
AnonymousCrawler1722's user avatar
1 vote
0 answers
39 views

What is video hinting?

I've just faced with such thing as hinting videos. Quick research showed me something about the fact that it makes "streaming better" and something about QuickTime Streaming Server. That wasn't really ...
Ngoral's user avatar
  • 111
1 vote
2 answers
3k 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 ...
hasielhassan's user avatar
1 vote
0 answers
86 views

Is there any "concatenable" video format I can use for sequential streaming?

I'm writing a server and I have to play commercials on demand, so I'm trying to avoid re encoding video. I assume that video containers have headers and meta data, so it would not be possible. Is ...
user avatar
1 vote
0 answers
243 views

Adobe Encoder Desyncs Video/Audio (MTS to MP4)

I've been trying to transcode an MTS (recorded on a Panasonic) to MP4 with Adobe Media Encoder. The audio/video has consistently gone out of sync. I've matched the source, gone over all the settings, ...
eybmv's user avatar
  • 11
1 vote
0 answers
2k views

FFmpeg Throws Errors When Converting 7.1 TrueHD (Blu-ray Audio) To PCM Or FLAC

I have attempted to convert a TrueHD stream to PCM as well as FLAC. Throughout the encoding process, errors occur: "lossless check failed" and others. The same set of errors occurred when converting ...
Henry7720's user avatar
1 vote
2 answers
1k 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 ...
KiDy's user avatar
  • 21
1 vote
0 answers
709 views

FFmpeg NVENC rtsp stream encoding freezes randomly

In some executions of the following command, ffmpeg freezes at certain time and after some minutes starts to encode the stream again. The problem don't happen always. The stream server is an avigilon ...
Vitor Silva de Deus's user avatar
1 vote
0 answers
17 views

Is removing an audio segment on YouTube a lossless operation?

YouTube marked part of a video I uploaded as containing copyrighted audio. When I remove that audio segment on the YouTube website, does YouTube re-encode the audio of my whole video? Or is the ...
Geremia's user avatar
  • 111
1 vote
0 answers
291 views

Jetson Xavier and 16 12MP cameras

I recently saw the Jetson Xavier from NVIDIA (https://developer.nvidia.com/embedded/jetson-xavier-faq). I need to connect 16 12MP cameras like this one: https://www.baumer.com/it/en/product-overview/...
Sergio Negri's user avatar
1 vote
0 answers
48 views

broacast tv specs.

can any one help me about how can i deliver this specs for a broadcast tv channel ? : im using fcpx and compressor 4. do i need any other app or can i manage it with those ? which specs i do on fcp ...
Miguel's user avatar
  • 11
1 vote
0 answers
222 views

Optimizing HTML5 video for best quality

I have a 3 minute video I'd like to embed on a web page. The problem is that despite best efforts, the file size of the video ends up being over 30 mb. I would like the size to be near 10 mb. I have ...
auto's user avatar
  • 121
1 vote
0 answers
753 views

HLS Preset Settings 240p, 360p, 480p, 720p and 1080p

I am trying to transcode mp4 videos into HLS using AWS transcoder. I see that there are only few presets available which are like 1M, 1.5M and the highest 2M. I am unable to get 240, 360 , 480,720p ...
Omair's user avatar
  • 11
1 vote
0 answers
27 views

Extract video from sony handycame with perfect quality

I've got an old sony handycame that record into tapes. When i try to display the videos in my samsung tv using RCA cables, the video is full screen and with a really good quality. I wanted to ...
Mssm's user avatar
  • 111
1 vote
0 answers
62 views

Best encoding setting for presentation like video

I have a video series that have a low fps by nature. The videos are in presentation format with audio. The video is produced using Adobe Premiere Pro CC 2015 and contains 4K image clips and 256kbps ...
Omtara's user avatar
  • 111
1 vote
0 answers
932 views

How to speed up DNxHR HQX capture with ffmpeg?

I'm trying to capture DNxHR HQX to my SSD. I want HQX because I need the 10-bit color for grading (HQX is a 12-bit codec, but HQ and below are all 8-bit). 8-bit HQ recording is no problem; I ...
Patrick Kenny's user avatar
1 vote
0 answers
2k views

gain the highest quality with H264 at a certain bit rate

I have encoded my videos using ffmpeg and H264, and this is my ffmpeg command (2 pass encoding): ffmpeg -y -i Edited\ Clips/arsenalVScristalPalas.mp4 -movflags faststart -c:v libx264 -x264opts '...
evan's user avatar
  • 21
1 vote
0 answers
672 views

Using FFmpeg can I merge three different videos using overlap and overlay in one instance?

I'm quite new to FFmpeg, so please bear with me. I find myself in a situation where I have: An intro video A main video An outro video Desired effect: The intro video has an alpha channel that at ...
E. Rose's user avatar
  • 11
1 vote
0 answers
865 views

Is it possible to increase video gamma or brightness at container level?

I would like to know if is it possible to increase the brightness or gamma of a video without full re-encoding. For example some versions of ffmpeg allow certain special bitstream filters described ...
Konstantin's user avatar
1 vote
0 answers
960 views

MPC-HC is altering the colors

In order to test a lossless recording system, I have to verify that the input video is exactly the same than the output video. As a test source I have generated an ffmpeg's testsrc pattern, which is ...
RawBean's user avatar
  • 163
1 vote
1 answer
4k 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 ...
TLM's user avatar
  • 11
1 vote
0 answers
2k views

Is there a simple explanation of x264 encoding parameters?

So, x264 is still the most popular (free) H.264 encoder out there. But it is also still considered ridiculously cryptic as well. There are tons of switches and options in the encoder that allow you to ...
WineSoaked's user avatar
1 vote
0 answers
2k views

Lossless Editing by Combining Clips with FFmpeg x264

My new Canon Vixia HF G30 video camera has an option to encode directly to 35 Mbit/sec Mp4 at 1080p60 and it does a nice job. I primarily use it to record my daughter's high school basketball games. ...
fionasdad's user avatar
0 votes
0 answers
27 views

Same FFmpeg command produces different Matroska MKV output file checksum

The following exemplary FFmpeg command takes an MP4 file, doesn't do any re-encoding, but simply writes the output to an MKV file: ffmpeg -i input.mp4 -c copy output.mkv If I run the same command ...
finefoot's user avatar
  • 141
0 votes
0 answers
94 views

ffmpeg copy some audio streams and re-encode some audio streams

The Problem I have a mkv file that contains audio in a format that not all my devices support. To get full support, I want to copy that audio and convert it while retaining the original audio. Input: ...
not_anyone's user avatar
0 votes
0 answers
40 views

How to stitch two videos side by side using ffmpeg?

I want to create a video that consists of same video encoded at 2 different quality levels, half of each stitched side by side. Basically, like this image, right half of the video is the right half of ...
angel_30's user avatar
  • 353
0 votes
0 answers
115 views

ffmpeg able to use cuda, Vulkan and opencl at the time?

I am using ffmpeg with a lot of filters. I am currently using one gpu for using cuda filters like overlay_cuda and the encoding with: -hwaccel_output_format cuda -hwaccel_device 3 -hwaccel cuda. I am ...
Michael Ciesielczyk's user avatar