[FFmpeg-trac] #8899(undetermined:new): `Incomplete CU-tree stats file` crash on 2-pass x265 encode
FFmpeg
trac at avcodec.org
Thu Sep 17 12:13:13 EEST 2020
#8899: `Incomplete CU-tree stats file` crash on 2-pass x265 encode
-------------------------------------+-------------------------------------
Reporter: aeris | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by aeris):
Test files to heavy to be enclosed to the ticket, so
Input file: https://s3.eu-central-1.wasabisys.com/aeris-assets/ffmpeg-
bug/2020-08-27.mp4
Output files:
https://s3.eu-central-1.wasabisys.com/aeris-assets/ffmpeg-
bug/2020-08-27-0.log
https://s3.eu-central-1.wasabisys.com/aeris-assets/ffmpeg-
bug/2020-08-27.cutree
https://s3.eu-central-1.wasabisys.com/aeris-assets/ffmpeg-
bug/2020-08-27.mp4
Encoding script:
```
#!/usr/bin/env bash
INPUT="$1"
OUTPUT="${INPUT%.*}.mp4"
LOG="${OUTPUT%.*}"
VIDEO_PARAMETERS=(-c:v libx265 -b:v 2600k)
AUDIO_PARAMETERS=(-c:a aac -b:a 128k)
CMD=(ffmpeg -y -i "$INPUT" -threads 0 -passlogfile "$LOG" -movflags
faststart)
"${CMD[@]}" -pass 1 -x265-params "pass=1:stats=$LOG"
"${VIDEO_PARAMETERS[@]}" -an -f mp4 /dev/null
"${CMD[@]}" -pass 2 -x265-params "pass=2:stats=$LOG"
"${VIDEO_PARAMETERS[@]}" "${AUDIO_PARAMETERS[@]}" "$OUTPUT"
```
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8899#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list