We’re rewarding the question askers & reputations are being recalculated! Read more.

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

PTS DTS indicator in PES frame

I'm trying to add timed metadata into TS files and to the best of my knowledge it is only possible if the PES frame has the PTS DTS indicator with the value 2, which means that only PTS is present. ...
0
votes
1answer
11 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
0answers
16 views

No Maximum Bitrate H264 codec

I am trying to export a video with a low bitrate. Regardless of what I set as the target bitrate, the video always is exported with the highest possible bitrate. This occurs whether I use VBR or CBR. ...
0
votes
0answers
13 views

FFMPEG garbled video download

I've downloaded a video using FFMPEG. The logs are here. Here's the first 10 minutes of the video that FFMPEG downloaded. As one can see, video is all garbled up. And there seems to be no audio. ...
0
votes
1answer
15 views

Encoding Problems in 2019 Premiere, AfterEffects and Media Encoder

I know this question was asked before, and I've read pretty much all of them and I have no solution to this. Until recently, I could render everything just fine but when I am rendering a 2 minute ...
0
votes
2answers
30 views

Can ffmpeg downsample pixels perfectly?

I've tried all the swsflags options and figure the answer is no, but it can't hurt to ask just in case. For example: downsample from 1920x1080 to 960x540, then upsample back to 1080 using the ...
0
votes
1answer
43 views

How to extract each video scene with FFmpeg

I'm trying to detect scenes and save them as individual files with FFmpeg. I found this long command somewhere, but it fails with a good detection. I change the scenecut value, but I don't see any ...
0
votes
1answer
24 views

Can you encode intra-frame videos from inter-frame without loss?

I'm aware of the differences between intra and inter, but I'm not the most savvy about reencoding them after the fact. Is encoding with intra from an inter-coded video the same as if you originally ...
1
vote
1answer
83 views

Editing/Changing Cluster Timecode Element in mkv files (Amazon Kinesis Video)

I've tried researching this very thoroughly, but have not come across a similar issue. To sum up my problem first, I'm sending 3 second .mkv clips into Amazon Kinesis Video. Then I pull back random ...
0
votes
1answer
43 views

Good codec for embedded system video decoding

I need to get streaming video working where a source streams video to an embedded platform. This embedded system has an ARM-Cortex-A9 without a GPU or a hardware video decoder. Unfortunately I don't ...
0
votes
0answers
39 views

ffmpeg and minterpolate fail for large jpeg source files

I am trying to encode 5000x3000 pixel .jpg images into video, and would like use frame interpolation using ffmpeg 's minterpolate tool. I realize this is a huge video at high quality, but the idea is ...
0
votes
1answer
41 views

How to use hardware acceleration with FFMPEG for trimming and concatenation purposes

I am running FFMPEG on a Windows 10 (64-bit) laptop with Intel i3 (6th generation) processor and AMD R5 M430 GPU. I shot many videos on a recent trip. Cumulatively, they are over 100 hours long. Each ...
1
vote
1answer
27 views

Some MP4s have keyframes on scene changes. Others seem to have random keyframes, or keyframes every X seconds. What causes this discrepancy?

Some MP4s have keyframes on scene changes; others have keyframes seemingly randomly placed, or placed every 5-10 seconds. I prefer the former, both for ease of editing and because, unless I'm ...
1
vote
2answers
49 views

Is using codecs matter if Facebook re-encode all the uploaded videos?

I usually encode with libx265 and libfdk_aac to get good quality and small file size for posting in Facebook. I use ffmpeg as follows. ffmpeg -i input.mp4 -vf -c:v libx265 -c:a libfdk_aac output.mp4 ...
0
votes
0answers
76 views

FFmpeg 2017 vs 2019 decoding performance improvement

I was trying to do some basic profiling on ffmpeg, following my previous question here. I have a relatively high-bitrate .ts file (17mbps), and I have two versions of ffmpeg (2017.3 and 2019.4), and ...
0
votes
1answer
34 views

Can't tell if prores4444XQ is any different than prores4444 in ffmpeg 4.1

Using ffmpeg 4.1 and prores_ks codec. I've encoded various clips into 4444 and 4444XQ. All play and look fine but when I try to use -pix_fmt yuv444p16le for 4444XQ I get the warning: Incompatible ...
0
votes
1answer
67 views

What happens if you uncheck key frame distance in Premiere Pro CS6

The default is 72 which is in frames I suppose. However what happens if I simply uncheck it? Does it work like AVC Intra where key frames doesnt exist and every pixel in every frame is processed like ...
0
votes
1answer
496 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
35 views

Why both videos are of same file size?

I am using ProMovie Recorder to record high quality videos using iPhone X, and I noticed a weird thing today. Here's what I did: I recorded a 4K 60fps video for 6 seconds (HEVC encoding). I recorded ...
0
votes
0answers
102 views

FFMPEG - Nero and Quicktime Format Chapters

Ok, I'm usually really good at finding the answers to my FFMPEG questions myself but I'm a bit stumped. I've got this file, an MP4, here is part of the MediaInfo: Menu 00:00:00.000 ...
0
votes
4answers
53 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 ...
1
vote
1answer
82 views

Prores ffmpeg questions

I am trying to understand how to use Prores Kostya with FFmpeg, and I have a few questions regarding this: I have a Panasonic G85 and Gopro Hero 7 black which I used to shoot 4k in. For 4k footage, ...
0
votes
1answer
33 views

