[FFmpeg-trac] #8626(avfilter:reopened): pp=linblenddeint failure

FFmpeg trac at avcodec.org
Sun Apr 26 12:22:51 EEST 2020


#8626: pp=linblenddeint failure
-------------------------------------+------------------------------------
             Reporter:  markfilipak  |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by markfilipak):

 IT'S THE SUBTITLES! The subtitle packets are screwing up 'interleave' (I
 think) -- look at the number of frames.

 Replicating the problem:

 Take the '00001.018.m2ts' that I uploaded (as parts) to
 ​https://streams.videolan.org/upload/ (ref: ticket 8626). Rename it
 'Patton_18m35s.m2ts'.

 Run:

 ffmpeg -report -ss 0:00 -analyzeduration 5000000000 -probesize 5000000000
 -i "Patton_18m35s.m2ts" -filter_complex
 "telecine=pattern=5,split=5[A][B][C][D][E],[A]select='eq(mod((n+1)\,5)\,1)'[F],[B]select='eq(mod((n+1)\,5)\,2)'[G],[C]select='eq(mod((n+1)\,5)\,3)'[H],[D]select='eq(mod((n+1)\,5)\,4)'[I],[E]select='eq(mod((n+1)\,5)\,0)'[J],[F][G][H][I][J]interleave=nb_inputs=5"
 -map 0 -codec:v libx264 -crf 50 -codec:a copy -codec:s copy -dn
 "Patton_18m35s.1.MKV"

  -- 58836 frames (58836 = 66851*0.8801065 ?)
  -- video freezes at 3:24, audio dies when seeking

 Sanity checks:

 ffmpeg -report -ss 0:00 -analyzeduration 5000000000 -probesize 5000000000
 -i "Patton_18m35s.m2ts" -filter_complex
 "telecine=pattern=5,split=5[A][B][C][D][E],[A]select='eq(mod((n+1)\,5)\,1)'[F],[B]select='eq(mod((n+1)\,5)\,2)'[G],[C]select='eq(mod((n+1)\,5)\,3)'[H],[D]select='eq(mod((n+1)\,5)\,4)'[I],[E]select='eq(mod((n+1)\,5)\,0)'[J],[F][G][H][I][J]interleave=nb_inputs=5"
 -map 0 -codec:v libx264 -crf 50 -codec:a copy -sn -dn
 "Patton_18m35s.1.MKV"

  -- 66851 frames (66851 = int(26741*2.5)-1)
  -- plays fine

 ffmpeg -report -ss 0:00 -analyzeduration 5000000000 -probesize 5000000000
 -i "Patton_18m35s.m2ts" -map 0 -codec:v libx264 -crf 50 -codec:a copy
 -codec:s copy -dn "Patton_18m35s.1.MKV"

  -- 26741 frames
  -- plays fine

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8626#comment:53>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list