Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#3025 closed defect (fixed)

Adding support for TeleText in ffmpeg

Reported by: ramitbhalla Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: teletext libzvbi
Cc: rogerdpack@gmail.com Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I understand that ffmpeg does not support TeleText? extraction or conversion today.

Is it possible to add support to Teletext extraction and conversion to other formats (like SubRip?)?

Here is a GPL project which could be linked or code reused (with appropriate credits) to provide support for teletext extraction and conversion?

https://github.com/forers/telxcc

Attachments (1)

sbs.2.5M.ts (2.3 MB) - added by rogerdpack 3 years ago.

Change History (21)

comment:1 in reply to: ↑ description Changed 6 years ago by cehoyos

Replying to ramitbhalla:

I understand that ffmpeg does not support TeleText? extraction or conversion today.

Why do you think so?

comment:2 Changed 6 years ago by ramitbhalla

Well as far as I can tell ffmpeg doesn't support eia_608, see the output below:

ffmpeg.2314.exe -y -i "..\0 Channel ReMuxSupp Broken Remux.wtv" -an -vn -scodec cop
y -f srt test.srt
ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 18 2013 18:01:33 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-lib
vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 025fb4c0] truncated file
    Last message repeated 3 times
[mpeg2video @ 025f2ea0] Invalid frame dimensions 0x0.
    Last message repeated 12 times
[wtv @ 025fb4c0] Stream #1: not enough frames to estimate rate; consider increasing probesize
[wtv @ 025fb4c0] Stream #4: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, wtv, from '..\0 Channel ReMuxSupp Broken Remux.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Two and a Half Men
    WM/SubTitle     : Mr. Hose Says Yes
    WM/SubTitleDescription: Zoey and her daughter move in with Walden; Alan gets more than he bargained for with Lyndsey
.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Ashton Kutcher/Jon Cryer/Angus T. Jones/Holland Taylor/Conchata Ferrell;James Widdoes;;Courtney Th
orne-Smith/Sophie Winkleman/Graham Patrick Martin/Talyan Wright
    service_provider: WGCLDT
    service_name    : WGCLDT (WGCL-DT)
    WM/MediaNetworkAffiliation: CBS Affiliate
    WM/MediaOriginalChannel: 46
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 2012-04-16T04:00:00Z
    WM/MediaOriginalRunTime: 19165982780
    WM/MediaIsStereo: true
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-14
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-04-17 01:00:03
    WM/WMRVSeriesUID: !MCSeries!00592733
    WM/WMRVServiceID: !MCService!28456387
    WM/WMRVProgramID: !MCProgram!273073548
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 360
    WM/WMRVOriginalSoftPostPadding: 60
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 19168516376
    WM/WMRVEndTime  : 2012-04-17 01:32:00
    WM/WMRVBitrate  : 16.821182
    WM/WMRVKeepUntil: 0
    WM/WMRVActualSoftPrePadding: 296
    WM/WMRVActualSoftPostPadding: 60
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
  Duration: 00:31:56.61, start: 1.622378, bitrate: 16823 kb/s
    Stream #0:0[0x12](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:1[0x13](eng): Audio: ac3, 48000 Hz, stereo, fltp
    Stream #0:2[0x14]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 10000k tbn
, 59.94 tbc
    Stream #0:3[0x15]: Subtitle: eia_608
    Stream #0:4[0xffffffff]: Video: mjpeg, yuvj420p, 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : TV Thumbnail
[srt @ 025ff760] Unsupported subtitles codec: eia_608
Output #0, srt, to 'test.srt':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Two and a Half Men
    WM/SubTitle     : Mr. Hose Says Yes
    WM/SubTitleDescription: Zoey and her daughter move in with Walden; Alan gets more than he bargained for with Lyndsey
.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Ashton Kutcher/Jon Cryer/Angus T. Jones/Holland Taylor/Conchata Ferrell;James Widdoes;;Courtney Th
orne-Smith/Sophie Winkleman/Graham Patrick Martin/Talyan Wright
    service_provider: WGCLDT
    service_name    : WGCLDT (WGCL-DT)
    WM/MediaNetworkAffiliation: CBS Affiliate
    WM/MediaOriginalChannel: 46
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 2012-04-16T04:00:00Z
    WM/MediaOriginalRunTime: 19165982780
    WM/MediaIsStereo: true
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-14
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-04-17 01:00:03
    WM/WMRVSeriesUID: !MCSeries!00592733
    WM/WMRVServiceID: !MCService!28456387
    WM/WMRVProgramID: !MCProgram!273073548
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 360
    WM/WMRVOriginalSoftPostPadding: 60
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 19168516376
    WM/WMRVEndTime  : 2012-04-17 01:32:00
    WM/WMRVBitrate  : 16.821182
    WM/WMRVKeepUntil: 0
    WM/WMRVActualSoftPrePadding: 296
    WM/WMRVActualSoftPostPadding: 60
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    encoder         : Lavf55.12.102
    Stream #0:0: Subtitle: eia_608
