[FFmpeg-user] DVB Subtitles On/Off

enri69 priftien at hotmail.com
Sat Apr 26 22:23:18 CEST 2014


Yes. This is with file output

>ffmpeg -re -i c:\simpson.mkv -i c:\simpson.sub -map 0:0 -map 0:1 -map 1:0
-vcod
ec mpeg2video -s 720x480 -r 25 -b:v 1M -acodec mp2 -ac 2 -b:a 192k -scodec
dvbsu
b -f mpegts c:\simp.ts
ffmpeg version N-62669-g443936d Copyright (c) 2000-2014 the FFmpeg
developers
  built on Apr 23 2014 22:09:11 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca
--enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable
-decklink --enable-zlib
  libavutil      52. 78.100 / 52. 78.100
  libavcodec     55. 59.100 / 55. 59.100
  libavformat    55. 37.101 / 55. 37.101
  libavdevice    55. 13.100 / 55. 13.100
  libavfilter     4.  4.100 /  4.  4.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'c:\simpson.mkv':
  Metadata:
    title           : The Simpsons [Season 21] (2009)
    encoder         : libebml v1.3.0 + libmatroska v1.4.1
    creation_time   : 2014-04-26 18:22:05
  Duration: 00:04:00.29, start: 0.000000, bitrate: 5555 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1280x720 [SAR
1:1
DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default)
    Metadata:
      title           : Release for HU
    Stream #0:1(ita): Audio: mp2, 48000 Hz, stereo, s16p, 224 kb/s (default)
    Metadata:
      title           : Italisht
Input #1, mpeg, from 'c:\simpson.sub':
  Duration: 00:19:20.98, start: 72.540000, bitrate: 6 kb/s
    Stream #1:0[0x20]: Subtitle: dvd_subtitle
File 'c:\simp.ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to 'c:\simp.ts':
  Metadata:
    title           : The Simpsons [Season 21] (2009)
    encoder         : Lavf55.37.101
    Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR
16:9],
q=2-31, 1000 kb/s, 90k tbn, 25 tbc (default)
    Metadata:
      title           : Release for HU
    Stream #0:1(ita): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s (default)
    Metadata:
      title           : Italisht
    Stream #0:2: Subtitle: dvb_subtitle (dvbsub), 720x480
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg2video)
  Stream #0:1 -> #0:1 (mp2 -> mp2)
  Stream #1:0 -> #0:2 (dvdsub -> dvbsub)
Press [q] to stop, [?] for help
[mpegts @ 0000000002aa55e0] Encoder did not produce proper pts, making some
up.
[mpegts @ 0000000002aa55e0] Application provided invalid, non monotonically
incr
easing dts to muxer in stream 2: 620640 >= 617130
av_interleaved_write_frame(): Invalid argument
frame=    0 fps=0.0 q=0.0 Lsize=       6kB time=00:00:10.22 bitrate=  
4.4kbits/
s
video:0kB audio:1kB subtitle:6kB other streams:0kB global headers:0kB muxing
ove
rhead: unknown



If I put a SRT file instead of a SUB it encodes the file but with empty DVB
Subtream in VLC.

Here is the file encoded
https://www.wetransfer.com/downloads/33eee23e9b5b5627866c41d4f33ce01e20140426201855/43145531071191e908bb00294b1282a820140426201855/0c4c2c



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/DVB-Subtitles-On-Off-tp4664943p4664948.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list