[Ffmpeg-devel-irc] ffmpeg.log.20190810

burek burek at teamnet.rs
Sun Aug 11 03:05:03 EEST 2019


[04:57:31 CEST] <Henry151> hi folks, i used https://termbin.com/oopi this to convert some MKV files to mp4 and burn in the subtitle tracks; now, I went to watch one of them, and at the 12:48 minute mark it stops playback. I'm trying to play it back using the web player built-in to my ampache server. The stream link is here: https://romp.network/ampache/share.php?id=23&secret=7z2WpGmZ
[04:57:48 CEST] <Henry151> Any suggestions on what I might have done wrong?
[04:58:31 CEST] <Henry151> i can just download the mkv and watch the video but I'm trying to get these mkv's converted to mp4 with english subs burned in so that my family members can stream them from my ampache server.
[04:59:07 CEST] <Henry151> my next step is i'm going to download the mp4 and see if it does the same thing in VLC.
[05:18:20 CEST] <Henry151> ah that link won't work anymore because i accidentally overwrote the file
[05:18:22 CEST] <Henry151> nevermind
[05:18:36 CEST] <Henry151> but still any ideas about what i might have done wrong would be greatly appreciated
[05:47:02 CEST] <Henry151> i adjusted the command by removing the "-tune animation" and I'm trying it again. It was deathly slow and it's still deathly slow, it's running at like 0.25x normal speed it's going to take freakin forever. And I also adjusted my tmux to have a longer scrollback because I couldn't even scroll back far enough to figure out what the heck went wrong before.
[05:48:04 CEST] <Henry151> someone please help me get all the settings just right to achieve my desired results :) this is my current command: https://termbin.com/daft
[05:49:25 CEST] <Henry151> i want it to be decent quality and "look nice" for streaming on a TV-size screen (my tv is 42") from my ampache server, in mp4 format, with the english subs burnt in.. and I want it to not friggin quadruple the file size like it did the first time, and not randomly cut out at 12 minutes, any help appreciated
[05:56:31 CEST] <Henry151> what i really would like actually is to set up my ampache server to automatically transcode my MKV files into a streamable format, in such a manner that I can choose a subtitle track and have it all just work
[05:56:35 CEST] <Henry151> halp meh plz
[16:10:24 CEST] <ZeroWalker> anyone know how blurays work (the files essentially). I basically want to convert them single files, i usually do that with my dvds (merging the vob files). And i do this losslessly, that part is important. I simply do this out of convenience, but i am not that familiar with blurays, my guess is i can just take the m2ts files which seems to be normal out of the box. Thanks:)
[16:11:05 CEST] <furq> ZeroWalker: you want the mpls files
[16:11:13 CEST] <furq> mkvtoolnix will deal with them if they're decrypted
[16:11:43 CEST] <furq> fwiw you should also be demuxing the pgcs from dvd ifos instead of just concating the vobs
[16:12:05 CEST] <furq> but if they're movies then those will often give the same result
[16:13:36 CEST] <durandal_1707> that is illegal to do
[16:14:20 CEST] <ZeroWalker> oh the mlps, see them now, guessing they are chapters or something?  And also i do use pgcs, problem with it is that sometimes it doesn't make 1 file for some reason, and i had to do a concate
[16:14:25 CEST] <ZeroWalker> oh they are encrypted?
[16:16:04 CEST] <furq> if you can play back the m2ts files then it's not encrypted
[16:16:06 CEST] <ZeroWalker> i have just ripped mine and haven't noticed any such things, annoying if it's encrypted, as the decrypting part then is not something i want help with out of legal concerns of course.
[16:16:16 CEST] <ZeroWalker> ah will try
[16:16:41 CEST] <furq> obviously if it is encrypted then that's out of the scope of this channel
[16:16:47 CEST] <furq> but it's not hard to find
[16:17:35 CEST] <ZeroWalker> well i can "play" them in mpc-hc in a sense, it shows up, but doesn't seem to play correctly, it just kinda stays still, but seeking does at least make it change.
[16:17:47 CEST] <ZeroWalker> guessing that's okay, as i would assume encrypted would break it completely?
[16:18:00 CEST] <furq> yeah it's probably just failing to seek because it's mpegts
[16:18:02 CEST] <ZeroWalker> yeah of course
[16:18:28 CEST] <furq> if you're on windows then just open the mpls playlists in the mkvtoolnix gui
[16:18:29 CEST] <ZeroWalker> ah, same reason why flv fails etc?
[16:18:42 CEST] <ZeroWalker> will do
[16:30:27 CEST] <livingbeef> How do I automatically extract subtitles? I can't do -map s:0 subs.ass because some text subs can't be converted into ass and I can't do -map s:0 subs because then ffmpeg doesn't know the format. And c:s copy will probably ignore -ss, won't it?
[16:32:26 CEST] <livingbeef> well, -c:s copy doesn't work at all, so that's moot anywyas
[16:33:36 CEST] <livingbeef> btw I do not care about proper filenames, it's just a temp file
[16:34:27 CEST] <pink_mist> what text subs can't be converted into ass?
[16:34:43 CEST] <pink_mist> picture subs can't without OCR, but text subs?
[16:35:26 CEST] <livingbeef> Subtitle encoding currently only possible from text to text or bitmap to bitmap
[16:35:33 CEST] <livingbeef> that's the error message ^
[16:35:52 CEST] <livingbeef> it was Stream #0:2 -> #0:0 (hdmv_pgs_subtitle (pgssub) -> ass (ssa))
[16:37:12 CEST] <pink_mist> ... so it's not text subs at all
[16:37:21 CEST] <pink_mist> you need to OCR those
[16:37:32 CEST] <pink_mist> which afaik is outside the scope of ffmpeg
[16:37:43 CEST] <livingbeef> ah, the error message was misleading then
[16:37:58 CEST] <livingbeef> what does OCR mean
[16:38:01 CEST] <pink_mist> no it wasn't; it says it can only go from text to text, or from bitmap to bitmap
[16:38:10 CEST] <pink_mist> OCR is "Optical Character Recognition"
[16:38:32 CEST] <pink_mist> you were trying to go from bitmap to text
[16:38:42 CEST] <pink_mist> which is what OCR is needed for
[16:39:02 CEST] <livingbeef> well I just want a file that can be used in subtitles video filter
[16:39:47 CEST] <livingbeef> the conversion isn't necessary, but then I have the issue that I do not know the format, because it can be different each time
[16:49:35 CEST] <zeromind> well, the subtitles filter apparently only does text, you'll either need to use the overlay for the picture-based subs, or ocr them first, see https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
[16:50:09 CEST] <livingbeef> Ah. That sucks then
[16:51:10 CEST] <livingbeef> well, thanks for the info
[16:55:02 CEST] <ZeroWalker> furq, there's a lot to choose from after scanning the playlist, many seems to be duplicates, can't really tell which is the actual movie
[17:12:31 CEST] <safinaskar> hi
[17:16:13 CEST] <zeromind> livingbeef: you could try mpv for burning in the subtitles, it does not seem to care whether they are text or picture-based subs
[23:59:32 CEST] <jgb> who do i have to beg if i want to get this fixed: https://trac.ffmpeg.org/ticket/7912
[00:00:01 CEST] --- Sun Aug 11 2019


More information about the Ffmpeg-devel-irc mailing list