Stream mapping:
  Stream #0:3 -> #0:0 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Error number -22 occurred

and also it doesn't support teletext extraction, see this thread, the wtv file contains teletext muxed into the ts stream which ccextractor can extract, hence I offered this telxcc to provide support to extract AND convert teletext and eia_608.

https://trac.ffmpeg.org/ticket/1482

comment:3 Changed 6 years ago by cehoyos

  • Resolution set to duplicate
  • Status changed from new to closed

eia_608 != teletext

Apparently a duplicate of ticket #1482.

comment:4 Changed 6 years ago by ramitbhalla

FYI, it does not support Teletext, please see below am trying to decode teletext and convert to SRT.

ffmpeg -y -i "..\H264 Remuxsupp working.wtv" -an -vn -map 0:1 -scodec srt -f srt te
st.srt
ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 18 2013 18:01:33 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-lib
vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 81.101 /  3. 81.101
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 028f7a80] truncated file
    Last message repeated 3 times
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS referenced
[h264 @ 028fe380] non-existing SPS 0 referenced in buffering period
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] non-existing PPS 0 referenced
[h264 @ 028fe380] decode_slice_header error
[h264 @ 028fe380] no frame!
[h264 @ 028fe380] mmco: unref short failure
    Last message repeated 2 times
Input #0, wtv, from '..\H264 Remuxsupp working.wtv':
  Metadata:
    Tuner ID        : 34FE29F6-56B4-4E0D-9EAF-42A888D218E5
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : F1: Grand Prix
    WM/SubTitle     : Canada
    WM/SubTitleDescription: Suzi Perry presents live coverage of the Canadian Grand Prix from Montreal. The Circuit Gill
es Villeneuve has been a happy hunting ground for Lewis Hamilton in recent years. In 2012 he won his third Grand Prix th
ere thanks to a sparkling performance in hi
    genre           : Motor Sport;Sport;4 Star;Motor Cars;Motorcars;F1;Formula 1;Formula One
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: BBC 1
    service_name    : BBC 1
    WM/MediaNetworkAffiliation: dvblink
    WM/MediaOriginalChannel: 1
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 108574852334
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: ***
    WM/Provider     : MediaCenterDefault
    WM/ProviderRating: ***
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-06-09 17:14:02
    WM/WMRVSeriesUID: !GenericSeries!F1: Grand Prix
    WM/WMRVServiceID: !Generated!d1fde876482445b185fc66163596f081
    WM/WMRVProgramID: !Generated!3c46c811de7e47ad98415c5f628663dc
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 360
    WM/WMRVOriginalSoftPostPadding: 300
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 5705690788
    WM/WMRVEndTime  : 2013-06-09 17:23:33
    WM/WMRVBitrate  : 14.422836
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 357
    WM/WMRVActualSoftPostPadding: -9986
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 1920
    WM/MediaThumbAspectRatioY: 1080
    WM/MediaThumbTimeStamp: 4646727600202711928
  Duration: 00:09:29.72, start: 2866.580118, bitrate: 14444 kb/s
    Stream #0:0[0x55](eng): Subtitle: dvb_subtitle
    Stream #0:1[0x56](eng): Subtitle: dvb_teletext
    Stream #0:2[0x57](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:3[0x58](nar): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s (visual impaired)
    Stream #0:4[0x59]: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 10000k tbn, 50 tbc
    Stream #0:5[0xffffffff]: Video: mjpeg, yuvj420p, 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : TV Thumbnail
Output #0, srt, to 'test.srt':
  Metadata:
    Tuner ID        : 34FE29F6-56B4-4E0D-9EAF-42A888D218E5
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : F1: Grand Prix
    WM/SubTitle     : Canada
    WM/SubTitleDescription: Suzi Perry presents live coverage of the Canadian Grand Prix from Montreal. The Circuit Gill
