[FFmpeg-trac] #3898(avformat:reopened): wtv demuxer returns EOF in the middle of the file (was: Remuxing WTV only remuxes about half the file)
FFmpeg
trac at avcodec.org
Wed Aug 27 16:18:46 CEST 2014
#3898: wtv demuxer returns EOF in the middle of the file
-------------------------------------+------------------------------------
Reporter: ramitbhalla | Owner:
Type: defect | Status: reopened
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: wtv | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Changes (by cehoyos):
* status: closed => reopened
* reproduced: 0 => 1
* component: undetermined => avformat
* version: unspecified => git-master
* keywords: => wtv
* resolution: invalid =>
Comment:
Seeking allows to play nearly 17 minutes, both {{{ffmpeg}}} and
{{{ffplay}}} stop after 8:48,
{{{
$ ffmpeg -i Doctor\ Who_BBCAHD_2014_08_23_16_58_00.wtv -map_metadata -1 -f
null -
ffmpeg version N-65922-g2082c00 Copyright (c) 2000-2014 the FFmpeg
developers
built on Aug 27 2014 15:39:49 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 0.101 / 56. 0.101
libavformat 56. 3.100 / 56. 3.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.103 / 5. 0.103
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mpeg2video @ 0x33c9d60] Invalid frame dimensions 0x0.
Last message repeated 30 times
[wtv @ 0x33c3c60] Stream #3: not enough frames to estimate rate; consider
increasing probesize
Input #0, wtv, from '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/WMRVExpirationDate: 9999-12-31 23:59:59
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, bt470bg), 200x113
[SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
Metadata:
title : TV Thumbnail
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf56.3.100
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
Metadata:
encoder : Lavc56.0.101 rawvideo
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 5.1(side), s16, 4608 kb/s
Metadata:
encoder : Lavc56.0.101 pcm_s16le
Stream mapping:
Stream #0:1 -> #0:0 (mpeg2video (native) -> rawvideo (native))
Stream #0:0 -> #0:1 (ac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[mpeg2video @ 0x33caac0] ac-tex damaged at 92 603.65 bitrate=N/A
[mpeg2video @ 0x33caac0] Warning MVs not available
[mpeg2video @ 0x33caac0] concealing 981 DC, 981 AC, 981 MV errors in P
frame
frame=15725 fps=1003 q=0.0 Lsize=N/A time=00:08:48.76 bitrate=N/A
video:1474kB audio:296910kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
}}}
{{{
$ time ffplay -autoexit Doctor\ Who_BBCAHD_2014_08_23_16_58_00.wtv
ffplay version N-65922-g2082c00 Copyright (c) 2003-2014 the FFmpeg
developers
built on Aug 27 2014 15:39:49 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 0.101 / 56. 0.101
libavformat 56. 3.100 / 56. 3.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.103 / 5. 0.103
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mpeg2video @ 0x7f45c0007000] Invalid frame dimensions 0x0. f=0/0
Last message repeated 30 times
[wtv @ 0x7f45c0000920] Stream #3: not enough frames to estimate rate;
consider increasing probesize
Input #0, wtv, from '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/WMRVExpirationDate: 9999-12-31 23:59:59
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, bt470bg), 200x113
[SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
Metadata:
title : TV Thumbnail
No codec could be found with id 1664495672
[mpeg2video @ 0x7f45c0007000] ac-tex damaged at 92 60 0B f=0/0
[mpeg2video @ 0x7f45c0007000] Warning MVs not available
[mpeg2video @ 0x7f45c0007000] concealing 981 DC, 981 AC, 981 MV errors in
P frame
530.35 A-V: -0.014 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
real 8m48.768s
user 2m37.037s
sys 0m6.833s
}}}
But with a ten second seek at ~528 it works fine:
{{{
$ ffplay -autoexit Doctor\ Who_BBCAHD_2014_08_23_16_58_00.wtv
ffplay version N-65922-g2082c00 Copyright (c) 2003-2014 the FFmpeg
developers
built on Aug 27 2014 15:39:49 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 0.101 / 56. 0.101
libavformat 56. 3.100 / 56. 3.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.103 / 5. 0.103
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mpeg2video @ 0x7fdbc8007000] Invalid frame dimensions 0x0. f=0/0
Last message repeated 30 times
[wtv @ 0x7fdbc8000920] Stream #3: not enough frames to estimate rate;
consider increasing probesize
Input #0, wtv, from '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/WMRVExpirationDate: 9999-12-31 23:59:59
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, bt470bg), 200x113
[SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
Metadata:
title : TV Thumbnail
No codec could be found with id 1664495672
1019.69 A-V: -0.031 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3898#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list