[FFmpeg-user] Error encodng dvb subtitles

Naveen naveen.mr at gmail.com
Tue Jan 28 14:37:12 CET 2014


*Does it work if you don't convert the srt file?*
Good question, encoding goes through fine and when file is played - it is
shown as one of stream in command line but subtitle is not seen in video :(
(output of ffplay at end of mail)

* (Why did you convert it?)*
Read in one of the forum threads that ffmpeg does not like {dot}srt file
and hence it had to be converted to {dot}sub


* What is a "sub" file? Can you provide a sample?*Sorry, by sub file I
wanted to mean {dot}sub file = subtitle file. This is as pasted below

{480}{585}Hello world, Show me the subtitles in DVB TS



*~/ffmpeg_sources/ffmpeg/ffplay bbcClick-subtitle.ts *
ffplay version git-2013-10-25-d9ad305 Copyright (c) 2003-2013 the FFmpeg
developers
  built on Jan 19 2014 20:41:59 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
  configuration: --prefix=/home/nrudrapp/ffmpeg_build
--extra-cflags=-I/home/nrudrapp/ffmpeg_build/include
--extra-ldflags=-L/home/nrudrapp/ffmpeg_build/lib
--bindir=/home/nrudrapp/bin --extra-libs=-ldl --enable-gpl --enable-libass
--enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
--enable-x11grab --enable-openssl --extra-cflags='-fprofile-arcs
-ftest-coverage' --extra-ldflags='-fprofile-arcs -ftest-coverage'
  libavutil      52. 47.101 / 52. 47.101
  libavcodec     55. 38.101 / 55. 38.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 89.100 /  3. 89.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
*[NULL @ 0x7f63b800ab80] start time is not set in estimate_timings_from_pts*??
Input #0, mpegts, from 'bbcClick-subtitle.ts':
  Duration: 00:24:24.08, start: 1.400000, bitrate: 564 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0] /
0x001B), yuv420p, 640x360, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101](und): Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz,
stereo, fltp, 94 kb/s
    Stream #0:2[0x102](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)



On Tue, Jan 28, 2014 at 1:15 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Naveen <naveen.mr <at> gmail.com> writes:
>
> > I am trying to encode a subtitle (.sub) to a MPEG-TS
> > file as shown below (in bold).
> > The subtitle file is just one line file which was
> > converted from .srt file as shown below
>
> Does it work if you don't convert the srt file?
> (Why did you convert it?)
>
> What is a "sub" file? Can you provide a sample?
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 
regards,
naveen


More information about the ffmpeg-user mailing list