es Villeneuve has been a happy hunting ground for Lewis Hamilton in recent years. In 2012 he won his third Grand Prix th
ere thanks to a sparkling performance in hi
    genre           : Motor Sport;Sport;4 Star;Motor Cars;Motorcars;F1;Formula 1;Formula One
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: BBC 1
    service_name    : BBC 1
    WM/MediaNetworkAffiliation: dvblink
    WM/MediaOriginalChannel: 1
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 108574852334
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: ***
    WM/Provider     : MediaCenterDefault
    WM/ProviderRating: ***
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-06-09 17:14:02
    WM/WMRVSeriesUID: !GenericSeries!F1: Grand Prix
    WM/WMRVServiceID: !Generated!d1fde876482445b185fc66163596f081
    WM/WMRVProgramID: !Generated!3c46c811de7e47ad98415c5f628663dc
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 360
    WM/WMRVOriginalSoftPostPadding: 300
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 5705690788
    WM/WMRVEndTime  : 2013-06-09 17:23:33
    WM/WMRVBitrate  : 14.422836
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 357
    WM/WMRVActualSoftPostPadding: -9986
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 1920
    WM/MediaThumbAspectRatioY: 1080
    WM/MediaThumbTimeStamp: 4646727600202711928
    Stream #0:0(eng): Subtitle: srt
Stream mapping:
  Stream #0:1 -> #0:0 (? -> srt)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

comment:5 Changed 6 years ago by ramitbhalla

  • Resolution duplicate deleted
  • Status changed from closed to reopened

comment:6 follow-up: Changed 6 years ago by ramitbhalla

Here is a custom built version of ffmpeg with libzvbi (teletext) support compiled/enabled. Now it identified the stream as teletext but it still does not decode / export to srt.

Is this a bug or enhancement request?

ffmpeg -y -i "..\H264 Remuxsupp working.wtv" -an -vn -map 0:1 -scodec srt test.srt
ffmpeg version N-56896-ga927276 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct  5 2013 09:46:09 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libzvbi --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enab
le-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray -
-extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-runtime-cpudetect
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 34.100 / 55. 34.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 88.101 /  3. 88.101
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 038236e0] truncated file
    Last message repeated 3 times
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS referenced
[h264 @ 03825480] non-existing SPS 0 referenced in buffering period
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] non-existing PPS 0 referenced
[h264 @ 03825480] decode_slice_header error
[h264 @ 03825480] no frame!
[h264 @ 03825480] mmco: unref short failure
    Last message repeated 2 times
Input #0, wtv, from '..\H264 Remuxsupp working.wtv':
  Metadata:
    Tuner ID        : 34FE29F6-56B4-4E0D-9EAF-42A888D218E5
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : F1: Grand Prix
    WM/SubTitle     : Canada
    WM/SubTitleDescription: Suzi Perry presents live coverage of the Canadian Grand Prix from Montreal. The Circuit Gill
es Villeneuve has been a happy hunting ground for Lewis Hamilton in recent years. In 2012 he won his third Grand Prix th
ere thanks to a sparkling performance in hi
    genre           : Motor Sport;Sport;4 Star;Motor Cars;Motorcars;F1;Formula 1;Formula One
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: BBC 1
    service_name    : BBC 1
    WM/MediaNetworkAffiliation: dvblink
    WM/MediaOriginalChannel: 1
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 108574852334
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: ***
    WM/Provider     : MediaCenterDefault
    WM/ProviderRating: ***
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-06-09 17:14:02
    WM/WMRVSeriesUID: !GenericSeries!F1: Grand Prix
    WM/WMRVServiceID: !Generated!d1fde876482445b185fc66163596f081
    WM/WMRVProgramID: !Generated!3c46c811de7e47ad98415c5f628663dc
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 360
    WM/WMRVOriginalSoftPostPadding: 300
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 5705690788
    WM/WMRVEndTime  : 2013-06-09 17:23:33
    WM/WMRVBitrate  : 14.422836
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 357
    WM/WMRVActualSoftPostPadding: -9986
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 1920
    WM/MediaThumbAspectRatioY: 1080
    WM/MediaThumbTimeStamp: 4646727600202711928
  Duration: 00:09:29.72, start: 2866.580118, bitrate: 14444 kb/s
    Stream #0:0[0x55](eng): Subtitle: dvb_subtitle
    Stream #0:1[0x56](eng): Subtitle: dvb_teletext
    Stream #0:2[0x57](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:3[0x58](nar): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s (visual impaired)
    Stream #0:4[0x59]: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 10000k tbn,
 50 tbc
    Stream #0:5[0xffffffff]: Video: mjpeg, yuvj420p(pc), 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : TV Thumbnail
