New answers tagged

0

This guy did essentially the opposite of what you're trying to do. However, he posted the source-code here. So with a little bit of IT-finesse, you should be able to reverse the program's understanding of what to edit out - meaning that the code shouldn't say (in a very simplified, theoretical syntax): if track5dB < 5dB: { cutThisOut(); } but instead: if ...


0

Right now the only solution I found is a two steps process: Extract the mp3 stream: $ ffmpeg -i input.avi -c:a copy input.mp3 Combine it back into the original AVI container: $ ffmpeg -i input.avi -i input.mp3 -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 output.avi Leads to: % ffprobe -hide_banner -i output.avi Input #0, avi, from 'output.avi': Metadata: ...


0

Inside a filtergraph, each pad is associated with a single stream. And a specifier such as 0:a will match the first stream that qualifies. You need to specify two pads and fully specify the input streams. [0:a:0][0:a:1]amerge=inputs=2[a]


0

Right now, the best I could find is: $ ffmpeg -y -hide_banner -v info -i packed_bframes.avi -ss 0 -t 1 -an -c:v mpeg4 -f null /dev/null 2>&1 | grep mpeg4_unpack_bframes [mpeg4 @ 0x559262225100] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but ...


2

In yuv420p, 1280x720 [SAR 1:1 DAR 16:9], yuv420p indicates the pixel format and chroma subsampling scheme. the video's raster resolution is simply 1280x720. the video's Sample Aspect Ratio (width of pixel : height of pixel ratio) is 1:1 (square pixels) the video's Display Aspect Ratio is 16:9


1

https://ffmpeg.org/ffmpeg-scaler.html tells you the sws_dither is the dither algorithm whereas https://ffmpeg.org/ffmpeg-filters.html#paletteuse tells you to turn the dither off. The answer to your question is to set paletteuse=dither=none BTW, http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html gives you the result of the paletteuse settings.


0

It is all about the proprietary codec, i.e. IMM5. The VLC and FFMPEG can't deal with it except patching the avcodec manually using https://patchwork.ffmpeg.org/project/ffmpeg/patch/20190716170703.10960-1-onemda@gmail.com/. Of course, you need to re-compile the ffmpeg using the IMM5 supported avcodec lib. Good luck.


1

FFmpeg has a fillborders filter that can be used here. Assuming a 1440x1080 content area inside a 1920x1080 frame, use ffmpeg -i in -vf fillborders=left=241:right=241:mode=smear -c:a copy out


2

Can there be a reliable answer? No. As with almost everything is video. The real answer is: It depends. With mp4, the moov must be at the beginning, AND the mdat must properly interleave tracks. For example, If the there more than one megabyte of audio before the video, Then it won't work even with the moov at the start. For TS, there must be a SPS, a PPS ...


2

I see no need to worry about those meta data or why you should remove them. Pantry and Ingredients tags refer to asset tracking. In fact most of this data are production related and not relevant in any way for a consumer. The rest tells you about technical features, like the resolution or video codec. A watermark is something different. If you want to ...


0

Perhaps you can export both videos (long and short) to frames and then use duplicate image finder software to identify the matching frames? I don't have concrete suggestions, but overall the process would be: Export the short video to frames to one folder, the filename of every frame should be the timecode of that frame for easy identification and sorting. ...


0

If all TIFFs have the same properties, and are named sequentially like image0001.tif, then you can use ffmpeg -i image%04d.tif -i my.png -filter_complex "[1][0]scale2ref[i][m];[m][i]overlay" out%04d.tif This will generate images with the overlay named as follows out0001.tif out0002.tif ...


0

This command preserved the colorspace and also video didnt get darker after transcoding ffmpeg -i input.mp4 -color_primaries smpte170m -color_trc smpte170m -colorspace smpte170m -r 25 -crf 18 output.mp4 source: https://kdenlive.org/en/project/color-hell-ffmpeg-transcoding-and-preserving-bt-601/ more about colorspace: https://trac.ffmpeg.org/wiki/colorspace


1

To concatenate multiple files for expected playback in common players, following properties need to match for video: codec, codec profile, codec level, resolution, reference count, pixel format, timebase/timescale. audio: codec, codec profile, channel count & layout, sample format and sampling rate. Advanced players can tolerate mid-stream changes in ...


0

Your command is doing fine, and ffprobe will show the resolution as 960x1080 Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.83.100 Duration: 00:10:45.14, start: 0.000000, bitrate: 1969 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x1080 [...


1

LosslessCut is an open-source video cutting tool. Its interface is built using Electron, and its backend is ffmpeg. It's available on the three main operating systems (Linux/Mac/Windows), and also from the Mac, Microsoft and Snap stores.


0

You may check https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/nvenc.h#L186-L221 and the valid can be referenced from https://github.com/FFmpeg/nv-codec-headers/blob/master/include/ffnvcodec/nvEncodeAPI.h


0

Since a lot of this was unfamiliar to me, I went ahead and wrote up how I worked through it in the hope that it would be useful to someone else down the road... Here's our starting expression, let's break this down and go through it: %{eif:trunc(t):d:2}.%{eif:(1M*t-1M*trunc(t))/10000:d:2} eif is 'evaluate_int_format', it evaluates the expression’s value and ...


0

Use the scale filter. ffmpeg -i in -vf scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:-1:-1 -c:a copy out


0

FFmpeg does it through the video filter - transpose; clockwise or counter-clockwise option is available.


Top 50 recent answers are included