![]() ![]() (But this detail only as a side-note, I think it's from DVB Subs being in 16bit BMP / PGM format, while the transcode wrote DVD Subs in 4 bit bitmaps, losing quality in alpha or similar). But when you watch the result in vlc (mplayer has problems displaying them.), the quality of the subs has degraded. It's beyond me what the actual difference between dvb_subtitles and dvd_subtitles is. ![]() What the command does, on the other hand, is transcoding the subsitles found in the second subtitle stream (streams are zero based, so "1" is the second which is stream 0:6 in this file, and 0:5, the first sub-stream has teletext). Just exchange dvdsub with srt for example, and you'll get the above mentioned error. To see what I'm talking about, refer to vlc's comparison of subtitle formats, as Wikipedia doesn't have one.įor example, try something like this with a similar file:įfmpeg -i 000.ts -map 0:0 -vcodec copy -acodec copy -map 0:s:1 -scodec dvdsub test.mkv ts broadcast streams subs are in image-based formats, VobSub, dvb_sub, dvd_sub. The MPEG legacy has brought us here, I think, because on DVDs and obviously in. webvtt but we here are facing an image-based sub format! ( This user here (Is it possible to extract SubRip (SRT) subtitles from an MP4 video with ffmpeg?) had the same learning curve.) The explanation behind this is: there are basically two formats in subtitling - image and text based - and most subs discussed on the web are text based, like. srt file, you'll get this dreaded ffmpeg / avconv error: " Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height" ts file and sending it to, let's say, an. Wrong! When you do a naive conversion with ffmpeg, extracting the dvb_sub program-stream from the. Available subtitle codecs as reported by ffmpeg
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |