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

FFmpeg trac at avcodec.org
Wed Apr 22 09:28:53 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):

 I've tried several large M2TS files. These symptoms appear to be hard.

 Computer:
 Windows 10 1803.
 Physical memory: 32 GB.
 Disk: 1 TB, SS RAID-0, 562 GiB free.

 Key:
 [PE] is Windows Sysinternals, Process Explorer
 [MPV] is MPV player (Windows)

 ffmpeg -report -ss 0:00 -analyzeduration 5000000000 -probesize 5000000000
 -i "I:\BDMV\STREAM\00001.m2ts" -filter_complex
 "telecine=pattern=5,split[A][B],[A]select='not(eq(mod((n+1)\,5)\,3))'[C],[B]select='eq(mod((n+1)\,5)\,3)',pp=linblenddeint[D],[C][D]interleave"
 -map 0 -c:v libx264 -crf 20 -codec:a copy -codec:s copy
 "C:\AVOut\00001.3.MKV"

 Processing Events:
 [PE] Initial memory use is approx. 650 MiB.
 [PE] Memory usage climbs from there.
 - Private Bytes: Rises steadily to 124.1 GiB (Note 1).
 - Working Set: Stabilizes in 23 to 25 GiB range, up-down-up-down (Note 2).
 [PE] ffmpeg.exe runs 33 threads.
 [ffmpeg] Displays continuous series of "Starting new cluster due to
 timestamp" when [PE] memory usage reaches 8.8 GiB.
 [ffmpeg] Displays "Error while filtering: Cannot allocate memory" when
 [PE] Private Bytes reaches 124.1 GiB.

 (Note 1) Since these allocations exceed the amount of physical memory, and
 since I saw a process named "Memory Compression" open-close-open-close, I
 assume that Private Bytes means virtual memory.
 (Note 2) I assume Working Set is physical memory.

 Playback of 00001.3.MKV:
 [MPV] Total time starts at zero (instead of 2:51:57) and rises by about
 2x(Running time).
 [MPV] When Running time reaches about 3:30, video freezes while audio
 continues.
 [MPV] Total time stops rising when it reaches 8:24.
 [MPV] When Running time reaches 8:24, Total time begins rising again,
 keeping 1 second ahead of Running time.
 [MPV} Abruptly closes, but I didn't catch the Running time when it closed
 -- it was greater than 10:00.

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


More information about the FFmpeg-trac mailing list