[FFmpeg-trac] #3025(avcodec:closed): Adding support for TeleText in ffmpeg
FFmpeg
trac at avcodec.org
Tue Dec 17 13:32:43 CET 2013
#3025: Adding support for TeleText in ffmpeg
-------------------------------------+-------------------------------------
Reporter: ramitbhalla | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: git-master | Resolution: fixed
Keywords: teletext | Blocked By:
libzvbi | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (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)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3025#comment:14>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list