Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [encoding]

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

-2
votes
0answers
12 views

Play MP4 on P&S camera

I have old Nikon P&S camera (Coolpix S3400). I want use it as Video Player (play videos downloaded from YouTube). I know it need special format for video files, so I recorded video on camera ...
1
vote
1answer
17 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
47 views

ffmpeg for m2t and Sony Bravia - no 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
votes
0answers
19 views

Premier Pro: why does Encoding leads to pinkinsh' green lines?

I'm working on editing footage which I have sped up to create a time-lapse. The video is created from several different source files, some of which where inverted so I rotated them. I'm also trying to ...
0
votes
0answers
5 views

How do I “spread out” the viewing window of mp3DirectCut?

I recently re-installed mp3DirectCut and found my experience with the re-install significantly different than my original install. Originally, the viewing window of mp3DirectCut was small enough that ...
0
votes
0answers
36 views

Library for SMPTE 2022-5/6/7

I start working on SMPTE 2022-5/6/7 and i need a library to TX/RX according to these standards and processing on video, audio and ancillary data. Do you know such libraries which are implemented ...
1
vote
1answer
40 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
24 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
40 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
38 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 ...
2
votes
1answer
20 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
0answers
5 views

How to add this transition in premiere pro

I am trying to add "IN" transition from the Presets between two photos This is the transition: When I try to add the transition to the 2nd photo like this It just does not work, there's a black ...
0
votes
1answer
19 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:...
1
vote
1answer
21 views

Problem setting different framerates with ffmpeg map option

I am facing a problem to set video streams framerates with FFmpeg when using the map option. Here is what I want to do: Given an input video file of 60fps, I want to generate an output file ...
3
votes
1answer
78 views

Using ffmpeg to add height (as black bars) to video file without quality loss

I have a file of resolution 3840x1632, but my TV stretches the picture vertically to fill up all 2160 pixels of height. Is it possible to use ffmpeg to add blank / black height, while preserving the ...
0
votes
0answers
68 views

How can I fix this damaged Camtasia recorded video file?

Been recording using Camtasia Recorder and then suddenly mac crashed and restarted. I really hope someone here had encountered with a similar case in the past! I really need to fix that video cause ...
0
votes
0answers
9 views

cropped video not right after export

Got a 720x576i export, 16:9, pal widescreen. Wanna crop it to have padding on each side, 9 pixels each I do that, and when I import it in AE to mesure, I get 12 pixels on each side. Has this ...
0
votes
2answers
97 views

Is it possible to use 2-pass encoding to create vp9 / webm videos from an image sequence?

I'm currently creating webm videos using ffmpeg to encode an image sequence. My command is: ffmpeg -framerate 30 -f image2 -i frames/%04d.png -i my_audio.flac -c:v libvpx-vp9 -pix_fmt yuva420p -b:v 0 -...
0
votes
1answer
167 views

Is it safe to use the yuva420 pix_format option with ffmpeg to encode webm videos?

I am encoding png image sequences to both webm and mp4 formats using ffmpeg. My goal is to achieve perceptually lossless videos, with the smallest file size I can reasonably achieve. The webm videos ...
0
votes
1answer
25 views

Video cam with poor compression ratio (H.264 produces videos at 2.9MB/sec)

I just purchased a cheap dashboard video-camera that is advertised to have a H.264 codec inside. However, after the first video test I have seen that a 43sec movie takes 123MB! How is this possible. I ...
0
votes
1answer
165 views

How to encode this settings 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
1answer
21 views

codec/container with additional reconstruction information for archival?

Are there (open source) codecs that support additional recovery information to be added during encoding to allow for an improved recovery from corruption? Application would be data archival of videos ...
1
vote
0answers
9 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 ...
0
votes
0answers
92 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/...
0
votes
0answers
16 views

how to get smoother results with p frame duplication?

I tried p-frame duplication to get a bloom effect. I have a lot of files to process so I use aviglitch to go through every file in a directory and perform the same p-frame duplication. The procedure ...
3
votes
2answers
103 views

How should I interpret the results from Netflix VMAF

I've been encoding some clips and then analyzing them with the VMAF tool from Netflix, but I don't know how to understand the results. This is the overall mean section of one of my tests. ...
0
votes
0answers
15 views

tv broadcast help [duplicate]

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 ...
1
vote
1answer
21 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 ...
0
votes
1answer
37 views

Different rate distortion curves for two videos encoded with same parameters in FFMPEG

I encoded two videos (ParkJoy and Sintel) in FFMPEG by H.264 with same parameters (GOP size, QP, frame rate, resolution etc.) and obtained rate-distortion plots (mean PSNR of Y channel vs bitrate). I ...
3
votes
1answer
192 views

Digitize a VHS tape with FFmpeg and get a live preview

Digitize a VHS tape with FFmpeg On this thread, I found a perfect command to digitize a VHS tape with FFmpeg using a USB video grabber. All good with that; it works like a charm. Acceptable bitrate, ...
0
votes
1answer
24 views