Output #0, srt, to 'test.srt':
  Metadata:
    Tuner ID        : 34FE29F6-56B4-4E0D-9EAF-42A888D218E5
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : F1: Grand Prix
    WM/SubTitle     : Canada
    WM/SubTitleDescription: Suzi Perry presents live coverage of the Canadian Grand Prix from Montreal. The Circuit Gill
es Villeneuve has been a happy hunting ground for Lewis Hamilton in recent years. In 2012 he won his third Grand Prix th
ere thanks to a sparkling performance in hi
    genre           : Motor Sport;Sport;4 Star;Motor Cars;Motorcars;F1;Formula 1;Formula One
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: BBC 1
    service_name    : BBC 1
    WM/MediaNetworkAffiliation: dvblink
    WM/MediaOriginalChannel: 1
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 108574852334
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: ***
    WM/Provider     : MediaCenterDefault
    WM/ProviderRating: ***
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-06-09 17:14:02
    WM/WMRVSeriesUID: !GenericSeries!F1: Grand Prix
    WM/WMRVServiceID: !Generated!d1fde876482445b185fc66163596f081
    WM/WMRVProgramID: !Generated!3c46c811de7e47ad98415c5f628663dc
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 360
    WM/WMRVOriginalSoftPostPadding: 300
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 5705690788
    WM/WMRVEndTime  : 2013-06-09 17:23:33
    WM/WMRVBitrate  : 14.422836
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 357
    WM/WMRVActualSoftPostPadding: -9986
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 1920
    WM/MediaThumbAspectRatioY: 1080
    WM/MediaThumbTimeStamp: 4646727600202711928
    Stream #0:0(eng): Subtitle: srt
Stream mapping:
  Stream #0:1 -> #0:0 (libzvbi_teletextdec -> srt)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

comment:7 Changed 6 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords teletext libzvbi added
  • Reproduced by developer set
  • Status changed from reopened to open
  • Type changed from enhancement to defect
  • Version changed from unspecified to git-master

-txt_format text does not work correctly yet, it should output SSA instead of text.

comment:8 in reply to: ↑ 6 Changed 6 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed

Replying to ramitbhalla:

ffmpeg -y -i "..\H264 Remuxsupp working.wtv" -an -vn -map 0:1 -scodec srt test.srt

This (with -txt_page xyz -txt_format text - libzvbi can provide bitmap and text subtitle, srt needs text subtitles) was fixed by Marton Balint.

Last edited 6 years ago by cehoyos (previous) (diff)

comment:9 Changed 6 years ago by cus

There is one more thing worth mentioning, for teletext sources, probably you would want to use ffmpeg with the -fix_sub_duration option.

comment:10 follow-up: Changed 6 years ago by ramitbhalla

What's going on here, am I missing something. With the latest build, it seems to indicate there is SRT data but when I try to extract it it fails:

ffmpeg -i "World News Australia_SBS HD_2013_12_05_18_54_59_Teletext.wtv" -an -vn -scodec s
rt test.srt
ffmpeg version N-59138-g4ecac81 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 16 2013 05:11:19 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libzvbi --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enab
le-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray -
-extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-runtime-cpudetect
  libavutil      52. 58.100 / 52. 58.100
  libavcodec     55. 45.101 / 55. 45.101
  libavformat    55. 22.100 / 55. 22.100
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     3. 92.100 /  3. 92.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 0268cc60] truncated file
[mpeg2video @ 0268d620] Invalid frame dimensions 0x0.
    Last message repeated 3 times
Input #0, wtv, from 'World News Australia_SBS HD_2013_12_05_18_54_59_Teletext.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : World News Australia
    WM/SubTitleDescription: Up-to-date reports and analysis of the major national and international news stories of the
