[FFmpeg-user] subtitle de/encoding of wtv files

Piet in het Veld piet5211 at gmail.com
Tue Sep 17 01:24:28 CEST 2013


Is teletext decoding not included in my build?

I am using the following command (using a zeranoe build):

ffmpeg -i 
"D:\RecordedTV\ManualRecording_SkyAtlantic_2013_09_16_21_00_00.wtv" -map 
0:3 -map 0:1 -map 0:0 -c:v libx264  -c:a libmp3lame -c:s srt scratch.mkv

And get the following result:

ffmpeg version N-56297-g7ac6c63 Copyright (c) 2000-2013 the FFmpeg 
developers
   built on Sep 15 2013 18:02:28 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray 
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc 
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus 
--enable-librtmp --enable-libschroedinger --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame 
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc 
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs 
--enable-libxvid --enable-zlib
   libavutil      52. 43.100 / 52. 43.100
   libavcodec     55. 31.101 / 55. 31.101
   libavformat    55. 16.102 / 55. 16.102
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 84.100 /  3. 84.100
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
[wtv @ 0258d880] truncated file
     Last message repeated 1 times
[mpeg2video @ 02583000] Invalid frame dimensions 0x0.
     Last message repeated 10 times
Input #0, wtv, from 'D:\Recorded TV\Manual Recording_Sky 
Atlantic_2013_09_16_21_00_00.wtv':
   Metadata:
     Tuner ID        : 47FC50DB-CD01-4C32-9F50-148D610388C2
     WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
     WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
     Title           : Manual Recording
     WM/OriginalReleaseTime: 2013
     WM/MediaCredits : ;;;
     service_provider: Sky Atlantic
     service_name    : Sky Atlantic
     WM/MediaNetworkAffiliation: dvblink
     WM/MediaOriginalChannel: 68
     WM/MediaOriginalChannelSubNumber: 0
     WM/MediaOriginalBroadcastDateTime: 2013-09-15T22:00:00Z
     WM/MediaOriginalRunTime: 8884851265
     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     : Anonymous!User
     WM/VideoClosedCaptioning: false
     WM/WMRVEncodeTime: 2013-09-16 19:45:11
     WM/WMRVServiceID: !Generated!5914cd8b323d45a0b1430d07da166493
     WM/WMRVProgramID: !Generated!2fa2abf7e7f14ede9ee53e902327e33c
     WM/WMRVRequestID: 0
     WM/WMRVScheduleItemID: 0
     WM/WMRVQuality  : 0
     WM/WMRVOriginalSoftPrePadding: 2710
     WM/WMRVOriginalSoftPostPadding: 0
     WM/WMRVHardPrePadding: -2710
     WM/WMRVHardPostPadding: 0
     WM/WMRVATSCContent: false
     WM/WMRVDTVContent: true
     WM/WMRVHDContent: false
     Duration        : 344282785
     WM/WMRVEndTime  : 2013-09-16 19:45:45
     WM/WMRVBitrate  : 8.073216
     WM/WMRVKeepUntil: -1
     WM/WMRVActualSoftPrePadding: -1
     WM/WMRVActualSoftPostPadding: -854
     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:36.91, start: 0.868056, bitrate: 2386 kb/s
     Stream #0:0[0x6d](eng): Subtitle: dvb_teletext
     Stream #0:1[0x6e](eng): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, 
stereo, s16p, 256 kb/s
     Stream #0:2[0x6f](nar): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, 
stereo, s16p, 256 kb/s (visual impaired)
     Stream #0:3[0x70]: Video: mpeg2video (Main), yuv420p(tv), 544x576 
[SAR 32:17 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 10000k tbn, 50 tbc
     Stream #0:4[0xffffffff]: Video: mjpeg, yuvj420p(pc), 189x200 [SAR 
96:96 DAR 189:200], 90k tbr, 90k tbn, 90k tbc
     Metadata:
       title           : TV Thumbnail
File 'scratch.mkv' already exists. Overwrite ? [y/N] [libx264 @ 
041008c0] using SAR=32/17
[libx264 @ 041008c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 041008c0] profile High, level 3.0
[libx264 @ 041008c0] 264 - core 135 r2345 f0c1c53 - H.264/MPEG-4 AVC 
codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - 
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 
threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf 
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 
aq=1:1.00
[matroska @ 03daea00] Subtitle codec 94215 is not supported.
Output #0, matroska, to 'scratch.mkv':
   Metadata:
     Tuner ID        : 47FC50DB-CD01-4C32-9F50-148D610388C2
     WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
     WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
     Title           : Manual Recording
     WM/OriginalReleaseTime: 2013
     WM/MediaCredits : ;;;
     service_provider: Sky Atlantic
     service_name    : Sky Atlantic
     WM/MediaNetworkAffiliation: dvblink
     WM/MediaOriginalChannel: 68
     WM/MediaOriginalChannelSubNumber: 0
     WM/MediaOriginalBroadcastDateTime: 2013-09-15T22:00:00Z
     WM/MediaOriginalRunTime: 8884851265
     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     : Anonymous!User
     WM/VideoClosedCaptioning: false
     WM/WMRVEncodeTime: 2013-09-16 19:45:11
     WM/WMRVServiceID: !Generated!5914cd8b323d45a0b1430d07da166493
     WM/WMRVProgramID: !Generated!2fa2abf7e7f14ede9ee53e902327e33c
     WM/WMRVRequestID: 0
     WM/WMRVScheduleItemID: 0
     WM/WMRVQuality  : 0
     WM/WMRVOriginalSoftPrePadding: 2710
     WM/WMRVOriginalSoftPostPadding: 0
     WM/WMRVHardPrePadding: -2710
     WM/WMRVHardPostPadding: 0
     WM/WMRVATSCContent: false
     WM/WMRVDTVContent: true
     WM/WMRVHDContent: false
     Duration        : 344282785
     WM/WMRVEndTime  : 2013-09-16 19:45:45
     WM/WMRVBitrate  : 8.073216
     WM/WMRVKeepUntil: -1
     WM/WMRVActualSoftPrePadding: -1
     WM/WMRVActualSoftPostPadding: -854
     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
     encoder         : Lavf55.16.102
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 
544x576 [SAR 32:17 DAR 16:9], q=-1--1, 1k tbn, 25 tbc
     Stream #0:1(eng): Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 
48000 Hz, stereo, s16p
     Stream #0:2(eng): Subtitle: dvb_teletext
Stream mapping:
   Stream #0:3 -> #0:0 (mpeg2video -> libx264)
   Stream #0:1 -> #0:1 (mp2 -> libmp3lame)
   Stream #0:0 -> #0:2 (copy)
Could not write header for output file #0 (incorrect codec parameters 
?): Error number -40 occurred



More information about the ffmpeg-user mailing list