[FFmpeg-trac] #3898(undetermined:new): Remuxing WTV only remuxes about half the file
FFmpeg
trac at avcodec.org
Tue Aug 26 18:59:54 CEST 2014
#3898: Remuxing WTV only remuxes about half the file
-------------------------------------+-------------------------------------
Reporter: ramitbhalla | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: This only happens with some recorded files. The issue
is no matter how big the original file is (15 minutes to 2 hours), ffmpeg
only remuxes about 50% of the file.
I've included the output here, the original sample I have is about 1GB in
size. (15 minutes)
How to reproduce:
{{{
ffmpeg -i "c:Doctor Who_BBCAHD_2014_08_23_16_58_00.wtv" -vcodec copy
-acodec copy test.ts
ffmpeg version N-62897-g0f9f24c Copyright (c) 2000-2014 the FFmpeg
developers
built on Aug 15 2014 11:44:27 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-hwaccels --enable-
dxva2 --enable-gpl --enable-libx264 --enable-avisy
nth --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib
--enable-librtmp --enable-libvorbis --enable-li
btheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-
libgsm --enable-libfreetype --enable-libopus --d
isable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-
aacenc --enable-bzlib --enable-libxavs --extra-c
flags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-
amrwb --enable-libvo-amrwbenc --enable-libschro
edinger --enable-libvpx --enable-libilbc
--prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32
--enable-static --disable-shared --enable-libsoxr --enable-fontconfig
--enable-libass --enable-libutvideo --enable-libb
luray --enable-iconv --enable-libtwolame --extra-
cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-l
ibmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab
--extra-cflags= --extra-cflags= --enable-nonfree
--enable-libfdk-aac --enable-libfaac --enable-runtime-cpudetect
libavutil 52. 80.100 / 52. 80.100
libavcodec 55. 60.103 / 55. 60.103
libavformat 55. 37.102 / 55. 37.102
libavdevice 55. 13.100 / 55. 13.100
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[mpeg2video @ 0262f360] Invalid frame dimensions 0x0.
Last message repeated 30 times
[wtv @ 0262d6c0] Stream #3: not enough frames to estimate rate; consider
increasing probesize
Input #0, wtv, from 'c:Doctor Who_BBCAHD_2014_08_23_16_58_00.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Doctor Who
WM/SubTitle : Preshow
genre : Drama;General;Series;Sci-Fi/Fantasy
WM/OriginalReleaseTime: 0
WM/MediaCredits : Peter Capaldi/Jenna-Louise Coleman/Samuel
Anderson;;;
service_provider: BBCAHD
service_name : BBC America HD
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 647
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2014-08-23T07:00:00Z
WM/MediaOriginalRunTime: 11974957600
WM/MediaIsStereo: false
WM/MediaIsRepeat: false
WM/MediaIsLive : true
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-PG
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2014-08-23 23:58:02
WM/WMRVSeriesUID: !MCSeries!48266208
WM/WMRVServiceID: !MCService!220772916
WM/WMRVProgramID: !MCProgram!301952550
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 300
WM/WMRVOriginalSoftPostPadding: 180
WM/WMRVHardPrePadding: 4294967116
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: true
WM/MediaThumbWidth: 352
WM/MediaThumbHeight: 198
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 9
WM/MediaThumbRatingLevel: 10
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 16
WM/MediaThumbAspectRatioY: 9
WM/MediaThumbTimeStamp: 4641633065376980942
Duration : 10179162251
WM/WMRVEndTime : 2014-08-24 00:15:00
WM/WMRVBitrate : 3.316121
WM/WMRVKeepUntil: 4294967295
WM/WMRVActualSoftPrePadding: 477
WM/WMRVActualSoftPostPadding: 0
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
Duration: 00:16:57.22, start: 1.654086, bitrate: 8617 kb/s
Stream #0:0[0x10](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384
kb/s
Stream #0:1[0x11]: Video: mpeg2video (Main), yuv420p(tv), 1920x1080
[SAR 1:1 DAR 16:9], max. 38810 kb/s, 29.97 fps,
29.97 tbr, 10000k tbn, 59.94 tbc
Stream #0:2[0x12]: Subtitle: eia_608
Stream #0:3[0xffffffff]: Video: mjpeg, yuvj420p(pc), 200x113 [SAR
96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
Metadata:
title : TV Thumbnail
File 'test.ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to 'test.ts':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Doctor Who
WM/SubTitle : Preshow
genre : Drama;General;Series;Sci-Fi/Fantasy
WM/OriginalReleaseTime: 0
WM/MediaCredits : Peter Capaldi/Jenna-Louise Coleman/Samuel
Anderson;;;
service_provider: BBCAHD
service_name : BBC America HD
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 647
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2014-08-23T07:00:00Z
WM/MediaOriginalRunTime: 11974957600
WM/MediaIsStereo: false
WM/MediaIsRepeat: false
WM/MediaIsLive : true
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-PG
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2014-08-23 23:58:02
WM/WMRVSeriesUID: !MCSeries!48266208
WM/WMRVServiceID: !MCService!220772916
WM/WMRVProgramID: !MCProgram!301952550
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 0
WM/WMRVOriginalSoftPrePadding: 300
WM/WMRVOriginalSoftPostPadding: 180
WM/WMRVHardPrePadding: 4294967116
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: true
WM/MediaThumbWidth: 352
WM/MediaThumbHeight: 198
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 9
WM/MediaThumbRatingLevel: 10
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 16
WM/MediaThumbAspectRatioY: 9
WM/MediaThumbTimeStamp: 4641633065376980942
Duration : 10179162251
WM/WMRVEndTime : 2014-08-24 00:15:00
WM/WMRVBitrate : 3.316121
WM/WMRVKeepUntil: 4294967295
WM/WMRVActualSoftPrePadding: 477
WM/WMRVActualSoftPostPadding: 0
WM/WMRVContentProtected: false
WM/WMRVContentProtectedPercent: 0
WM/WMRVExpirationSpan: 9223372036854775807
WM/WMRVInBandRatingSystem: 255
WM/WMRVInBandRatingLevel: 255
WM/WMRVInBandRatingAttributes: 0
WM/WMRVWatched : false
encoder : Lavf55.37.102
Stream #0:0: Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
q=2-31, max. 38810 kb/s, 29.97 fps, 90k tbn,
29.97 tbc
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=15726 fps=1473 q=-1.0 Lsize= 598845kB time=00:08:48.67
bitrate=9279.2kbits/s
video:527065kB audio:24742kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 8.524186%
}}}
The sample file is too large to upload but is available here:
[http://mcebuddy:mcebuddy@files.mcebuddy2x.com/UPLOAD/Item%202100%20converted%20videos%20not%20complete/Doctor%20Who_BBCAHD_2014_08_23_16_58_00.wtv]
Any idea why? The original file plays fine.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3898>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list