[FFmpeg-user] DVB Subtitles On/Off

enri69 priftien at hotmail.com
Sat Apr 26 19:41:28 CEST 2014


Hi!

Now that I am trying with a SUB subtitle which I got from converting a srt
with txt2vobsub I am getting an error....

>ffmpeg -re -i c:\simpson.mkv -i c:\simpson.sub -map 0:0 -map 0:1 -map 0:2
-map
0:3 -map 1:0 -vcodec mpeg2video -s 1280x720 -r 25 -b:v 9M -acodec mp2 -ac 2
-b:a
 192k -scodec dvbsub -f mpegts udp://224.1.1.1:1234?pkt_size=1316
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.2.3 + libmatroska v1.3.0
    creation_time   : 2012-02-06 11:16:19
  Duration: 00:21:31.46, start: 0.000000, bitrate: 4725 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
    Stream #0:2(rus): Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
    Metadata:
      title           : AC3 2.0 256 Kbps
    Stream #0:3(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      title           : AC3 5.1 384 Kbps
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
Output #0, mpegts, to 'udp://224.1.1.1:1234?pkt_size=1316':
  Metadata:
    title           : The Simpsons [Season 21] (2009) - Release for HDClub
    encoder         : Lavf55.37.101
    Stream #0:0(eng): Video: mpeg2video, yuv420p, 1280x720 [SAR 1:1 DAR
16:9], q
=2-31, 9000 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(rus): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
    Metadata:
      title           : AC3 2.0 256 Kbps
    Stream #0:3(eng): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
    Metadata:
      title           : AC3 5.1 384 Kbps
    Stream #0:4: Subtitle: dvb_subtitle (dvbsub), 1280x720
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg2video)
  Stream #0:1 -> #0:1 (mp2 -> mp2)
  Stream #0:2 -> #0:2 (ac3 -> mp2)
  Stream #0:3 -> #0:3 (ac3 -> mp2)
  Stream #1:0 -> #0:4 (dvdsub -> dvbsub)
Press [q] to stop, [?] for help
[mpegts @ 00000000051fa6c0] Encoder did not produce proper pts, making some
up.
[mpegts @ 00000000051fa6c0] Application provided invalid, non monotonically
incr
easing dts to muxer in stream 4: 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



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


More information about the ffmpeg-user mailing list