Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
11 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
12 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
9 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
8 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 ...
1
vote
1answer
29 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
49 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
80 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 ...
0
votes
1answer
155 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
45 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
130 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
vote
1answer
77 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
65 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
82 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
128 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
37 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
113 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
34 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 ...
4
votes
1answer
457 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
2answers
239 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 -...
1
vote
1answer
456 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
37 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
681 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
1answer
25 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
11 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 ...
1
vote
0answers
166 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/...
3
votes
2answers
192 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
29 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
49 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
490 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
26 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
261 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
950 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
2answers
747 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
1answer
758 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 ...
1
vote
1answer
434 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 ...
1
vote
0answers
82 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 ...
4
votes
1answer
158 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
470 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 -...
1
vote
2answers
95 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 ...
1
vote
0answers
311 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
1answer
288 views

libx265 NUMA pool configuration misleading

I have the following scenario: Using libx265 and a dual-socket system (thus 2 NUMA nodes) I want to encode videos using ffmpeg and libx265. libx265 can be configured to use thread-pools which are ...
1
vote
0answers
437 views

How can I mux video and audio from separate sources that're at different frame rates?

I'm having trouble muxing the video from one source with the audio from another because the audio drifts over time. As I mentioned in the title, the sources are at different frame rates, the video's ...
1
vote
0answers
22 views

Extract video from sony handycame with perfect quality

I've got an old sony handycame that record into tapes. When i try to display the videos in my samsung tv using RCA cables, the video is full screen and with a really good quality. I wanted to ...
5
votes
1answer
310 views

What is the colour range of most videos?

Colour range (Limited, Expanded) is something I've only thought of recently, and I'm worried I may have introduced colour banding into some of my videos. When doing a standard MP4 export from ffmpeg, ...
1
vote
0answers
606 views

FFmpeg Windows MP4 - remove specific frames

I have a movie - movie.mp4. I wish to remove/delete specific contiguous frames from movie.mp4 which are located somewhere near the middle. Specifically, total frames in movie.mp4 = 33,595. I would ...
0
votes
1answer
102 views

Add filter to prores file

I have captured some Mini-dv home videos to .avi. With ffmpeg I converted to prores v2 .mov files. Now i need to add yadiff filter.(interlaced -> noninterlaced) Is is possible to "update" my files ...
1
vote
0answers
23 views

Best encoding setting for presentation like video

I have a video series that have a low fps by nature. The videos are in presentation format with audio. The video is produced using Adobe Premiere Pro CC 2015 and contains 4K image clips and 256kbps ...
1
vote
1answer
322 views

Reencoding H.264 to H.264 made it 40% larger

I've got some livestreamed footage (encoded with constant bitrate), and I've been trying to reduce the file size for long-term storage. I figured that since encoding speed is no longer a constraint ...
2
votes
1answer
39 views

How to save playable infinite video?

The situation is described here. In short, I need a way to save infinite video real-time, playable while being saved. Suppose, there are ways to do this. I imagine it's done like in web DASH, in ...