day in Australia's only world news service. #SBSnews
    genre           : News;Other News
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: SBS HD
    service_name    : SBS HD
    WM/MediaNetworkAffiliation: SBS HD
    WM/MediaOriginalChannel: 30
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 26984467000
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-12-05 08:55:01
    WM/WMRVSeriesUID: !GenericSeries!World News Australia
    WM/WMRVServiceID: !Generated!f16bbe88261548ecaa088c55f9b00f3c
    WM/WMRVProgramID: !Loaders!Glid!Programs!12802:816:821!12019
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 1617
    WM/WMRVOriginalSoftPostPadding: 600
    WM/WMRVHardPrePadding: -1497
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    Duration        : 193959629
    WM/WMRVEndTime  : 2013-12-05 08:55:20
    WM/WMRVBitrate  : 8.073216
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: -3
    WM/WMRVActualSoftPostPadding: -2079
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 0
    WM/MediaThumbHeight: 0
    WM/MediaThumbStride: 0
    WM/MediaThumbRet: 4
    WM/MediaThumbRatingSystem: 0
    WM/MediaThumbRatingLevel: 0
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 0
    WM/MediaThumbAspectRatioY: 0
    WM/MediaThumbTimeStamp: -4616189618054758400
  Duration: 00:00:19.11, start: 1.619076, bitrate: 10206 kb/s
    Stream #0:0[0x2c](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:1[0x2d]: Video: mpeg2video (Main), yuv420p(tv), 1440x1080 [SAR 4:3 DAR 16:9], max. 80000 kb/s, 25 fps, 25
tbr, 10000k tbn, 50 tbc
    Stream #0:2[0x2f](eng): Subtitle: dvb_teletext, 492x250
File 'test.srt' already exists. Overwrite ? [y/N] y
Output #0, srt, to 'test.srt':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : World News Australia
    WM/SubTitleDescription: Up-to-date reports and analysis of the major national and international news stories of the
day in Australia's only world news service. #SBSnews
    genre           : News;Other News
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: SBS HD
    service_name    : SBS HD
    WM/MediaNetworkAffiliation: SBS HD
    WM/MediaOriginalChannel: 30
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 26984467000
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-12-05 08:55:01
    WM/WMRVSeriesUID: !GenericSeries!World News Australia
    WM/WMRVServiceID: !Generated!f16bbe88261548ecaa088c55f9b00f3c
    WM/WMRVProgramID: !Loaders!Glid!Programs!12802:816:821!12019
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 1617
    WM/WMRVOriginalSoftPostPadding: 600
    WM/WMRVHardPrePadding: -1497
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    Duration        : 193959629
    WM/WMRVEndTime  : 2013-12-05 08:55:20
    WM/WMRVBitrate  : 8.073216
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: -3
    WM/WMRVActualSoftPostPadding: -2079
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 0
    WM/MediaThumbHeight: 0
    WM/MediaThumbStride: 0
    WM/MediaThumbRet: 4
    WM/MediaThumbRatingSystem: 0
    WM/MediaThumbRatingLevel: 0
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 0
    WM/MediaThumbAspectRatioY: 0
    WM/MediaThumbTimeStamp: -4616189618054758400
    Stream #0:0(eng): Subtitle: srt, 492x250
Stream mapping:
  Stream #0:2 -> #0:0 (libzvbi_teletextdec -> srt)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
ffmpeg -i "World News Australia_SBS HD_2013_12_05_18_54_59_Teletext.wtv" -an -vn -scodec
rt -txt_format text test.srt
ffmpeg version N-59138-g4ecac81 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 16 2013 05:11:19 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bi
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-li
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enab
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enabl
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libzvbi --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --ena
le-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray
-extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-runtime-cpudetect
  libavutil      52. 58.100 / 52. 58.100
  libavcodec     55. 45.101 / 55. 45.101
  libavformat    55. 22.100 / 55. 22.100
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     3. 92.100 /  3. 92.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 04004aa0] truncated file
[mpeg2video @ 040055e0] Invalid frame dimensions 0x0.
    Last message repeated 3 times
Input #0, wtv, from 'World News Australia_SBS HD_2013_12_05_18_54_59_Teletext.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : World News Australia
    WM/SubTitleDescription: Up-to-date reports and analysis of the major national and international news stories of the