If I encode a video above source and then later do a final encode, will I lose extra quality vs the final encode directly?

I am very happy with my Handbrake settings for my final encodes but I have a video that needs to be edited first. I intend to use Vegas Pro to do this but the default encoding settings create terribly ...
0
votes
0answers
163 views

Replacing I-frames in h265 stream

I'm trying to follow this tutorial: https://www.reddit.com/r/brokenanimegifs/wiki/tutorial Everything works perfectly. On the basis of this tutorial, I even created my own little tool. It just ...
1
vote
2answers
555 views

Hardware acceleration in Adobe Media Encoder vs ffmpeg

On macOS, Adobe Media Encoder has options for hardware-accelerated rendering utilizing OpenCL, which seems to speed up encoding time. On the other hand, according to the ffmpeg wiki, ffmpeg's ...
0
votes
0answers
290 views

Best settings in Media Encoder for fastest proxy transcoding?

What are the best settings/codecs in Media Encoder for the fastest proxy transcoding possible? I manually added a new encoding+ingest preset to transcode the footage to very low resolution proxies. ...
0
votes
0answers
19 views

encoding for slideshow with text and graphs

I want to encode the video recording of a slideshow. Slides are mostly graphs (line plots with labels) and text, few pictures. Framerate can be as low as possible to save filesize (is roughly 1 slide ...
0
votes
2answers
440 views

How do I avoid objects having flickering edges when I encode a screen recording to mp4 using x264 and ffmpeg?

The Goal I'm creating short tutorials by recording my screen (720p30fps). The content is just a recording of using some desktop software - so mouse moving and opening dialogs, typing, drawing shapes, ...
0
votes
0answers
79 views

Using image sequence with 8192x8192 resolution to encode a video using x264

I want to encode an image sequence where each image has a resolution of 8192x8192 pixels. Let the framerate be 30fps. I wonder if its possible to encode a video out of this using x264. Using HEVC ...
0
votes
1answer
528 views

stream with ffserver without encode-decode

I have static file on my disk I want to stream it with ffserver . The problem is that ffserver is decode and encode my file. I know how to pass decode and encode when I save stream to file ffmpeg-i ...
0
votes
0answers
24 views

kinovea-friendly format for quicker backward frame-by-frame

I'm a kinovea beginner using it for (sport) motion analysis. The backward frame-by-frame navigation is rather slow. I saw a recommendation to use videos with so called intraframe coding, e.g. DV or ...
1
vote
1answer
382 views

FFmpeg - how to adjust video (clip) duration to sound duration if sound is longer, possible without re-encoding it with mp3 file?

I have a problem. I have recorded my videos separately, and then added sound to it. Sometimes, sound is longer or less in duration compared to video duration. Usually sound is longer, sometimes around ...
0
votes
0answers
345 views

FFMpeg encode 8192x8192@60 with high quality from image sequence

I am looking for the right ffmpeg config or an alternative software to encode a long sequence of images captured with 60fps and a resolution of 8192x8192 pixel. What i tried is to use h264 encoding, ...
1
vote
0answers
70 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 ...
0
votes
0answers
19 views

Up-to-date optimal settings for Facebook video encoding?

I know that since some time Facebook improved the video quality it can support (including 4K, 50/60p etc.) When I was outside, I found on my mobile an up-to-date Facebook technical page giving ...
0
votes
0answers
140 views

Sanitizing mpeg files

I have a fair number of video files which contain mixed frame rates (and may have errors) that I'd like to convert/sanitize to a fixed 29.97fps. They're used for playout into an NTSC analog cable-TV ...
3
votes
1answer
104 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 ...
1
vote
1answer
368 views

H.264 adding dark anti-aliasing even on high444 yuv444p

I have a PNG file with white on red and no antialiasing at all - each pixel is either white or red, but when I encode it to MP4 using ffmpeg -i test.png -profile:v high444 -pix_fmt yuv444p -loop 1 -...
0
votes
1answer
67 views

Encoding low bitrate video source file to a higher bitrate

I need to know if there will be any difference in the quality of the encoded video if the bitrate of the source file is, let's say 2000kbps and I encode it to 4000kbps. Any help will be much ...
0
votes
0answers
115 views

HLS Video encoded at Amazon Elastic Transcoder remains on lower quality

I am having troubles with HLS videos encoded at Amazon Elastic Transcoder using their own builtin HLS presets. I have a 1080p source file that I have uploaded. When playing back, the video won't ...
1
vote
0answers
235 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 ...
0
votes
0answers
545 views

PSNR & DMOS SSIM comparison between AVC & HEVC

I am trying to analyze the PSNR and the DMOS of two clips, both encoded with the same bitrate and settings, the only difference is the encoding standard HEVC vs. AVC and both the PSNR and DMOS values ...