Compile FFmpeg example code

I was trying to compile an FFmpeg example code HERE that illustrates how to use filters using it's C APIs. I compiled the code (throuh a universal make). As the usage suggests, I'm doing this: ./...
0
votes
1answer
45 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 ...
0
votes
1answer
16 views

What is the proper terminology for a device that can accept IP video streams and output that to RF as used by consumer televisions?

More a terminology question than anything. As described in the headline, I want to locate a piece of hardware that can accept arbitrary IP streams (be they MPEG-TS, H264, etc - the exact input ...
2
votes
0answers
19 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 ...
0
votes
0answers
106 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 ...
0
votes
1answer
102 views

Errors in converting mp4 to ts with FFmpeg

I was trying to convert a caption-embedded .mp4 file into a .ts file. Only command found after some search was this which uses FFmpeg: ffmpeg -i 1559066401592889640.mp4 -c copy -bsf h264_mp4toannexb ...
0
votes
1answer
30 views

Objective video quality assessment

I'm trying to develop a tool that given a video (without a reference video), it can measure the quality. Basically given some thresholds, it assigns them a rating (I just need 4 classes 1-4). Since we ...
0
votes
1answer
168 views

Call FFmpeg filter from source code (C API)

I'm trying to find out how to call a FFmpeg filter (freezedetect) from within FFmpeg's source code. I see the filter's file is under libavfilter/vf_freezedetect.c, but I don't know how to use that ...
0
votes
0answers
92 views

FFmpeg loop filter doesn't work

This is a follow-up from my previous question here. Basically, I'm trying to use FFmpeg's loop filter to freeze some frames and insert black frames. It's very weird; I swear it was working a few days ...
1
vote
3answers
58 views

Some H.264 videos that I have seem to have excessive bitrate, is there a way to determine/find their recommended bitrate?

So I have some videos that are Full HD, h264 but they have over 30M bitrate at 30 FPS, they are SDR and their quality is not very impressive so it seems excessive and unnatural for such unimpressive ...
0
votes
1answer
125 views

What happens when you use a specific CRF value on a already encoded x264 video?

If there is a h.264 video, and I use -crf 17 I sometimes I get a lower bitrate, but the weird thing is - most of the time get a higher ones. I am trying to get this setting because I think some ...
1
vote
0answers
122 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 ...
-1
votes
1answer
33 views

Maximum YouTube video stream audio bitrate

I know that YouTube no allows 96kHz audio. But I also worry about second thing the bitrate. How much is possible maximum to get from YouTube stream? I'v only found recommended value of 384kbps, but I ...
0
votes
1answer
136 views

Where are the Source Scaling Options in Adobe Media Encoder CS6?

In Adobe Media encoder CC, the Settings in the drop-down menu have a Match Source option that will preserve the pixel size of the file. In this Adobe Help article, the authors of the page state that ...
0
votes
0answers
27 views

correct OpenShot settings to avoid the jitters

This video with spaceship building instructions was made with OpenShot. It is jittery. It was shot with a Samsung Galaxy S9. Here are the details I dug up from the source and final video: | Thing ...
3
votes
2answers
124 views

4:3 video has 720x480 resolution

I was trying to do some video editing and encoding. I have a so-called SD video that should supposedly be in 4:3 aspect ratio. But instead of 640x480, it is 720x480. Interestingly, when I play it with ...
1
vote
1answer
175 views

How to split video in small clip?

I'm trying to split a video (50-100Mo) into several small clips of a few seconds each. I don't need re-encoding, hence my use of codec copy. However some of the resulting clips don't have any video. ...
0
votes
1answer
253 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 ...
1
vote
1answer
349 views

What are the WebM (VP9+opus) encoding settings compatible for YouTube import for a video with a still image?

What are the WebM (VP9+opus) encoding settings compatible for YouTube import for a video with a still image ? I tried PAL and NTSC framerates with 48kHz stereo and and image size of 640x360 and kept ...
1
vote
1answer
221 views

Concat two MP4 files (side by side) with FFmpeg

I'm trying to concat two videos, side by side, using ffmpeg. One of them is 1280x720, and the other 1920x1080. One will be left, one will be right side. The higher resolution will be resized to the ...
0
votes
2answers
337 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 ...
1
vote
1answer
345 views

How to combine and optimize ffmpeg filters to avoid encoding multiple times?

I never worked with ffmpeg before and I'm wondering which optimization I can take for my situation. In a loop I have multiple input.mp4 files which I first convert one by one to have a common scale ...
2
votes
1answer
123 views

What does the `-context` parameter mean when using FFV1 in ffmpeg

In the docs for FFV1 there's a parameter -context, which can be set to 'small' or 'large'. That's all the documentation I can find. While I'm at it, what are the relative benefits of the different ...
1
vote
2answers
229 views

How to optimize already-encoded videos of still images (e.g. presentation slides)?

I have a H264 video that is, for the most part, just a video of presentation slides. It doesn't seem to me that it's as well-compressed as it could be. Given that it's a video of presentation slides, ...
1
vote
0answers
231 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 ...
3
votes
1answer
43 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
1answer
310 views

Setting different resolution for encoding and display when encoding in ffmpeg

I'd like to encode a video, say, in 960 x 720 but have video players automatically play it in 1280 x 720. I know how to do this in 2 steps, by first encoding in 960 x 720 (ffmpeg with -vf scale=960:...