Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1302 closed defect (fixed)

FFMPEG build N-40517-ga548671 fails to convert DVR-MS, old build N-40020-g9849515 succeeds

Reported by: ramitb Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: mpeg2video regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

This is a ticket in response to another ticket when you asked me why I don't upgrade to the latest version.
Also I've marked this important because this is a regression bug.

Any build after N-40020-g9849515 is failing to create MPEG2 TS files in some cases.

N-40020-g9849515 is able to convert it perfectly withouy any issues however N-40517-ga548671 fails to convert.

COMMAND:

ffmpeg -async 1 -i "LastManStanding.dvr-ms" -vcodec mpeg2video -sameq -acodec ac3 -ab 256k -copyts -copytb -1 -f mpegts test.ts

It keep repeating this until it eventually fails.

[mpeg2video @ 0309ba40] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 0309ba40] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 0309ba40] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 0309ba40] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 0309ba40] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 0309ba40] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 0309ba40] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 0309ba40] slice below image (30 >= 30)
Error while decoding stream #0:2

HOWEVER with build N-40020-g9849515 I don't get this message and the conversion suceeds.

I've cut the file using a binary cutter down from the original of 3.3GB to about the first 20MB.
The file will show you the error, however this 20MB piece will succeed while the original 3.3GB file will fail somewhere in between after throwing this error for about 15-20 minutes.

http://www.mediafire.com/?otfl87rgwr38br2

Change History (6)

comment:1 by Carl Eugen Hoyos, 13 years ago

Please always provide complete, uncut console output.

Is -acodec ac3 needed to reproduce the problem or is it also reproducible with -an?
Are -copyts -copytb -1 needed to reproduce the problem?
(-f mpegts looks unneeded.)

comment:2 by ramitb, 13 years ago

  1. The problem can be reproduced with -an also
  2. Yes -copyts and -copytb -1 is required, without these 2 paramters even the older version fails.

i'm attaching the console output (this goes on forever so i've truncated the end)

ffmpeg version N-40517-ga548671 Copyright (c) 2000-2012 the FFmpeg developers
  built on May  9 2012 13:00:06 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab
le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschro
edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 50.100 / 51. 50.100
  libavcodec     54. 21.100 / 54. 21.100
  libavformat    54.  4.100 / 54.  4.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.105 /  2. 72.105
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg2video @ 02c379e0] mpeg_decode_postinit() failure
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
[asf @ 0038c080] Could not find codec parameters (Unknown: none)
Input #0, asf, from 'LastManStanding.dvr-ms':
  Metadata:
    DVR Index Granularity: 500
    WM/SubTitle     : Ding Dong Ditch
    WM/SubTitleDescription: When a teen hurts himself on the Baxters' property while pulling a prank, Mike is asked to p
ay the doctor bill; Kristin goes back to school.
    genre           : Comedy,Series
    WM/MediaCredits : Tim Allen/Nancy Travis/Kaitlyn Dever/Molly Ephraim/Alexandra Krosney/Christoph Sanders/Hector Eliz
