Hot answers tagged

3

To overlay a half-sized version of a video in the center of an image, use ffmpeg -loop 1 -i image -i video -filter_complex "[1]scale=iw/2:-1[ovrl]; [0][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1[v]" -map "[v]" -map 1:a -c:v libx264 -c:a copy output.mp4 To frame the video: ffmpeg -loop 1 -i image -i video loop 1 -...


3

Use this ffmpeg* command: ffmpeg -i "20151105-175532.dad" -c:v copy "20151105-175532.mp4" *get 32-bit static build.


3

MPEG -TS. See here: All MPEG-2 TS operations from GPAC (client and MP42TS) are supported on HEVC. MP42TS can be used to generate TS files usable for DASH or for injection in modulation chains; it can also be used to send the TS over an UDP or RTP stream in unicast or multicast mode


3

The order of the components in RGB32 seems to do with endianness: PIX_FMT_RGB32 is handled in an endian-specific manner. An RGBA color is put together as: (A << 24) | (R << 16) | (G << 8) | B This is stored as BGRA on little-endian CPU architectures and ARGB on big-endian CPUs. The descriptions of the various related formats ...


3

While I always guessed that the big / little endian was more a matter of patents rather than performance, Nope little endian was developed as a performance optimization whern moving to multi byte words. https://en.wikipedia.org/wiki/Endianness#Optimization Nothing to to with patents. Different representation have different advantages and disadvantage. ...


3

I haven't used VLC as my primary player since 2007. I switched over initially to KMPlayer and then Potplayer. Potplayer allows fairly flexible splitter and codec assignment for decoding. It also sports a whole host of video and audio processing filters. In fact, I believe that one can use Avisynth filters to process the video during playback, too.


2

You can use ffmpeg to perform this conversion. Grab the 32-bit static build from here. And run the following command from the command prompt: ffmpeg -i "c:\path\to\input.avi" -c:v libxvid -vtag xvid -qscale:v 3 -c:a libmp3lame -qscale:a 4 output.avi You can experiment with the value of qscale:v to get the quality or file size that you need. Values from 1 ...


2

SVG supports animation using JavaScript and the animate element. That means using a browser or embeddable renderer like WebKit to render it, though. Older games often used their own vector animation formats. You might look into the asset formats supported by open source implementations of old game engines like ScummVM and Sarien. There are some asset ...


2

The answer is No. Besides the frame dimensions, there's the matter of content complexity. Without scanning the video and doing a first-pass as it were, it's not possible to predict the output size. A video consisting of a slideshow of very simple text slides will be much easier to compress than scenes of busy city life..etc. The closest you may come to ...


2

Seems that Snapchat allows to select multiple clips of different parameters and stitch them together as one MP4. Like you said, it plays fine in VLC, but ffplay here warns that [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000005b0a00] Concatenated H.264 or H.265 might not play correctly. [mov,mp4,m4a,3gp,3g2,mj2 @> 00000000005ba100] ignoring multiple glbl ...


2

The correctness of this statement depends on the color model. The statement will typically be correct for color models such as RGB and CMY. In HSx (HSV, HSL) color models the model doesn't store explicit colors, and their transformation to explicit colors is non-linear. EDIT: My comment below on YUV is incorrect, YUV transforms linearly to RGB, thanks @...


2

Try lossless encoding with ffmpeg First, with YUV444P ffmpeg -f gdigrab -framerate 60 -i desktop -crf 0 -pix_fmt yuv444p -preset ultrafast yuv-cap.mp4 If not clear enough, ffmpeg -f gdigrab -framerate 60 -i desktop -c:v libx264rgb -crf 0 -pix_fmt bgra -preset ultrafast rgb-cap.mp4 These will likely not be compatible with most video editors, but if the ...


2

I get the same result with your commands, however if I skip the pixel format conversion and use the input pixel format 'bgr0', then except for an initial frame drop, I get no further drops. Note that tune is a x264 parameter - it has no relevance for FFV1. And if I use gdigrab (my preferred grabbing device), I get no frame drops at all, even with bgra:- ...


2

Generally, MP4 is better for compatibility, whereas AVCHD provides the better quality. MP4 (which by the way can mean a million different things, in this case it probably refers to MPEG-4 Part 14) files will be compatible with most devices and media players as is, and will be smaller in size compared to AVCHD. This is the option I'd recommend if you wanted ...


2

