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
12 views

Convert mp4 for different resolutions for playing using his

How do I transcode my mp4 video to different resolutions and create m3u8 for all for adaptive streaming
0
votes
0answers
10 views

How to configure B-frames (with no leading P-frames) in x265

I have been rolling around with my studies in x265 encoder for days by following this online x265 docs and this article. But I cannot figure out how to set the x265 encoder to code only I- and B-...
0
votes
1answer
26 views

Is there a way to improve h264_nvenc output quality?

I'm compressing some videos for archiving, and I came to this configuration which gives me a nice overall quality on a small size: ffmpeg -threads 4 -y -hide_banner -i input.mp4 -vf scale=-2:480 -c:v ...
0
votes
1answer
53 views

Combining two live RTMP streams into another RTMP stream, synchronization issues (with FFMPEG)

I'm trying to combine (side by side) two live video streams coming over RTMP, using the following ffmpeg command: ffmpeg -i "rtmp://first" -i "rtmp://first" -filter_complex "[0v][1v]xstack=inputs=2:...
1
vote
0answers
36 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 ...
0
votes
0answers
22 views

How to split an mp4 into original ts segments?

I have a *.mp4 file that was concatenated from a bunch of improperly ordered *.ts files. I'd like to extract original segments from the *.mp4 without encoding and manual cuts. Is it possible and if so,...
0
votes
2answers
16 views

Can I make m4v files “better” before archiving? (adding keyframes, or lossless optimization, or ?) [closed]

I've got a decent bitrate DVD rip of an animated TV series, and before sending it to it's forever home (currently my PS3's extra HD space), I was wondering: can you take existing m4v files and make ...
0
votes
0answers
28 views

Online VPS or Dedicated, Seedbox Video Encoding Help

I have a few questions. When I was younger I use to encode lots of old Animes for fansub teams and do Karaokes on my PC. My PC is currently out dated and do not have the space nor the power to do my ...
0
votes
1answer
27 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
0answers
20 views

merging videos results in a messed up output

I'm trying to merge 2 videos with the same resolution and codecs but on the merged output only the first part (first video) works correctly and as soon as it ends there's a static image of the ending ...
0
votes
0answers
10 views

Can I manually delete frames from a video file like mkv/mp4 without using any video editor?

If I have a video file from which I want to delete/jump/skip a certain scene... Can this be done manually? I mean I know there are a ton of software (both FOSS & proprietary) which can achieve ...
0
votes
1answer
172 views

How to tell ffmpeg to copy all streams except one audio stream (to encode)?

Input: * One Video * 4 audio streams * Many subtitles * Chapters I want to re-encode one of the audio streams (the first one) and keep everything else as-of (copy). Is it possible to do that in ...
0
votes
1answer
25 views

Is VAAPI the same as hardware encoding?

I don't know if this is the place to ask, it's a bit of a hybrid video/IT/developer question, so my apologies if it is not. I scoured the entire internet and can't find an answer to this question! I'...
0
votes
0answers
32 views

Real time H.264 streaming - sender to receiver

Trying to get H.264 to stream real time from one point to another point (i.e. single sender and single receiver). Is there an easy proof of concept to do this using ffmpeg. Tried multiple player ...
0
votes
1answer
33 views

x264 Downsides of a high CRF (22) intermediary codec between conversions instead of lossless

I have a huge collection of video files that are in the range of CRF 16-20 taking up TB's of space. The only need I have for these originals is that I have to encode them from time to time but the CRF ...
0
votes
0answers
123 views

How to decrypt video using ffmpeg?

I've managed to encrypt my video files using the ffmpeg command below however I can't find a way to save the decrypted output. ffmpeg -i {file} -encryption_scheme cenc-aes-ctr -encryption_key {key} -...
2
votes
2answers
74 views

Is CABAC encoding lossy or lossless in ffmpeg?

I've been looking into how to compress a video using ffmpeg when I stumbled across CABAC encoding which I could specify by using the libx264 for the video codec and pairing it with the proper ...
1
vote
0answers
26 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
36 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
31 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
30 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
19 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
82 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
39 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
310 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
43 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
141 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
69 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
92 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
270 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
34 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
147 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
190 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
49 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
286 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
1k 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
72 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
175 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
89 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
197 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
75 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
120 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
19 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
21 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
281 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
520 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
37 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
325 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
184 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
83 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 ...

1
2 3 4 5 6