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
1 answer
3 views

Handbrake Output Visually Freezes on Interstitial

I downloaded an m3u8 stream using a Chrome plugin, and it created an mp4 file which I can play fully in VLC. Next, I am attempting to use Handbrake to encode this file to be played on an old iPod Nano....
1 vote
1 answer
328 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
2 answers
476 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
0 answers
17 views

FFmpeg recover_mp4 help

ive been using ffmpeg and recover mp4 to try and restore a dashcam video from a car accident. im a beginner using this method/ software and im running into this issue. not sure how to "increase ...
0 votes
1 answer
536 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
0 answers
19 views

Why is my rendered video output larger than imported files?

I have imported multiple video files (roughly 3h30min / roughly 11GB). I have stripped out the Audio and reduced my total cuts to roughly 2m12sec. I have tried multiple render video output formats, ...
0 votes
0 answers
12 views

FFprobe not showing frames data

As a beginner I don't know much about ffprobe and other video editing command line tools. Please guide me here. I am trying to download a video with yt-dlp and trim it to the nearest key-frame of my ...
0 votes
1 answer
434 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
1 answer
429 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
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 ...
4 votes
1 answer
418 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
1 answer
2k 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
1 answer
4k 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
1 answer
190 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
1 answer
73 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
1 answer
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
2 answers
42 views

ffmpeg max resolution surpassed

I'm creating a sprite sheet for my website which will be used as an animated background mask on a button hover. The only issue I'm having is creating the sprite sheet mask I have 297 720p images I ...
0 votes
1 answer
2k 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
2 answers
306 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
1 answer
3k 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
1 answer
402 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
1 answer
219 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 ...
0 votes
1 answer
492 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 ...
1 vote
0 answers
390 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 ...
0 votes
1 answer
992 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 ...
0 votes
0 answers
7 views

Suitable codec and settings to encode videos that can be scrubbed back and forth for making transcripts

For scientific purpose, I'm encoding videos that are going to be transcripted. Since in the process of transcription the person who does the transcription needs constantly to jump back and forth in ...
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)....
0 votes
1 answer
44 views

Encoding to the same H.264 size as YouTube

I am unable to re-encode an H.264 video that I downloaded from Youtube back to its original size. The MediaInfo is pasted below. The size of the video stream is 20 MB. I decoded the video into raw YUV ...
0 votes
2 answers
113 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
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 ...
1 vote
1 answer
139 views

Can you fix videos with "error: more than 5 seconds of late video" without re-encoding with ffmpeg?

I have obtained a video, ffprobe for it shows: $ ffprobe test-000000.mp4 ffprobe version 4.2.7-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers ... Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '...
0 votes
0 answers
81 views

How output multiple stats file for multiple output?

I'm launching encoding ffmpeg using GPU with 2 outputs: one using H264_NVENC and one using HEVC_ENV. To enable video stats output I'm putting -vstats before input file. To specify output of video ...
0 votes
1 answer
68 views

How to re-encode leaving only every Nth frame in?

I have several hours of CCTV footage that I'd like to reasonably quickly skim. If there was a way to take every say 60th frame from it and put together a video from those frames that would be perfect. ...
0 votes
0 answers
26 views

Why, in FFmpeg with libx265 the timestamp tbn parameter is always 1k even when it seems not logical?

I encode with ffmpeg and noticed that when I encode a y4m video in 29,97 FPS into a h265 video with libx265, the parameter of the two videos are the following : original y4m : 29.97 fps, tbc : 29.97 ...
0 votes
1 answer
89 views

Understanding YouTube Video Color

When I upload a video to YouTube, the white areas become grey and the colors seem a bit washed out. This is how it looks locally: And this is how it looks on YouTube (Screenshot from Firefox): This ...
2 votes
0 answers
72 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?
4 votes
4 answers
556 views

Recommended Encoding for VHS to Digital to be Followed by Post Processing

I have VHS tapes that I want to digitize. I started this using something like Pinnacle's Dazzle. I notice that the only encoding options were for compressed video, which could lead to quality ...
0 votes
0 answers
8 views

Recording dozens of videostreams simultaneously - software & hardware stack advice required

I have a task to record multiple web-based (HLS) streams simultaneously; we're talking about ~20 streams with possible scaling to ~50 in the future. Each stream comes as an individual link, 1080p, no ...
-1 votes
3 answers
472 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
0 answers
39 views

ffmpeg demuxer file size

I have used ffmpeg to concatenate two MKV containers with both files having AV1 codec like so: ffmpeg -f concat -i input.txt -c copy "out.mkv" Interestingly enough, the first file has ...
1 vote
1 answer
835 views

How to convert an mkv file with hevc encoding to mkv with avc

I have some mkv files with a hevc encoding which is not allowing me to burn to disc in covertxtodvd as it shows no video track as the encoding isn't supported, i was wondering if it was possible to ...
0 votes
0 answers
9 views

How to mux JPEG into TIFF?

I understand that I can decode and then re-encode JPEG to TIFF using: ffmpeg -i input.jpeg -pix_fmt rgba output.tiff But instead I want to do lossless muxing from JPEG into a TIFF container/format. ...
0 votes
1 answer
31 views

Different decode performance in two similar H.264 videos

I have two, at first glance very similar mp4 files (A & B), each of them created by different capture software. File Captured using codec resolution fps bitrate A.mp4 Elgato 4K Capture Utility h....
11 votes
1 answer
14k views

How to encode for YouTube with ffmpeg?

I just read Recommended upload encoding settings article from official google support. I think this is the best settings for encoding my youtube videos. Can you help me find out how to encode that ...
1 vote
0 answers
221 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, ...
0 votes
0 answers
101 views

RTMP VS NDI-HX with now WIFI6

I'm trying to make a decision which all boils down to this. When it comes to streaming wirelessly (over WIFI) in a local network to a streaming PC/server, is it better to use NDI-HX or RTMP. Most ...
0 votes
0 answers
21 views

What causes, and how to avoid artifacts on uncompressed video?

Wondering what in particular could be causing visual artifacts on uncompressed video and how to avoid it. I am assuming it is due to the encoding, but would need confirmation as I'm not an expert on ...
0 votes
0 answers
213 views

Issues in trimming a video with FFmpeg

I have a .webm video captured through a web browser. Using ffmpeg, I want to trim it into its first 30s without re-encoding and quality degradation. But I have issues doing it and ffmpeg complains ...
0 votes
0 answers
163 views

FFmpeg saturates memory + CPU usage drops to 0% during very basic conversion of PNG files to MP4 video

I have this Python function that runs ffmpeg with minimal options from the Windows command line: def run_ffmpeg(frames_path, ffmpeg_path=notebook_directory): ''' This function runs ffmpeg.exe ...
4 votes
2 answers
3k views

What is the correct MPEG-2 FourCC?

In my attempts to encode a video to MPEG-2 in an MOV (which seems to be a valid combination, at least according to Wikipedia), using ffmpeg (-vcodec mpeg2video) and other tools, I have become ...

1
2 3 4 5
8