Menu

#9 NTSC: generate_preview error "height not divisible by 4 (720x486)"

1.0
closed
Peter B.
2025-01-15
2024-11-21
Peter B.
No

The command used to generate the preview copy:

/usr/local/bin/ffmpeg-stable -probesize 50M -analyzeduration 50M -i /opt/dva-profession/workflow/final/v-29161/hires/v-29161.mkv -map 0 -map_metadata 0 -pix_fmt yuv420p -c:v libx264 -preset fast -crf 20 -flags +ildct -x264-params keyint=15 -c:a aac -b:a 256k -ar 48000 -ac 2 "/opt/dva-profession/workflow/05-generate_preview/in_progress/v-29161/lowres/v-29161_k01.mp4"

The error message:

[libx264 @ 0x6d2cc40] height not divisible by 4 (720x486)
[vost#0:0/libx264 @ 0x6d2c740] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
Error while filtering: Generic error in an external library
[out#0/mp4 @ 0x6d15080] Nothing was written into output file, because at least one of its streams received no packets.

To be continued...

Discussion

  • Peter B.

    Peter B. - 2025-01-07

    Fixed in revision #534.

    There's now a new option "FILTERS_CROP[]" in config.inc.php which allows to set crop-conditions in "generate_preview" based on source resolution.

     
  • Peter B.

    Peter B. - 2025-01-15
    • labels: --> h264, x264, crop
    • status: open --> closed
    • assigned_to: Peter B.
     

Log in to post a comment.

MongoDB Logo MongoDB