[FFmpeg-user] pgssub to dvbsub: Subtitle encoding failed
Klaus Kudielka
klaus.kudielka at gmx.net
Sun Dec 4 14:54:31 CET 2011
I'm trying to transcode pgssub streams into dvbsub streams
(which my TV is supposed to display).
As far as I know, both formats are bitmap based, so this should work.
Unfortunately, ffmpeg persistently aborts with "Subtitle encoding failed".
Any idea?
ffmpeg -i x.mkv -map 0 -c:v copy -vbsf h264_mp4toannexb -c:a copy -c:s dvbsub -y x.ts
ffmpeg version 0.8.7.git-f88d5df, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 4 2011 14:27:14 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libxvid --enable-libvpx --enable-librtmp --enable-shared --extra-cflags=-I/opt/x264/include --extra-ldflags=-L/opt/x264/lib --prefix=/opt/ffmpeg
libavutil 51. 30. 0 / 51. 30. 0
libavcodec 53. 40. 0 / 53. 40. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 50. 0 / 2. 50. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, matroska,webm, from 'x.mkv':
Metadata:
ENCODER : Lavf53.24.0
Duration: 00:00:22.11, start: 0.000000, bitrate: 4650 kb/s
Chapter #0.0: start 0.000000, end 22.000000
Metadata:
title : Chapter 00
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(deu): Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s (default)
Metadata:
title : 3/2+1
LANGUAGE : deu
Stream #0:2(ger): Subtitle: hdmv_pgs_subtitle (default)
[mpegts @ 0x24b6be0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'x.ts':
Metadata:
encoder : Lavf53.24.0
Chapter #0.0: start 0.000000, end 22.000000
Metadata:
title : Chapter 00
Stream #0:0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc (default)
Stream #0:1(deu): Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s (default)
Metadata:
title : 3/2+1
LANGUAGE : deu
Stream #0:2(ger): Subtitle: dvb_subtitle (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (pgssub -> dvbsub)
Press [q] to stop, [?] for help
Subtitle encoding failed
More information about the ffmpeg-user
mailing list