Tag Info

Hot answers tagged

4

To expand on LordNeckbeard's answer, yes, just mux the JPEG data into an MJPEG video stream. That will be the smallest representation of the exact sequence of output images, even though MJPEG is a terribly inefficient codec by today's standards. (no temporal redundancy, and not even any intra prediction. You can make a variable-framerate MJPEG video to ...


4

This will output a lossless H.264 video where frames will use information from other frames ffmpeg -f image2 -r 30 -i %09d.jpg -vcodec libx264 -profile:v high444 -refs 16 -crf 0 -preset ultrafast a.mp4 Explanation of options: -f image2 - tells ffmpeg to select a group of images -r 30 - tells ffmpeg to encode at 30 frames (or images) per second (change ...


4

Ffmpeg can encode video using ProRes, and runs cross-platform ffmpeg -i input.avi -c:v prores -profile:v 3 -c:a pcm_s16le output.mov will do the trick.


4

If the frame-rate is not too high and you can associate a frame with a precise timestamp then the easiest would be to add the metadata as textual subtitles. The other option is to mux the metadata as standard headers in .mp4 or similar container format. .mp4 can be broken down into multiple fragments, each one with its own header, and theoretically this can ...


3

On Windows, I recommend FootageStudio 4K. It is a commercial converter (not cheap) that supports many professional formats, including ProRes.


3

You can use the pad video filter to add the required space on the bottom, and then the overlay video filter to place the image: ffmpeg -i video.vob -i image.png -filter_complex \ "[0:v]pad=0:ih+20[bg];[bg][1:v]overlay=0:H-h,format=yuv420p[v]" \ -map "[v]" -map 0:a -c:v libx264 -c:a aac -strict -2 -movflags +faststart output.mp4 I had to make some ...


3

I think it is easier to combine a full dimension background image (720x500px) with your video in ffmpeg instead of adding the 20px footer to the video. You can simply use the overlay filter for this: ffmpeg \ -loop 1 -i 720x500.jpg \ -i 720x480.mp4 \ -filter_complex overlay=0:0 \ -t 0:01.48 \ out.m4v Note: In this example you have to ...


3

There might not be a way. Based on your description of the problem, it sounds like the processing is the slow part. While the video encoder itself is able to do multi-threaded processing, the image processing you are doing may not be able to. By default, Premiere has always done as much parallel processing as possible for me and I frequently see it hit ...


2

A standard for WAV is 48K / 16 bit mono, or stereo if there's ambiance or presence you'd like to preserve. The last two parameters are a consequence of those choices and you can calculate them based on your selection. Then any compression you might apply afterward will have a good starting basis. If all you're after is intelligibility, a lower sample rate ...


2

No, such a thing does not exist. You can get some very rough guidelines in terms of things like suggested recording profiles for Youtube, Vimeo, or bitrates used by Netflix, Hulu and Amazon Instant Watch, but at the end of the day, the bitrate needed for a given resolution is entirely content dependent as well as dependent on how much time you can spend ...


2

In case of H.264 codec, you can use YouTube recommendations. Here's Vimeo video compression guidelines


2

It depends a bit on your file format. But it is possible; if you create a title as a separate video you can concatenate (join) the title and the original video usng tools such as ffmpeg. Generally this will work best if they are the same codec with the same settings. For concatenation using ffmpeg see the FAQ. Some formats, like MPEG2 program streams (like ...


2

I've tried a bunch of front ends for ffmpeg and finally settled on Tencoder. Widows only. It has a preset for ProRes and is very easy to customize so you can crete setting for often used formats or settings. It is multithreaded and allows you to do batch processing.


2

Yes, you have the right idea. If stib's suggestion of making multiple outputs in parallel with the same ffmpeg commandline doesn't quite do the trick, then use a temp file to hold a lossless copy of the output of any slow filtering: ffmpeg -i src.mkv -vf yadif=3:1,mcdeint=2:1 -c:a copy -c:v libx264 -preset ultrafast -qp 0 deinterlaced.mkv (never use ...


2

Players buffer streams. The bigger the buffer size, the longer window the encoder has to use higher bitrates for hard content, and then fewer bits earlier or later on easy content, to achieve similar quality for the whole video. I'll assume you're going to use h.264 (aka AVC) as a codec, as it's the de-facto standard for streaming video on the Internet. ...


2

Any decent encoder can hit a target bitrate (with 2pass), but still spend the bits intelligently to achieve similar quality throughout the file. x264 2pass figures out what CRF will give the desired bitrate (pass1), and then uses it (pass2). (source: Dark Shikari. cf. the links I dug up for my answer on this question about VBR streaming). You only get ...


2

I'm not sure how this fits into a streaming strategy, but the DPX file format includes per-frame metadata (potentially a great deal of it). This Wikipedia article has the basic info. I'm also not clear on what you mean by 'bound permanently'. In the AVI file container the "I" stands for "Interleaved", where video and audio packets (roughly) alternate in the ...


1

You can try ffmbc - a customized version of FFmpeg. Unfortunately there are no builds for linux or windows at the moment so you have compile it yourself. Related: What is the difference between ffmpeg and ffmbc now?


1

Unfortunately, because of the fact that most modern video compression algorithms don't work on single pixels, but rather groups of pixels (often called blocks), it will not be possible to change the values of select pixels (such as by adding a title) without re-encoding the video or using a format that supports an overlay. For simply re-encoding, if size is ...


1

To elaborate a little further on what Peter says, in general using multiple processors helps in cases where you have several independent tasks that all need to be done but don't have dependencies on each other, or one task where you're performing the same math on massive amounts of data. If, however, you need to the output of calculation A as the input of ...


1

The article you linked is not very good. Normally, single pass bitrate encodings convert your bitrate into a RF value with a maximum bitrate limit and takes it from there. x264's one-pass ABR ratecontrol is not implemented as CRF + limit. He's right that 2pass is by far the best way to hit a target bitrate, though. And he apparently doesn't ...


1

Probably no loss, but there is more to it than just YUV420. You can need to make sure the same ITU-R Recommendation is used (BT.601, BT.708 or maybe even 2020) In addition make sure the same color ranges is used (0-255 vs 16-235)


1

You're right, at some point it visually looks better to downscale and have a lower rez but less artifacty video. The bitrate where this happens depends strongly on how compressible your content is. One way to judge this for x264 might be to look at the rate-factor. For 2-pass, the x264 output includes the rate-factor. For CRF mode, the CRF value you set ...


1

It looks like the x265 codec needs to be installed for the App you are using to play the file with. VLC does support x265 with a dd on codec but it seems the link on there site is broken https://www.videolan.org/developers/x265.html which is not very useful right now. there are some other players out there doing a quick Google brought up some results but I ...


1

I assume you record video game footage? Recording and rendering on one machine is something I wouldn't recommend with a regular PC if you play modern games that take a lot of your CPU and GPU resources. I usually recommend getting an SSD but in this case it seems you are heavily CPU limited. You could theoretically encode on the GPU but I'm not sure if that ...


1

I doubt it is memory or page fault related. Encoding is more of a stream operation, you load a frame, process the frame, hold the frame until you finish a group of pictures and then encode the group of pictures. It is not a memory intensive process unless you are doing fancy effects that require memory to process. It is a potentially HDD stream intensive ...


1

There isn't a perfect answer to this problem. AVI and MP4 are just container's for video streams, so without knowing more about the actual streams in the containers, it is impossible to tell how much quality loss there would be, but as a general rule of thumb, it isn't all that atypical for AVI to use far less efficient video compression algorithms than MP4 ...


1

Looking at what Mr Henderson was saying, it appears you will need to have some basic programming skills to do what you want. The system he provided a link to appears to be based off of a markup language (similar to HTML if you've used that). If you aren't afraid to get your hands dirty with some basic programming that would be the way to go. (details here: ...


1

Because 4096 / 1920 = 2.13333 and 2160/1080 = 2. They are different aspect ratios, so yes, they end up letter boxing when you convert between them. That is the expected result. The 4K format you are using is a multiple of 2K and is not the same widescreen aspect ratio as 1080p. You can't translate between them without letterboxing, though there are ...


1

Yes, some encoders allow changing parameters (like target quality or bitrate, or psychovisual tuning options (x264's aq and psy-rd options). x264, the stand-alone command-line frontend for the library, has a --zones parameter to give more bitrate to some parts of the video. So you could for example reduce the quality for the credits. The actual x264 ...



Only top voted, non community-wiki answers of a minimum length are eligible