I think that the correct name of the file I wanna create is MPEG-PS (RLE).<div><div><div><br></div><div>My mediainfo says:</div><div><br></div><div><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

Format: MPEG-PS</p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">ID: 189 (0xBD)-32 (0x20)<u></u><u></u></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

Format: RLE<u></u><u></u></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Format/Info: Run-length encoding<u></u><u></u></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

Muxing mode: DVD-Video</p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Duration: 1mn 45s</p></div><div><br></div><div>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]</div>

<div><br></div><div><font face="courier new, monospace">ffmpeg -i input.ts <b>-i a.sub</b> -vcodec copy -acodec copy <b>-scodec dvbsub</b> output.ts</font></div><div><br><br><div class="gmail_quote">On Tue, Jul 24, 2012 at 7:08 PM, Nicolas George <span dir="ltr"><<a href="mailto:nicolas.george@normalesup.org" target="_blank">nicolas.george@normalesup.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le septidi 7 thermidor, an CCXX, Wagner Patriota a écrit :<br>
<div class="im">> in order to try to create a .sub file by myself.<br>
<br>
</div>What kind of file are you speaking of exactly? Files with the .sub extension<br>
may be MicroDVD files, which are simple text files with frames numbers, or<br>
part of a VOBSUB file, but the other half, the index (.idx) is missing.<br>
<div class="im"><br>
> The thing is: I need to convert .SRT files .SUB files... but the bitmaps<br>
> inside the .SUB file must be 8-bit color. I couldn't find a free ou cheap<br>
> software for this, so I decided to create it by myself. But FFmpeg still<br>
> doesn't recognize my .SUB file.<br>
<br>
</div>The complete console output would be useful to diagnose anything.<br>
<div class="im"><br>
> Question 1:<br>
> Is this document really the one I think I need? I mean, I followed every<br>
> bit of it but FFmpeg doesn't recognize correctly...<br>
<br>
</div>Probably not. This document is about DVB subtitles. There are not many<br>
formats that can contain DVB subtitles. The nearest I can guess is VOBSUB,<br>
which is mostly made of DVD subtitles. There is only one letter different,<br>
but this is an entirely different format.<br>
<br>
Regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
  Nicolas George<br>
</font></span><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
<br>
iEYEARECAAYFAlAPHOkACgkQsGPZlzblTJNq2wCePFOc6OeL6Y1JEb9EQk5zOmm3<br>
1LUAnRWkeeSoQF5ze18payyQr+fPHXVc<br>
=iSVi<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div></div></div>