day in Australia's only world news service. #SBSnews
    genre           : News;Other News
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: SBS HD
    service_name    : SBS HD
    WM/MediaNetworkAffiliation: SBS HD
    WM/MediaOriginalChannel: 30
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 26984467000
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-12-05 08:55:01
    WM/WMRVSeriesUID: !GenericSeries!World News Australia
    WM/WMRVServiceID: !Generated!f16bbe88261548ecaa088c55f9b00f3c
    WM/WMRVProgramID: !Loaders!Glid!Programs!12802:816:821!12019
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 1617
    WM/WMRVOriginalSoftPostPadding: 600
    WM/WMRVHardPrePadding: -1497
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    Duration        : 193959629
    WM/WMRVEndTime  : 2013-12-05 08:55:20
    WM/WMRVBitrate  : 8.073216
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: -3
    WM/WMRVActualSoftPostPadding: -2079
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 0
    WM/MediaThumbHeight: 0
    WM/MediaThumbStride: 0
    WM/MediaThumbRet: 4
    WM/MediaThumbRatingSystem: 0
    WM/MediaThumbRatingLevel: 0
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 0
    WM/MediaThumbAspectRatioY: 0
    WM/MediaThumbTimeStamp: -4616189618054758400
  Duration: 00:00:19.11, start: 1.619076, bitrate: 10206 kb/s
    Stream #0:0[0x2c](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:1[0x2d]: Video: mpeg2video (Main), yuv420p(tv), 1440x1080 [SAR 4:3 DAR 16:9], max. 80000 kb/s, 25 fps, 25
tbr, 10000k tbn, 50 tbc
    Stream #0:2[0x2f](eng): Subtitle: dvb_teletext, 492x250
Codec AVOption txt_format (format of the subtitles (bitmap or text)) specified for output file #0 (test.srt) is not an
ncoding option.

comment:11 in reply to: ↑ 10 Changed 6 years ago by cehoyos

Replying to ramitbhalla:

Codec AVOption txt_format (format of the subtitles (bitmap or text)) specified for output file #0 (test.srt) is not an encoding option.

-txt_format text is an input option.

comment:12 follow-up: Changed 6 years ago by ramitbhalla

Thank you - post correction it's still giving an error - something missing or is it still broken?

ffmpeg -txt_format text -i "d:\Test Videos\MCEBuddyArchive\H264 Remuxsupp working.wtv" -an
 -vn -scodec srt test.srt -y
ffmpeg version N-59138-g4ecac81 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 16 2013 05:11:19 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libzvbi --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enab
le-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray -
-extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-runtime-cpudetect
  libavutil      52. 58.100 / 52. 58.100
  libavcodec     55. 45.101 / 55. 45.101
  libavformat    55. 22.100 / 55. 22.100
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     3. 92.100 /  3. 92.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 04034aa0] truncated file
    Last message repeated 3 times
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS referenced
[h264 @ 04033c80] non-existing SPS 0 referenced in buffering period
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] non-existing PPS 0 referenced
[h264 @ 04033c80] decode_slice_header error
[h264 @ 04033c80] no frame!
[h264 @ 04033c80] mmco: unref short failure
[h264 @ 04033c80] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
Input #0, wtv, from 'd:\Test Videos\MCEBuddyArchive\H264 Remuxsupp working.wtv':
  Metadata:
    Tuner ID        : 34FE29F6-56B4-4E0D-9EAF-42A888D218E5
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : F1: Grand Prix
    WM/SubTitle     : Canada
    WM/SubTitleDescription: Suzi Perry presents live coverage of the Canadian Grand Prix from Montreal. The Circuit Gill
es Villeneuve has been a happy hunting ground for Lewis Hamilton in recent years. In 2012 he won his third Grand Prix th
ere thanks to a sparkling performance in hi
    genre           : Motor Sport;Sport;4 Star;Motor Cars;Motorcars;F1;Formula 1;Formula One
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: BBC 1
    service_name    : BBC 1
    WM/MediaNetworkAffiliation: dvblink
    WM/MediaOriginalChannel: 1
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 108574852334
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: ***
    WM/Provider     : MediaCenterDefault
    WM/ProviderRating: ***
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-06-09 17:14:02
    WM/WMRVSeriesUID: !GenericSeries!F1: Grand Prix
    WM/WMRVServiceID: !Generated!d1fde876482445b185fc66163596f081
    WM/WMRVProgramID: !Generated!3c46c811de7e47ad98415c5f628663dc
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 360
    WM/WMRVOriginalSoftPostPadding: 300
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 5705690788
    WM/WMRVEndTime  : 2013-06-09 17:23:33
    WM/WMRVBitrate  : 14.422836
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 357
    WM/WMRVActualSoftPostPadding: -9986
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 1920
    WM/MediaThumbAspectRatioY: 1080
    WM/MediaThumbTimeStamp: 4646727600202711928
  Duration: 00:09:29.72, start: 2866.580118, bitrate: 14444 kb/s
    Stream #0:0[0x55](eng): Subtitle: dvb_subtitle
    Stream #0:1[0x56](eng): Subtitle: dvb_teletext
    Stream #0:2[0x57](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:3[0x58](nar): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s (visual impaired)
    Stream #0:4[0x59]: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 10000k tbn,
 50 tbc
    Stream #0:5[0xffffffff]: Video: mjpeg, yuvj420p(pc), 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : TV Thumbnail
