[Libav-user] Trying to create a DVDSUB (.sub) according to Specification

Wagner Patriota wagner.patriota at gmail.com
Wed Jul 25 00:41:03 CEST 2012


I think that the correct name of the file I wanna create is MPEG-PS (RLE).

My mediainfo says:

Format: MPEG-PS

ID: 189 (0xBD)-32 (0x20)****

Format: RLE****

Format/Info: Run-length encoding****

Muxing mode: DVD-Video

Duration: 1mn 45s

FFmpeg is supposed to interpret 2, 4 or 8 bit version of the bitmap
cotained on this file... I have a sample attached. When I use it with
FFmpeg it does not work perfectly on TV. It goes fine on VLC but on TV it
doesn't work. [muxing with MPEG2-TS video]

ffmpeg -i input.ts *-i a.sub* -vcodec copy -acodec copy *-scodec
dvbsub*output.ts


On Tue, Jul 24, 2012 at 7:08 PM, Nicolas George <
nicolas.george at normalesup.org> wrote:

> Le septidi 7 thermidor, an CCXX, Wagner Patriota a écrit :
> > in order to try to create a .sub file by myself.
>
> What kind of file are you speaking of exactly? Files with the .sub
> extension
> may be MicroDVD files, which are simple text files with frames numbers, or
> part of a VOBSUB file, but the other half, the index (.idx) is missing.
>
> > The thing is: I need to convert .SRT files .SUB files... but the bitmaps
> > inside the .SUB file must be 8-bit color. I couldn't find a free ou cheap
> > software for this, so I decided to create it by myself. But FFmpeg still
> > doesn't recognize my .SUB file.
>
> The complete console output would be useful to diagnose anything.
>
> > Question 1:
> > Is this document really the one I think I need? I mean, I followed every
> > bit of it but FFmpeg doesn't recognize correctly...
>
> Probably not. This document is about DVB subtitles. There are not many
> formats that can contain DVB subtitles. The nearest I can guess is VOBSUB,
> which is mostly made of DVD subtitles. There is only one letter different,
> but this is an entirely different format.
>
> Regards,
>
> --
>   Nicolas George
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlAPHOkACgkQsGPZlzblTJNq2wCePFOc6OeL6Y1JEb9EQk5zOmm3
> 1LUAnRWkeeSoQF5ze18payyQr+fPHXVc
> =iSVi
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120724/c2069ca3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.sub
Type: application/octet-stream
Size: 79872 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120724/c2069ca3/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.sub
Type: application/octet-stream
Size: 79872 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120724/c2069ca3/attachment-0001.obj>


More information about the Libav-user mailing list