-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Hi there
I'm trying to convert a 2 minute 30fps 4k h264 file to a 4k vp9 file using ffmpeg and I'm getting a segmentation fault around 42 seconds of video transcoded (3 minutes of processing time). The same video worked fine transcoding to 1440p video file.
ffmpeg command:
ffmpeg -i bbb-2m-4k-30fps.mp4 -y -f mp4 -s 3840x2160 -acodec aac -c:v libsvt_vp9 -movflags faststart -pix_fmt yuv420p -r 30 -g 30 -minrate 6000k -maxrate 17400k -b:v 12000k bbb-2m-svt-vp9-4k.mp4
I also tried running SvtVp9EncApp and I get the following error:
command:
sudo SvtVp9EncApp -w 3840 -h 2160 -i ~/vp/bbb-2m-4k-30fps.mp4 -fps 30 -n 100 -tune 0 -q 32 -b test.bin
error:
double free or corruption (out)
Aborted
The full dump:
-------------------------------------------
SVT [version] : SVT-VP9 Encoder Lib v0.3.0
SVT [build] : GCC 9.3.0 64 bit
LIB Build date: Oct 21 2021 15:46:52
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 37
-------------------------------------------
SVT [config]: Profile [0] Level (auto)
SVT [config]: EncoderMode / Tune : 9 / 0
SVT [config]: EncoderBitDepth : 8
SVT [config]: SourceWidth / SourceHeight : 3840 / 2160
SVT [config]: FrameRate / Gop Size : 30 / 33
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP : CQP / 32
-------------------------------------------
Encoding 100
SUMMARY --------------------------------- Channel 1 --------------------------------
Total Frames Frame Rate Byte Count Bitrate
100 30.00 fps 300000000 720000.00 kbps
Channel 1
Average Speed: 2.46 fps
Total Encoding Time: 40624 ms
Total Execution Time: 41152 ms
Average Latency: 19192 ms
Max Latency: 28294 ms
double free or corruption (out)
Aborted
I'm running this in an EC2 m6i.xlarge instance running Ubuntu
CPU: Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz
RAM: 16GB
The video file is a 2 minute clip of Big Buck Bunny, trimmed in Quicktime so it shouldn't be a strange format causing the issue.
Any help or direction in debugging this issue would be helpful.
Metadata
Metadata
Assignees
Labels
No labels