Opened 12 years ago
Last modified 11 years ago
#2398 open defect
Bad timestamps when remuxing h264 wtv to ts
Reported by: | Harry Tipper | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | wtv h264 dts |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce:
ffmpeg -i input.wtv -vcodec copy -acodec copy -map 0:a -map 0:v -f mpegts output.ts Command line : See attached log. Too large to paste.
Attachments (1)
Change History (15)
by , 12 years ago
Attachment: | skippingoutputsample.log added |
---|
comment:2 by , 12 years ago
Ticket #2398.wtv failed to upload to server, for some reason after a while my connection disconnects from the ftp.
The new file will be here: http://www.4shared.com/folder/fx0nRHmq/mediastuff.html once complete.
comment:3 by , 12 years ago
It is completely unacceptable to upload a sample to a site that requires login.
follow-up: 5 comment:4 by , 12 years ago
It is completely unacceptable to upload a sample to a site that requires login.
Sorry I didn't realise it needed a login!
I tried:
Your ftp server (connection broke)
Mediafire (200mb limit)
Datafilehost (100mb limit)
Any suggestions where I can upload it? If you sign up for free on 4shared you can download it, would save me a lot of time. Otherwise Ill upload elsewhere.
comment:5 by , 12 years ago
Replying to dodgexander:
I tried:
Your ftp server (connection broke)
While this will not help you I'd still like to add that last month a 11G sample was uploaded (successfully) to our ftp server.
comment:6 by , 12 years ago
While this will not help you I'd still like to add that last month a 11G sample was uploaded (successfully) to our ftp server.
I expect it was, but perhaps not from a rural adsl 1 connection with the reliability of *.
I can try again I guess.
comment:7 by , 12 years ago
Ticket 2398.wtv is available on the ftp server.
Please don't get mixed up with the file: Ticket #2398.wtv which is a failed upload.
comment:8 by , 12 years ago
Keywords: | wtv h264 dts added |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Summary: | Copy Encoder Produces Broken Output → Bad timestamps for h264 wtv |
Version: | unspecified → git-master |
Sample uploaded to http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket2398/
The input sample plays fine with WMP, if video gets remuxed with FFmpeg, the resulting file plays with visible stutter in WMP, this (probably) corresponds to the "invalid pts, clipping" messages. Reproducible both with and without audio.
$ ffmpeg -ss 5:00 -i Ticket\ 2398.wtv -vcodec copy -an -t 5 -map_metadata -1 out.ts ffmpeg version N-51295-gea4c99d Copyright (c) 2000-2013 the FFmpeg developers built on Mar 25 2013 23:17:19 with gcc 4.7 (SUSE Linux) configuration: --enable-gpl --disable-indev=jack libavutil 52. 22.101 / 52. 22.101 libavcodec 55. 1.100 / 55. 1.100 libavformat 55. 0.100 / 55. 0.100 libavdevice 55. 0.100 / 55. 0.100 libavfilter 3. 48.102 / 3. 48.102 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100 [wtv @ 0x2b8cf40] reported file length (0x90ca4974) exceeds number of available sectors (0x40000000) [wtv @ 0x2b8cf40] truncated file Last message repeated 1 times [h264 @ 0x2b8f560] non-existing SPS 0 referenced in buffering period [h264 @ 0x2b8f560] non-existing PPS referenced [h264 @ 0x2b8f560] non-existing SPS 0 referenced in buffering period [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] no frame! [...] [h264 @ 0x2b8f560] non-existing SPS 0 referenced in buffering period [h264 @ 0x2b8f560] non-existing PPS referenced [h264 @ 0x2b8f560] non-existing SPS 0 referenced in buffering period [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] non-existing PPS 0 referenced [h264 @ 0x2b8f560] decode_slice_header error [h264 @ 0x2b8f560] no frame! [h264 @ 0x2b8f560] mmco: unref short failure Last message repeated 2 times Input #0, wtv, from 'Ticket 2398.wtv': Metadata: WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74 WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000 Title : The Football League Show WM/SubTitleDescription: Manish Bhasin presents the best of the action from the Football League. With the Championship taking a break, Leagues One and Two take centre stage. The focus is on the race for promotion to the Championship as Sheffield United meet Brentford at Bramall L genre : Sports;Football WM/OriginalReleaseTime: 0 WM/MediaCredits : ;;Manish Bhasin; service_provider: BBC One HD service_name : BBC One HD WM/MediaOriginalChannel: 101 WM/MediaOriginalChannelSubNumber: 0 WM/MediaOriginalBroadcastDateTime: 2013-03-23T00:00:00Z WM/MediaOriginalRunTime: 23959271785 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 : true WM/Provider : MediaCenterDefault WM/VideoClosedCaptioning: false WM/WMRVEncodeTime: 2013-03-23 23:58:04 WM/WMRVSeriesUID: !GenericSeries!The Football League Show WM/WMRVServiceID: !MCService!759242 WM/WMRVProgramID: !MCProgram!50424839 WM/WMRVRequestID: 0 WM/WMRVScheduleItemID: 0 WM/WMRVQuality : 0 WM/WMRVOriginalSoftPrePadding: 420 WM/WMRVOriginalSoftPostPadding: 180 WM/WMRVHardPrePadding: -300 WM/WMRVHardPostPadding: 0 WM/WMRVATSCContent: false WM/WMRVDTVContent: true WM/WMRVHDContent: false Duration : 23971198007 WM/WMRVEndTime : 2013-03-24 00:38:01 WM/WMRVBitrate : 8.109982 WM/WMRVKeepUntil: -1 WM/WMRVActualSoftPrePadding: 415 WM/WMRVActualSoftPostPadding: 181 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:14:59.49, start: 2.048551, bitrate: 2797 kb/s Stream #0:0[0x21](eng): Subtitle: dvb_subtitle Stream #0:1[0x22](eng): Audio: aac_latm ([2][22][0][0] / 0x1602), 48000 Hz, stereo, fltp (hearing impaired) Stream #0:2[0x23](eng): Audio: aac_latm ([2][22][0][0] / 0x1602), 48000 Hz, 5.1, fltp Stream #0:3[0x24]: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 10000k tbn, 50 tbc Output #0, mpegts, to 'out.ts': Metadata: encoder : Lavf55.0.100 Stream #0:0: Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc Stream mapping: Stream #0:3 -> #0:0 (copy) Press [q] to stop, [?] for help [mpegts @ 0x2baf7e0] st:0 PTS: 85907 DTS: 85907 < 93108 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 87707 DTS: 87707 < 93109 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 82307 DTS: 82307 < 93110 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 84107 DTS: 84107 < 93111 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 89507 DTS: 89507 < 93112 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 91307 DTS: 91307 < 93113 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 96707 DTS: 96707 < 100308 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 98507 DTS: 98507 < 100309 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 197507 DTS: 197507 < 204708 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 199307 DTS: 199307 < 204709 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 193907 DTS: 193907 < 204710 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 195707 DTS: 195707 < 204711 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 201107 DTS: 201107 < 204712 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 202907 DTS: 202907 < 204713 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 208307 DTS: 208307 < 211908 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 210107 DTS: 210107 < 211909 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 226307 DTS: 226307 < 233508 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 228107 DTS: 228107 < 233509 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 222707 DTS: 222707 < 233510 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 224507 DTS: 224507 < 233511 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 229907 DTS: 229907 < 233512 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 231707 DTS: 231707 < 233513 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 237107 DTS: 237107 < 240708 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 238907 DTS: 238907 < 240709 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 255107 DTS: 255107 < 262308 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 256907 DTS: 256907 < 262309 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 251507 DTS: 251507 < 262310 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 253307 DTS: 253307 < 262311 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 258707 DTS: 258707 < 262312 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 260507 DTS: 260507 < 262313 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 265907 DTS: 265907 < 269508 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 267707 DTS: 267707 < 269509 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 283907 DTS: 283907 < 291108 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 285707 DTS: 285707 < 291109 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 280307 DTS: 280307 < 291110 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 282107 DTS: 282107 < 291111 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 287507 DTS: 287507 < 291112 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 289307 DTS: 289307 < 291113 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 305507 DTS: 305507 < 309108 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 307307 DTS: 307307 < 309109 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 319907 DTS: 319907 < 323508 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 321707 DTS: 321707 < 323509 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 334307 DTS: 334307 < 337908 invalid, clipping [mpegts @ 0x2baf7e0] st:0 PTS: 336107 DTS: 336107 < 337909 invalid, clipping frame= 215 fps=0.0 q=-1.0 Lsize= 7968kB time=00:00:05.03 bitrate=12964.6kbits/s video:7377kB audio:0kB subtitle:0 global headers:0kB muxing overhead 8.005957%
comment:10 by , 12 years ago
Summary: | Bad timestamps for h264 wtv → Bad timestamps when remuxing h264 wtv to ts |
---|
comment:11 by , 12 years ago
Remuxing the video to mov and avi produces identical (or at least very similar) problems on playback with vanilla WMP.
comment:12 by , 12 years ago
Also reproducible when remuxing to asf:
$ ffmpeg -i Ticket\ 2398.wtv -vcodec copy -ac 2 out.asf
I am uploading to the server now:
Ticket #2398.wtv (sample to repeat problem)
Ticket #2398.txt (req text file related to this case)
Ticket #2398.log (same log file as attached)
FYI after conversion, you will need to seek to around 4m:40s for the skipping to become apparent.
I have tested this on 3 different media players.
SMPlayer (windows mplayer) (Seems to work ok)
MPC-HC with internal or lav filters (broken)
VLC (Broken).
So something in the output files specifications seem to break it from being played.