38 votes

How to extract subtitles from MP4 and MKV movies

Here is a solution for virtually any file format that is supported by ffmpeg (even remote files are supported): ffmpeg -i video.mp4 subtitle.srt ffmpeg is present in newer Ubuntu versions by default,...
TiGR's user avatar
  • 481
12 votes

Using FFMPEG with Nvidia GPU

In your case, you'll need to build FFmpeg from source. Use the example shown below. For the supported and available hardware accelerated features you can achieve with a current generation NVENC-...
Dennis Mungai's user avatar
4 votes
Accepted

Why is FFmpeg video splitting of 595-600 seconds slow compared to 0-5 seconds?

You need to apply a demuxer stage trim i.e. ffmpeg -ss 595 -to 600 -i video.mp4 split2.mp4 Since you're transcoding, and your input format (MP4) is indexed, split will be accurate. With output-...
Gyan's user avatar
  • 36.4k
4 votes
Accepted

How to use ffmpeg to programatically remove video streams?

I know have a final, working version, even though it could use some improvement on the -f section: The whole thing (after checking that ffmpeg is available) :: Actual converting :: for /r "%~1&...
Fabio Freitas's user avatar
2 votes

Using FFMPEG with Nvidia GPU

In (c): Build and configure libx265 replace hg clone https://bitbucket.org/multicoreware/x265 by git clone https://bitbucket.org/multicoreware/x265_git.git is suitable for me. And when installing the ...
Yixuan Wei's user avatar
2 votes

Using FFMPEG with Nvidia GPU

In (f). Build LibVorbis: https://git.xiph.org/vorbis.git change to https://github.com/xiph/vorbis.git And also add to baseline dependencies: libogg-dev, it needs by LibVorbis
Sergey  kolesnikov's user avatar
2 votes

How do I extract a subtitle track from an MP4 file in a usable format?

Use ffmpeg for .vtt or .srt: ffmpeg -i your_file.mkv outfile.vtt Extract Subtitles
JayCravens's user avatar
1 vote
Accepted

How do I extract a subtitle track from an MP4 file in a usable format?

GPAC/MP4Box maintainer here. Please read this page on our wiki about subtitling. Conversion to srt or vtt can easily be done: gpac -i myfile.mp4 -o subtitles.vtt To get a better support, please go to ...
R. Bouqueau's user avatar
1 vote

Audio Conversion through change of file extension (E-AC3)

No, changing the filename extension has no effect on the data of file.
kaykay's user avatar
  • 891
1 vote

GPAC MP4Box fullrange flag

So I've raised the issue and it turns out the version I have been using with the fullrange option was a fork of gpac. These changes were backported in the master though now. You can read more here ...
Theo S's user avatar
  • 21
1 vote

GPAC MP4Box fullrange flag

GPAC contributor here: could you report that on our github issues please? Please don't forget to mention your full command-line and GPAC version. We won't be able to help you without these information....
R. Bouqueau's user avatar
1 vote

How to use ffmpeg to programatically remove video streams?

ffmpeg -v error -stats -i input.mp4 -vn -sn -dn -acodec libmp3lame -ab 192k -ar 41000 output.mp3 or -acodec aac -ab 265k out.m4a or -acodec copy for no compression
Rami Magdi's user avatar

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