[FFmpeg-devel] Some help needed please

JULIAN GARDNER joolzg at btinternet.com
Wed Sep 18 23:12:27 CEST 2013


Ok next thing i was working on was TTX and DVB Subtitles and various modes

1. DVB Subtitles pass through
2. DVB Subtitles re encoded
3. DVB Subtitles overlayed
4. TTX Subtitles pass through
5. TTX Subtitles re encoded
6. TTX Subtitles overlayed

Now I have 4 of the 6 working but 2 are failing and both fail with the same error message
2. DVB Subtitles re-encoded

command line
ffmpeg -i ../testStreams/bbc.ts -c:v libx264 -b:v 1300k -c:s dvbsub -y -f mpegts a.ts

output
ffmpeg version N-56408-g206c104 Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep 18 2013 10:21:08 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libzvbi --cc='ccache cc'
  libavutil      52. 44.100 / 52. 44.100
  libavcodec     55. 31.101 / 55. 31.101
  libavformat    55. 17.100 / 55. 17.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 86.100 /  3. 86.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[mpeg2video @ 0x275ba20] Invalid frame dimensions 0x0.
    Last message repeated 7 times
[mpegts @ 0x2757960] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from '../testStreams/bbc.ts':
  Duration: 00:00:26.63, start: 70669.147300, bitrate: 3007 kb/s
  Program 1 
    Metadata:
      service_name    :  
      service_provider: Generated by TSReader 2.8.46c on 2011/04/20 15:32
    Stream #0:0[0x119]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x11a]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:2[0x11d](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
[libx264 @ 0x275dc00] using SAR=64/45
[libx264 @ 0x275dc00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x275dc00] profile High, level 3.0
Output #0, mpegts, to 'a.ts':
  Metadata:
    encoder         : Lavf55.17.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 1300 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
    Stream #0:2(eng): Subtitle: dvb_subtitle (dvbsub)
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
  Stream #0:1 -> #0:1 (mp2 -> mp2)
  Stream #0:2 -> #0:2 (dvbsub -> dvbsub)
Press [q] to stop, [?] for help
[mpegts @ 0x275d340] Application provided invalid, non monotonically increasing dts to muxer in stream 2: 1445404 >= 189004
av_interleaved_write_frame(): Invalid argument

5. TTX Subtitles re-encoded

command line
ffmpeg -txt_page 299 -i ../star.ts -c:v libx264 -b:v 1300k -c:s dvbsub -y -f mpegts a_ttx_enc.ts

output
ffmpeg version N-56408-g206c104 Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep 18 2013 10:21:08 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libzvbi --cc='ccache cc'
  libavutil      52. 44.100 / 52. 44.100
  libavcodec     55. 31.101 / 55. 31.101
  libavformat    55. 17.100 / 55. 17.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 86.100 /  3. 86.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[mp3 @ 0x19ac540] Header missing
[mpegts @ 0x19a7a20] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from '../star.ts':
  Duration: 00:01:37.78, start: 50491.198211, bitrate: 4533 kb/s
  Program 1 
    Metadata:
      service_name    :  
      service_provider: Generated by TSReader 2.8.46c on 2013/09/05 17:23
    Stream #0:0[0x203]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x576 [SAR 12:11 DAR 4:3], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x28c]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x243](eng,I100,swe,S199,nor,S299,dan,S599,fin,S699): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
[libx264 @ 0x19ae580] using SAR=12/11
[libx264 @ 0x19ae580] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x19ae580] profile High, level 3.0
Output #0, mpegts, to 'a_ttx_enc.ts':
  Metadata:
    encoder         : Lavf55.17.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 704x576 [SAR 12:11 DAR 4:3], q=-1--1, 1300 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
    Stream #0:2(eng,I100,swe,S199,nor,S299,dan,S599,fin,S699): Subtitle: dvb_subtitle (dvbsub)
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
  Stream #0:1 -> #0:1 (mp2 -> mp2)
  Stream #0:2 -> #0:2 (libzvbi_teletextdec -> dvbsub)
Press [q] to stop, [?] for help
[mp2 @ 0x19ac540] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0x19adcc0] Application provided invalid, non monotonically increasing dts to muxer in stream 2: 3193200 >= 982800
av_interleaved_write_frame(): Invalid argument


files needed
star.ts 

http://joolzg.myetrayz.net:8080/rapidbox/rapidFileDownload.php?r_id=a5771bce93e200c36f7cd9dfd0e5deaa

bbc.ts 

http://joolzg.myetrayz.net:8080/rapidbox/rapidFileDownload.php?r_id=a5bfc9e07964f8dddeb95fc584cd965d

Any help would be greatly appreciated as running the other 4 are nearly working as i think they should.

joolz



More information about the ffmpeg-devel mailing list