[FFmpeg-user] subtitles from DVB streams

vmrsss vmrsss at gmail.com
Sat Apr 9 13:08:23 CEST 2011


Hello there,

	I have got a stream (a DVB-S2 from EyeTV) which looks like in the output below. Can please anybody explain how I could use ffmpeg extract the subtitle track and dump it either as it is or convert to some meaningful format, eg srt or idx/sub ?

thanks.

FFmpeg version git-N-28891-gda53f05, Copyright (c) 2000-2011 the FFmpeg developers
 built on Apr  5 2011 21:35:12 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
 configuration: --arch=x86_64 --cpu=core2 --cc='gcc -arch x86_64 -march=core2 -msse4 -O2 -pipe' --enable-shared --enable-nonfree --disable-ffserver --disable-debug --enable-gpl --enable-pthreads --enable-postproc --enable-libx264 --enable-libxvid --enable-libvorbis --enable-libdirac --enable-libschroedinger --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-runtime-cpudetect --enable-hardcoded-tables
 libavutil    50. 40. 1 / 50. 40. 1
 libavcodec   52.117. 0 / 52.117. 0
 libavformat  52.105. 0 / 52.105. 0
 libavdevice  52.  4. 0 / 52.  4. 0
 libavfilter   1. 77. 1 /  1. 77. 1
 libswscale    0. 13. 0 /  0. 13. 0
 libpostproc  51.  2. 0 / 51.  2. 0
[mpegts @ 0x101814e00] max_analyze_duration reached
[NULL @ 0x101843e00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x101845c00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x101847a00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x101849800] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x10184f200] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x101851000] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x101852e00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x101854c00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x101856a00] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x101858800] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x10185a600] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x10185c400] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x10185e200] start time is not set in av_estimate_timings_from_pts
Input #0, mpegts, from '00000000134cfc94.mpg':
 Duration: 00:59:02.44, start: 57154.402333, bitrate: 10231 kb/s
 Program 6940 
   Metadata:
     service_name    : BBC HD
     service_provider: BSkyB
   Stream #0.0[0x157c]: Video: h264 (High), yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
   Stream #0.1[0x157e](NAR): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
   Stream #0.2[0x157f](eng): Subtitle: [6][0][0][0] / 0x0006
   Stream #0.3[0xf05]: Data: [11][0][0][0] / 0x000B
   Stream #0.4[0xf06]: Data: [11][0][0][0] / 0x000B
   Stream #0.5[0xf07]: Data: [11][0][0][0] / 0x000B
   Stream #0.6[0xf08]: Data: [11][0][0][0] / 0x000B
   Stream #0.7[0x1580](eng): Subtitle: dvbsub
   Stream #0.8[0x157d](eng): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
   Stream #0.9[0x1582]: Data: [5][0][0][0] / 0x0005
   Stream #0.10[0xf00]: Data: [5][0][0][0] / 0x0005
   Stream #0.11[0xf01]: Data: [5][0][0][0] / 0x0005
   Stream #0.12[0xf02]: Data: [5][0][0][0] / 0x0005
   Stream #0.13[0xf03]: Data: [5][0][0][0] / 0x0005
   Stream #0.14[0xf04]: Data: [5][0][0][0] / 0x0005
   Stream #0.15[0x901]: Data: [5][0][0][0] / 0x0005
   Stream #0.16[0x902]: Data: [5][0][0][0] / 0x0005
   Stream #0.17[0x903]: Data: [5][0][0][0] / 0x0005
 Program 6941 
   Metadata:
     service_name    : BBC One HD
     service_provider: BSkyB
 Program 6942 
   Metadata:
     service_name    : ITV1 HD
     service_provider: BSkyB
 Program 6945 
   Metadata:
     service_name    : 6945
     service_provider: BSkyB
 Program 1035 
   Metadata:
     service_name    : 6942
     service_provider: BSkyB
At least one output file must be specified


More information about the ffmpeg-user mailing list