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

Best way to go from DTS-HD audio track to any similar DOLBY (New Samsung without DTS support) [closed]

I'm looking a lot about this subject, would like some help to close it. The main goal is to watch high quality movies on my 4K TV with great audio too. My gear: - Samsung TV that does not support ...
1
vote
1answer
21 views

ffmpeg log missing “dup” and “drop” key-value pairs

For some reason, my ffmpeg output log does not show dup and drop key-value pairs. expect: ... frame=563 fps=138 q=23.0 size=13056kB time=00:00:09.42 bitrate=11346.8kbits/s dup=0 drop=0 speed= 2.3x .....
0
votes
2answers
30 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 ...
0
votes
0answers
12 views

FFmpeg merge two files from different sources with different bitrates

I have created an intro video with Adobe Premiere Pro and I want to add the intro video to my downloaded Mixer stream videos before uploading them to YouTube, without reencoding the complete video ...
0
votes
1answer
22 views

Encode a small proxy file with multiple audio streams for editing on Linux

After capturing 2K video in 444p with OBS, I need to transcode it to a low quality proxy version that's still easy to scrub and not a huge file. I capture 3 audio tracks in 32-bit PCM and the image ...
0
votes
0answers
11 views

ffmpeg pad and rotate - colour differential on upload to youtube

I'm using ffmpeg to rotate a square video to the desired angle, and then pad it from 1250x1250 to 2300 x 1293 (16:9). I use the following set of commands: ffmpeg -i input.mp4 -vf "rotate=-74*PI/180" ...
0
votes
0answers
22 views

Another question on Non-monotonous DTS in output stream

I use ffmpeg to convert and join multiple mp3 files into m4a. BITRATE=128k find . -name "*.mp3" | parallel --lb -k "ffmpeg -y -i {} -map 0:a -c:a aac -b:a $BITRATE {.}.m4a" OUT_NAME=${OUT_NAME:=out....
0
votes
0answers
14 views

How to export a video that is playable in WhatsApp?

I'm editing a video and want it to be playable inside WhatsApp. I've tried some configurations but when I send the video as a WhatsApp message, it always goes as an annexed document. The user can ...
0
votes
0answers
15 views

Editing issues with variable framerate input footage (Whatsapp videos)

I have to make a video for social media, mixing several short clips which have been sent to me via Whatsapp. I'm using Da Vinci Resolve 16. When taking the videos into the timeline, I get several ...
0
votes
0answers
37 views

ffmpeg rtmp server connection issues

I am trying to stream using ffmpeg rtmp using, ffmpeg -i out2.mp4 -c:v copy -c:a aac -listen 1 -ar 44100 -ab 64000 -f flv rtmp://localhost/live The process starts but nothing is happening after ...
0
votes
0answers
15 views

Extending the length of a video and overlaying an alpha PNG image sequence using FFMPEG

I’ve got several videos to which I’d like to add ‘outro’ animations to, using FFMPEG. The outro animation itself is a sequence of 41 frames of alpha PNG images named consecutively, from Outro.00000....
0
votes
0answers
23 views

What does “top coded first (swapped)” mean in ffmpeg output?

I am attempting to convert a 1080i top first H.264 video to another with interlacing maintained. But when I look at the output, after setting these flags: -top 1 -flags +ildct+ilme -x264-params ...
0
votes
0answers
56 views

VMAF wrong results using SVT-AV1 encoder

I have a source video (source.mkv, which is a 25fps 1080p x264 encoded video), and I have reencoded it using SVT-AV1, like this: ffmpeg -i source.mkv -nostdin -f rawvideo -pix_fmt yuv420p - | ...
0
votes
0answers
24 views

Delta encoding for video files?

I have a very high quality video and I need to produce a high quality and a low quality version for transport into other systems. For the high quality version I use a lossy compression (currently ...
0
votes
0answers
47 views

What is the practical effect of x265 HEVC -tune fastdecode (vs. x264 without fastdecode)?

I have some still shots from a security camera. I want to reduce the archive size while keeping the details. I use -qb for encoding rather than -crf because -crf blurs the moving objects. I am ...
0
votes
0answers
11 views

ffmpeg adds two seconds of unwanted silence at end of video [duplicate]

I am creating a video file from a single image, and audio. Though, after running conversion the resulting video file is the audio track's length, plus two seconds. The audio codec does not affect ...
0
votes
0answers
14 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
19 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
253 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 ...
1
vote
1answer
353 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
40 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
27 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
17 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
74 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
41 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
22 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
23 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
544 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
32 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
39 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
39 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
242 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
115 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
48 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
48 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
72 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
51 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
23 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
94 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
43 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
514 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
50 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 ...
2
votes
1answer
192 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
90 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
130 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
389 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 ...
0
votes
1answer
36 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
276 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
275 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
62 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 ...

1
2 3 4 5 6