Output #0, srt, to 'test.srt':
  Metadata:
    Tuner ID        : 34FE29F6-56B4-4E0D-9EAF-42A888D218E5
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : F1: Grand Prix
    WM/SubTitle     : Canada
    WM/SubTitleDescription: Suzi Perry presents live coverage of the Canadian Grand Prix from Montreal. The Circuit Gill
es Villeneuve has been a happy hunting ground for Lewis Hamilton in recent years. In 2012 he won his third Grand Prix th
ere thanks to a sparkling performance in hi
    genre           : Motor Sport;Sport;4 Star;Motor Cars;Motorcars;F1;Formula 1;Formula One
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: BBC 1
    service_name    : BBC 1
    WM/MediaNetworkAffiliation: dvblink
    WM/MediaOriginalChannel: 1
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 108574852334
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: ***
    WM/Provider     : MediaCenterDefault
    WM/ProviderRating: ***
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-06-09 17:14:02
    WM/WMRVSeriesUID: !GenericSeries!F1: Grand Prix
    WM/WMRVServiceID: !Generated!d1fde876482445b185fc66163596f081
    WM/WMRVProgramID: !Generated!3c46c811de7e47ad98415c5f628663dc
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 360
    WM/WMRVOriginalSoftPostPadding: 300
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 5705690788
    WM/WMRVEndTime  : 2013-06-09 17:23:33
    WM/WMRVBitrate  : 14.422836
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 357
    WM/WMRVActualSoftPostPadding: -9986
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 1920
    WM/MediaThumbAspectRatioY: 1080
    WM/MediaThumbTimeStamp: 4646727600202711928
    Stream #0:0(eng): Subtitle: srt
Stream mapping:
  Stream #0:0 -> #0:0 (dvbsub -> srt)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

comment:13 in reply to: ↑ 12 Changed 6 years ago by cehoyos

Replying to ramitbhalla:

  Stream #0:0 -> #0:0 (dvbsub -> srt)

How is this supposed to work?
And how is it related to Teletext?

comment:14 follow-up: Changed 6 years ago by ramitbhalla

Aah right, sorry about that, I should have used the map command to select the teletext stream (map 0:1). There is a teletext stream in the video which is confirmed by windows media center. BTW even after using it it fails.

here's another sample with Teletext. As you can see even here while trying to encode the teletext stream it fails. I know there is teletext here since windows media center shows it but ffmpeg is unable to convert it to srt.

