New answers tagged

0 votes
Accepted

How to extract video+audio streams from MP4 file via ffmpeg?

Looks like the video is encoded in H265 which will be why it won't play in a browser, we can easily re-encode it to H264. ffmpeg -i input.mp4 -map 0:v:0 -map 0:a:0 -c:v h264 -a:a copy -pix_fmt yuv420p ...
user avatar
  • 281
0 votes

How can I fix a (possibly corrupt?) mp4 file?

Disregard 1NN's answer, you should never pay for software. Since you have other videos from the same device that are valid, you can use untrunc to repair it. See: github.com/ponchio/untrunc If you ...
user avatar
  • 111
0 votes

All video players (including browsers) fail to play any videos until reboot [Ubuntu 20.04]

It seems to be an issue with pulseaudio, try pulseaudio -k to kill and restart it
0 votes
Accepted

How do I properly transfer audio and Video between two PCs

Sharing the microphone is trivial: use a 3.5 mm Y-connector with the correct number of wires for your mic and PC's. from the mic to each PC, possibly with an extension cable, if needed. Both devices ...
user avatar
1 vote

How do you flip/unmirror the video in Microsoft Teams?

Open More with the three dots at the top. Then Device settings. Scroll down to Video Settings and toggle "Mirror my video"
user avatar
1 vote
Accepted

How do you flip/unmirror the video in Microsoft Teams?

This page shows how to mirror your video. In your case, do the opposite. When you want to join a meeting On the Choose your audio and video settings screen, scroll down to Camera in Device settings ...
user avatar
0 votes

FFmpeg concat messes up last frame of first segment

Using trim, atrim, and concat filters in a filtergraph appears to have resolved the issue. I will deal with the subtitles separately.
user avatar
0 votes
Accepted

How to do automatically transfer subtitles from one video to another ? (based on video stream)

After searching and trying things for countless hours, I choose to write my own Python 3 script to do the job. I have decided to share it here. Here is a link to it : https://gist.github.com/tigrouind/...
user avatar
  • 841
0 votes

ffmpeg concat multiple videos with fade

I found this website, it clearly shows how to generate the required script
user avatar
0 votes
Accepted

Unable to move some videos from internal HDD to external

Finally, I solved most of the problems by creating a Linux live USB and using badblocks command. Now I can copy most of the videos so this helps me a lot and without spending money (but spending a lot ...
user avatar
1 vote

Replace video track in MKV with track from different MKV file

@lort: thanks a lot. Adding a loop to your code for %%x in (firstFolder/*.mkv) do "C:\Program Files\MKVToolNix\mkvmerge.exe" -o "newFolder\%%~x" -D ( "firstFolder\%%~x" ) ...
user avatar
  • 11
1 vote

Determine video bitrate using ffmpeg

I'm not sure why you gave the bounty to the other answer (which didn't really explain how to get the bitrate apart from manually computing it), but the easiest way to get the bitrate of a video in ...
user avatar
  • 111
0 votes
Accepted

Using bitrate in conversion of a set of images to a video changes the length of the video

Place the -r 60 before the -i: ffmpeg.exe -r 60 -i Frame-%%05d.png -b:v 4096k -maxrate:v 4096k -minrate:v 0 -bufsize 4096k MyVideoHQ.avi When the -r 60 is before the -i, the framerate applies the ...
user avatar
  • 713
0 votes

ffmpeg not adding all images when creating video

I had the same issue on Linux and Windows. For me the solution was observing that the conversion stopped on an image with 0 bytes. When I deleted that image, ffmpeg continued to process the rest of ...
user avatar
  • 111
0 votes
Accepted

ffmpeg combine video downsampling and audio channel mapping

For a single command, you just have to combine the media operations, ffmpeg -i in.mov -filter_complex "[0:a]channelsplit=channel_layout=5.1[FL][FR][FC][LFE][BL][BR];[FL]anullsink;[FR]anullsink;[...
user avatar
  • 31.4k
0 votes

watching netflix on Centos8

I follow link provided by @savchenko-dmitriy , on the last step before installing ffmpeg it said install PowerTools like this $ sudo dnf config-manager –enable PowerTools What's work for me was this :-...
user avatar
  • 203
0 votes

How do I trim a video using Handbrake?

As an alternative, you could use Quicktime if you're on a Mac. This is the one thing I've found Quicktime is actually useful for. It makes it really easy with graphical handles and auto-play from ...
user avatar
  • 573
0 votes
Accepted

Convert 10bit HDR video to 8bit frames

I found the solution: ffmpeg -i HDR.mov -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p '%05d.png' Make sure to ...
user avatar
  • 1
0 votes

Chrome, MSE increasing buffer?

In Firefox disable media.mediasource.enabled by setting to false. Then set media.cache_readahead_limit to 9999 and media.cache_resume_treshold also to 9999. This settings set how much seconds of ...
user avatar
1 vote
Accepted

FFmpeg combining multiple -vf filters

Something like this: ffmpeg -i "D:\imageSequences\A.jpg" -vf "scale=out_color_matrix=bt709,eq=gamma=1:saturation=1,crop=trunc(iw/2)*2:trunc(ih/2)*2" -color_primaries bt709 -...
user avatar
1 vote

Convert 10bit HDR video to 8bit frames

You can try something like: ffmpeg -i input.mp4 -pix_fmt rgb24 '%05d.png' This should write PNG files to be RGB, 24 bits per pixel
user avatar
  • 3,033
8 votes
Accepted

Why does halving the frame rate with FFmpeg barely reduce file size?

Because in video codecs, the differences between frames are recorded, only rarely the full frames. In modern video codecs, especially x265, predictive techniques (mostly motion prediction) are used to ...
user avatar
0 votes

Enhance a video from 30fps to 60fps with ffmpeg?

The minterpolate filter can do the trick: ffmpeg -i input.mkv -filter:v "minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1:fps=60'" output.mkv
user avatar

Top 50 recent answers are included