There is a hardware-accelerated VP8 encoder recently released by the University of Milan. Source and standalone binary for 64-bit Linux and compute 3.5, 5.0 and 5.2 capable NVidia GPU cards available at https://github.com/Italtel-Unimi/libvpx They say they have integrated the code into libav libs i.e. FFmpeg, but this hasn't been pushed into the FFmpeg ...


2

.MKV files are not a friendly video format when working with NLE systems. And the non existent audio you're getting is probably due to the way audio in .MKV files are wrapped. I would suggest transcoding the .MKV file(s) to .mp4 if you're working with Windows Movie Maker. Alternatively you can follow this link for suitable formats: video files A really ...


1

Apple is dropping support for the player, so no new releases, but the format remains and can be decoded by recent versions of CC without needing Quicktime to be installed. See http://blogs.adobe.com/creativecloud/quicktime-on-windows/ Adobe has worked extensively on removing dependencies on QuickTime in its professional video, audio and digital ...


1

What are the limitations of AAC-HE codec while doing 5.1 audio ? HE-AAC v2 can only encode stereo from my experience with Nero AAC and the article in Wikipedia about Parametric Stereo. Why is AC3 preferred when compared to AAC-HE ? Which case are you actually talking about? Are you sure it's HE-AAC not AAC-LC? Dolby Digital / A/52 / AC-3 was ...


1

I have Lumix G6 with same options (MP4 and AVCHD). Some things about AVCHD: It brake video into multiple files, but since you gonna edit them in Premiere, you can handle this. Sometimes Adobe Premiere have problems with audio at AVCHD. If Premiere don't see audio in AVCHD files, that mean you have problems with your license. You shall reactivate it. And ...


1

I would try two solutions, obviously on backups of the files, not the originals. First there is the 'untrunc' tool which tries to copy over additional information from a working file into a broken file: https://github.com/ponchio/untrunc Then there is AtomicParsley which allows you to view file information on Mov / mp4 files on a very detailed level. ...


1

You can try to repair the file with ffmpeg, a free command-line tool, like so ffmpeg -analyzeduration 1G -i input.mov -c copy -map 0 out.mov


1

The variable frame rate is all that stands out. Save future videos with constant frame rate. As for these ones, transcode using ffmpeg* to CFR MP4s: ffmpeg -i currentvideo.mp4 -c:a copy -crf 16 -r 30 -fflags +genpts newvideo.mp4 *Get the 32-bit static build.


1

If by linear scale, the (Cinelerra manual) "saying" means gamma = 1.0, then that's not my understanding of most video codecs. GPUs, OTOH, probably do operate upon values decoded and stored as a linear representation of a higher precision than the source, which would be typically 8-bits per channel.


1

Difficult to reply without knowing if you aiming for a full lossless codec or a lossy one can go too. You talk of H264, but this codec can also be used in a lossless way. If it was for me, and storage doesn't matter I would go for a true (pixel per pixel) lossless codec. Here, excluding some other "good but insane storage hungry" lossless codecs your ...


1

You need to change the encoding settings. By default, AE uses the AVI animation codec, which is very good at retaining quality but creates incredibly large files. Using an intermediary codec like Apple Prores, Avid DNxHR, or GrassValley HQx would give you visually equivalent quality with a significantly smaller file size. If that file size isn't small ...


1

To be frank, beginners and semi-pros will be capturing their videos on smartphones or consumer-level camcorders. And contemporary ones all record their videos as H264 in MP4 or MOV. The only other candidate is MJPEG in AVI for videos taken with older devices If it's legally possible, I'd suggest bundling Avisynth along with your software and coding AVS/...


1

After effects should take in the image sequence just fine. No reason to run it through Vdub first. Let me know how it works out for you, it sounds like a very interesting project.


1

Exporting to H264 will always introduce a slight colour shift due to a gamma tag in the file header. At least, I didn't find any solution to export without a gamma shift. Neither in AE nor in any other video editing program. Maybe also have a look at this answer: http://video.stackexchange.com/a/10336/11423


1

They are all forms of hardware acceleration, which broadly, just means that specialized hardware is doing things faster than the basic CPU normally could. The exact nature of what each type of acceleration does depends entirely on the software you are using and the hardware you are using. Some hardware is very purpose specific. Something like Intel ...


1

I read up a bit and made some experiments with lossless codecs, getting decent results. I'd be interested in comments on this, especially if there are lossless or lossy alternatives that I overlooked. I tried the following codecs / formats in ffmpeg: Lossless Motion JPEG2000 / AVI ffmpeg -i test.avi -vcodec jpeg2000 -strict -2 -pred 1 test_jpeg2000.avi ...



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