Do you want me to upload the sample file (20MB) (it's an australian recording sample) ?

ffmpeg -txt_format text -i "World News Australia_SBS HD_2013_12_05_18_54_59_Teletext.wtv"
-an -vn -scodec srt test.srt
ffmpeg version N-59138-g4ecac81 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec 16 2013 05:11:19 with gcc 4.8.0 (GCC)
  configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-lib
mp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enabl
e-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
 --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable
-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++
--enable-libzvbi --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enab
le-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray -
-extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-runtime-cpudetect
  libavutil      52. 58.100 / 52. 58.100
  libavcodec     55. 45.101 / 55. 45.101
  libavformat    55. 22.100 / 55. 22.100
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     3. 92.100 /  3. 92.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[wtv @ 03f74aa0] truncated file
[mpeg2video @ 03f755e0] Invalid frame dimensions 0x0.
    Last message repeated 3 times
Input #0, wtv, from 'World News Australia_SBS HD_2013_12_05_18_54_59_Teletext.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : World News Australia
    WM/SubTitleDescription: Up-to-date reports and analysis of the major national and international news stories of the
day in Australia's only world news service. #SBSnews
    genre           : News;Other News
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: SBS HD
    service_name    : SBS HD
    WM/MediaNetworkAffiliation: SBS HD
    WM/MediaOriginalChannel: 30
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 26984467000
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-12-05 08:55:01
    WM/WMRVSeriesUID: !GenericSeries!World News Australia
    WM/WMRVServiceID: !Generated!f16bbe88261548ecaa088c55f9b00f3c
    WM/WMRVProgramID: !Loaders!Glid!Programs!12802:816:821!12019
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 1617
    WM/WMRVOriginalSoftPostPadding: 600
    WM/WMRVHardPrePadding: -1497
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    WM/MediaThumbWidth: 0
    WM/MediaThumbHeight: 0
    WM/MediaThumbStride: 0
    WM/MediaThumbRet: 4
    WM/MediaThumbRatingSystem: 0
    WM/MediaThumbRatingLevel: 0
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 0
    WM/MediaThumbAspectRatioY: 0
    WM/MediaThumbTimeStamp: -4616189618054758400
    Duration        : 193959629
    WM/WMRVEndTime  : 2013-12-05 08:55:20
    WM/WMRVBitrate  : 3.014656
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 1494
    WM/WMRVActualSoftPostPadding: -2079
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : true
  Duration: 00:00:19.11, start: 1.619076, bitrate: 10206 kb/s
    Stream #0:0[0x2c](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:1[0x2d]: Video: mpeg2video (Main), yuv420p(tv), 1440x1080 [SAR 4:3 DAR 16:9], max. 80000 kb/s, 25 fps, 25
tbr, 10000k tbn, 50 tbc
    Stream #0:2[0x2f](eng): Subtitle: dvb_teletext
Output #0, srt, to 'test.srt':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : World News Australia
    WM/SubTitleDescription: Up-to-date reports and analysis of the major national and international news stories of the
day in Australia's only world news service. #SBSnews
    genre           : News;Other News
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: SBS HD
    service_name    : SBS HD
    WM/MediaNetworkAffiliation: SBS HD
    WM/MediaOriginalChannel: 30
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 26984467000
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2013-12-05 08:55:01
    WM/WMRVSeriesUID: !GenericSeries!World News Australia
    WM/WMRVServiceID: !Generated!f16bbe88261548ecaa088c55f9b00f3c
    WM/WMRVProgramID: !Loaders!Glid!Programs!12802:816:821!12019
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 1617
    WM/WMRVOriginalSoftPostPadding: 600
    WM/WMRVHardPrePadding: -1497
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: false
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    WM/MediaThumbWidth: 0
    WM/MediaThumbHeight: 0
    WM/MediaThumbStride: 0
    WM/MediaThumbRet: 4
    WM/MediaThumbRatingSystem: 0
    WM/MediaThumbRatingLevel: 0
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 0
    WM/MediaThumbAspectRatioY: 0
    WM/MediaThumbTimeStamp: -4616189618054758400
    Duration        : 193959629
    WM/WMRVEndTime  : 2013-12-05 08:55:20
    WM/WMRVBitrate  : 3.014656
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 1494
    WM/WMRVActualSoftPostPadding: -2079
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : true
    encoder         : Lavf55.22.100
    Stream #0:0(eng): Subtitle: srt
Stream mapping:
  Stream #0:2 -> #0:0 (libzvbi_teletextdec -> srt)
Press [q] to stop, [?] for help
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 94 times
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 82 times
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 108 times
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 98 times
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 96 times
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 99 times
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 96 times
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 99 times
Error while decoding stream #0:2: Invalid data found when processing input
    Last message repeated 37 times
size=       0kB time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

comment:15 in reply to: ↑ 14 Changed 6 years ago by cehoyos

Replying to ramitbhalla:

Do you want me to upload the sample file (20MB) (it's an australian recording sample) ?

Only if it doesn't work with -fix_sub_duration ;-)

comment:16 Changed 6 years ago by ramitbhalla

Unfortunately it doesn't :-)

I've uploaded the file it's called Ticket#3025.wtv

comment:17 Changed 6 years ago by ramitbhalla

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:18 Changed 6 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from reopened to closed

Please test a transport stream.

comment:19 Changed 6 years ago by ramitbhalla

I don't have a transport stream, all my videos are WTV. I'm guessing ffmpeg should work with WTV also right? It's just a matter of demuxing it correctly right?

Changed 3 years ago by rogerdpack

comment:20 Changed 3 years ago by rogerdpack

  • Cc rogerdpack@gmail.com added

Could anybody test if the attached file I just attached works for them (converting to some type/any type of plain text subtitle format here)? Thank you.

Note: See TracTickets for help on using tickets.