[FFmpeg-user] Error encodng dvb subtitles
Naveen
naveen.mr at gmail.com
Tue Jan 28 13:59:59 CET 2014
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
.srt file
----------
1
00:00:20,000 --> 00:00:24,400
Hello world, Show me the subtitles in DVB TS
.sub file converted from .srt using http://subtitlefix.com/index.php --
(rate 23.976 fps)
----------------------------------------------------------------------------------------------------------------------------
{480}{585}Hello world, Show me the subtitles in DVB TS
Where I am going wrong ?
* ~/ffmpeg_sources/ffmpeg/ffmpeg_g -v debug -i bbcClick.ts -i bbcClick.sub
-vcodec copy -acodec copy -scodec dvbsub bbClick-subtitle.ts*ffmpeg version
git-2013-10-25-d9ad305 Copyright (c) 2000-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/ffmpeg_build
--extra-cflags=-I/home/ffmpeg_build/include
--extra-ldflags=-L/home/ffmpeg_build/lib --bindir=/home/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
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument 'debug'.
Reading option '-i' ... matched as input file with argument 'bbcClick.ts'.
Reading option '-i' ... matched as input file with argument 'bbcClick.sub'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'copy'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec
('copy' to copy stream)) with argument 'copy'.
Reading option '-scodec' ... matched as option 'scodec' (force subtitle
codec ('copy' to copy stream)) with argument 'dvbsub'.
Reading option 'bbClick-subtitle.ts' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file bbcClick.ts.
Successfully parsed a group of options.
Opening an input file: bbcClick.ts.
[mpegts @ 0x374d6c0] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x374d6c0] stream=0 stream_type=1b pid=100 prog_reg_desc=
[mpegts @ 0x374d6c0] stream=1 stream_type=f pid=101 prog_reg_desc=
[mpegts @ 0x374d6c0] File position before avformat_find_stream_info() is 0
[h264 @ 0x37517c0] Current profile doesn't provide more RBSP data in PPS,
skipping
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 146898 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 167796 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 188694 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 209592 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 230490 in the
queue
Last message repeated 7 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 249298 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 270196 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 291094 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 311992 in the
queue
Last message repeated 7 times
[h264 @ 0x37517c0] Current profile doesn't provide more RBSP data in PPS,
skipping
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 330800 in the
queue
Last message repeated 7 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 349608 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 370506 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 391404 in the
queue
Last message repeated 7 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 410212 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 431110 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 452008 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 472906 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 493804 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 514702 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 535600 in the
queue
Last message repeated 8 times
[h264 @ 0x37517c0] Current profile doesn't provide more RBSP data in PPS,
skipping
[mpegts @ 0x374d6c0] first_dts 126000 not matching first dts 556498 in the
queue
Last message repeated 8 times
[mpegts @ 0x374d6c0] max_analyze_duration 5000000 reached at 5000000
microseconds
[mpegts @ 0x374d6c0] File position after avformat_find_stream_info() is 0
Input #0, mpegts, from 'bbcClick.ts':
Duration: 00:24:24.08, start: 1.400000, bitrate: 562 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: Libav
Stream #0:0[0x100], 127, 1/90000: Video: h264 (Constrained Baseline)
([27][0][0][0] / 0x001B), yuv420p, 640x360, 1/50, 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:1[0x101](und), 216, 1/90000: Audio: aac ([15][0][0][0] /
0x000F), 44100 Hz, stereo, fltp, 94 kb/s
Successfully opened the file.
Parsing a group of options: input file bbcClick.sub.
Successfully parsed a group of options.
Opening an input file: bbcClick.sub.
[AVIOContext @ 0x3752e40] Statistics: 45 bytes read, 0 seeks
*bbcClick.sub: Invalid data found when processing input*
[AVIOContext @ 0x3755da0] Statistics: 479369 bytes read, 2 seeks
--
regards,
naveen
More information about the ffmpeg-user
mailing list