ondo;John Pasquin;;Luke Kruntchev/Evan Kruntchev/Uriah Shelton/Don Lake
    WM/ParentalRating: TV-PG
    WM/OriginalReleaseTime: 0001-01-01T00:00:00Z
    service_provider: WATEDT
    service_name    : WATEDT (WATE-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 1061
    WM/MediaOriginalBroadcastDateTime: 2012-02-28T00:00:00Z
    WM/WMRVServiceID: ATSC-WATEDT-6-1
    WM/WMRVProgramID: !222E0832E5D238B40B848510314763BF!
    WM/MediaOriginalRunTime: 8201308
    WM/WMRVEncodeTime: 1392677
    WM/MediaIsStereo: 1
    WM/VideoClosedCaptioning: 1
    WM/MediaIsRepeat: 0
    WM/MediaIsLive  : 0
    WM/MediaIsTape  : 0
    WM/MediaIsDelay : 0
    WM/MediaIsSubtitled: 0
    WM/MediaIsMovie : 0
    WM/MediaIsPremiere: 0
    WM/MediaIsFinale: 0
    WM/MediaIsSAP   : 0
    WM/WMRVRequestID: 467
    WM/WMRVScheduleItemID: 452
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 184
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVActualSoftPrePadding: 184
    WM/WMRVHardPrePadding: 0
    WM/Provider     : Zap2it
    WM/ProviderCopyright: © 2012 Microsoft Corporation. All Rights Reserved. Terms of Service: http://go.microsoft.com/
fwlink/?LinkId=8430
                    :
    WM/WMRVEndTime  : 8800609
    WM/WMRVExpirationDate: 1844674
    WM/WMRVBitrate  : 0
    WM/WMRVKeepUntil: 184
    WM/WMRVHardPostPadding: 0
    WM/WMRVActualSoftPostPadding: 180
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : 0
    WM/WMRVATSCContent: 1
    WM/WMRVDTVContent: 1
    WM/WMRVHDContent: 1
    WM/WMRVContentProtected: 0
    WM/MediaThumbTimeStamp: 9196865
    WM/MediaThumbWidth: 128
    WM/MediaThumbHeight: 720
    WM/MediaThumbStride: 384
    WM/MediaThumbRet: 0
    WM/MediaThumbType: 3
    WM/MediaThumbRatingSystem: 1
    WM/MediaThumbRatingLevel: 4
    WM/MediaThumbRatingAttributes: 8
    WM/MediaThumbAspectRatioX: 16
    WM/MediaThumbAspectRatioY: 9
    WMFSDKVersion   : 11.0.6002.18049
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 159
    IsVBR           : 1
    title           : Last Man Standing
  Duration: 00:34:56.66, start: 1.176000, bitrate: 80 kb/s
    Stream #0:0: Unknown: none
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
    Stream #0:2: Video: mpeg2video (DVR  / 0x20525644), yuv420p, 704x480 [SAR 64:45 DAR 1408:675], 11950 kb/s, 61.48 fps
, 59.94 tbr, 1k tbn, 119.88 tbc
[buffer @ 0372d1e0] w:704 h:480 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param:flags=2
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[mpegts @ 03a12b20] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'test.ts':
  Metadata:
    DVR Index Granularity: 500
    WM/SubTitle     : Ding Dong Ditch
    WM/SubTitleDescription: When a teen hurts himself on the Baxters' property while pulling a prank, Mike is asked to p
ay the doctor bill; Kristin goes back to school.
    genre           : Comedy,Series
    WM/MediaCredits : Tim Allen/Nancy Travis/Kaitlyn Dever/Molly Ephraim/Alexandra Krosney/Christoph Sanders/Hector Eliz
ondo;John Pasquin;;Luke Kruntchev/Evan Kruntchev/Uriah Shelton/Don Lake
    WM/ParentalRating: TV-PG
    WM/OriginalReleaseTime: 0001-01-01T00:00:00Z
    service_provider: WATEDT
    service_name    : WATEDT (WATE-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 1061
    WM/MediaOriginalBroadcastDateTime: 2012-02-28T00:00:00Z
    WM/WMRVServiceID: ATSC-WATEDT-6-1
    WM/WMRVProgramID: !222E0832E5D238B40B848510314763BF!
    WM/MediaOriginalRunTime: 8201308
    WM/WMRVEncodeTime: 1392677
    WM/MediaIsStereo: 1
    WM/VideoClosedCaptioning: 1
    WM/MediaIsRepeat: 0
    WM/MediaIsLive  : 0
    WM/MediaIsTape  : 0
    WM/MediaIsDelay : 0
    WM/MediaIsSubtitled: 0
    WM/MediaIsMovie : 0
    WM/MediaIsPremiere: 0
    WM/MediaIsFinale: 0
    WM/MediaIsSAP   : 0
    WM/WMRVRequestID: 467
    WM/WMRVScheduleItemID: 452
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 184
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVActualSoftPrePadding: 184
    WM/WMRVHardPrePadding: 0
    WM/Provider     : Zap2it
    WM/ProviderCopyright: © 2012 Microsoft Corporation. All Rights Reserved. Terms of Service: http://go.microsoft.com/
fwlink/?LinkId=8430
                    :
    WM/WMRVEndTime  : 8800609
    WM/WMRVExpirationDate: 1844674
    WM/WMRVBitrate  : 0
    WM/WMRVKeepUntil: 184
    WM/WMRVHardPostPadding: 0
    WM/WMRVActualSoftPostPadding: 180
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : 0
    WM/WMRVATSCContent: 1
    WM/WMRVDTVContent: 1
    WM/WMRVHDContent: 1
    WM/WMRVContentProtected: 0
    WM/MediaThumbTimeStamp: 9196865
    WM/MediaThumbWidth: 128
    WM/MediaThumbHeight: 720
    WM/MediaThumbStride: 384
    WM/MediaThumbRet: 0
    WM/MediaThumbType: 3
    WM/MediaThumbRatingSystem: 1
    WM/MediaThumbRatingLevel: 4
    WM/MediaThumbRatingAttributes: 8
    WM/MediaThumbAspectRatioX: 16
    WM/MediaThumbAspectRatioY: 9
    WMFSDKVersion   : 11.0.6002.18049
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 159
    IsVBR           : 1
    title           : Last Man Standing
    encoder         : Lavf54.4.100
    Stream #0:0: Video: mpeg2video, yuv420p, 704x480 [SAR 64:45 DAR 1408:675], q=2-31, 200 kb/s, 90k tbn, 59.94 tbc
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), flt, 256 kb/s
Stream mapping:
  Stream #0:2 -> #0:0 (mpeg2video -> mpeg2video)
  Stream #0:1 -> #0:1 (ac3 -> ac3)
Press [q] to stop, [?] for help
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[ac3 @ 02c31940] frame sync error
Error while decoding stream #0:1
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] warning: first frame is no keyframe
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] Warning MVs not available
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] Warning MVs not available
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] warning: first frame is no keyframe
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] Warning MVs not available
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] Warning MVs not available
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] Warning MVs not available
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] warning: first frame is no keyframe
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] Warning MVs not available
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] Warning MVs not available
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] Warning MVs not available
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
[mpeg2video @ 02c379e0] slice below image (30 >= 30)
Error while decoding stream #0:2
[mpeg2video @ 02c379e0] concealing 1320 DC, 1320 AC, 1320 MV errors
slice below image (30 >= 30)
Error while decoding stream #0:2

comment:3 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavcodec
Keywords: mpeg2video regression added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Regression since 951cbea.

comment:4 by Michael Niedermayer, 13 years ago

Resolution: fixed
Status: openclosed

comment:5 by Stefan Neufeind, 13 years ago

It looks like I've been experiencing a similar problem using dvbcut which under the hood uses ffmpeg-library. ffmpeg installed was 0.8.11 from Fedora 16-repos.
Could you maybe point out what changeset this here was about and if it was pulled for the 0.8-series was well maybe?

comment:6 by Carl Eugen Hoyos, 13 years ago

This problem was not reproducible with 0.8.

If you can reproduce your problem with FFmpeg, please open a new ticket including your ffmpeg command line together with complete, uncut console output and provide the sample.

Note: See TracTickets for help on using tickets.