Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg height not divisible by 2 for webm video conversion #716

Closed
FireMasterK opened this issue Sep 8, 2024 · 0 comments
Closed

ffmpeg height not divisible by 2 for webm video conversion #716

FireMasterK opened this issue Sep 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@FireMasterK
Copy link

Sep  8, 2024 16:47:48 WRN [libx264 @ 0xffffa88758b0] height not divisible by 2 (796x397) action="handle matrix event" command=ffmpeg event_id=$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI event_type=m.room.message [email protected]@s.whatsapp.net room_id=!H5pxjSrKY2Dxwfb8MN:kavin.rocks sender=@kavin:kavin.rocks
Sep  8, 2024 16:47:48 WRN [vost#0:0/libx264 @ 0xffffa8743530] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. action="handle matrix event" command=ffmpeg event_id=$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI event_type=m.room.message [email protected]@s.whatsapp.net room_id=!H5pxjSrKY2Dxwfb8MN:kavin.rocks sender=@kavin:kavin.rocks
Sep  8, 2024 16:47:48 WRN Error while filtering: Generic error in an external library action="handle matrix event" command=ffmpeg event_id=$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI event_type=m.room.message [email protected]@s.whatsapp.net room_id=!H5pxjSrKY2Dxwfb8MN:kavin.rocks sender=@kavin:kavin.rocks
Sep  8, 2024 16:47:48 WRN [out#0/mp4 @ 0xffffaa097eb0] Nothing was written into output file, because at least one of its streams received no packets. action="handle matrix event" command=ffmpeg event_id=$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI event_type=m.room.message [email protected]@s.whatsapp.net room_id=!H5pxjSrKY2Dxwfb8MN:kavin.rocks sender=@kavin:kavin.rocks
Sep  8, 2024 16:47:48 ERR Error converting Matrix event error="failed to convert media (video/webm to video/mp4): ffmpeg error: exit status 187" action="handle matrix event" event_id=$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI event_type=m.room.message [email protected]@s.whatsapp.net room_id=!H5pxjSrKY2Dxwfb8MN:kavin.rocks sender=@kavin:kavin.rocks
Sep  8, 2024 16:47:48 DBG Sent message checkpoint message_checkpoint={"event_id":"$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI","event_type":"m.room.message","info":"failed to convert media (video/webm to video/mp4): ffmpeg error: exit status 187","message_type":"m.video","reported_by":"BRIDGE","retry_num":0,"room_id":"!H5pxjSrKY2Dxwfb8MN:kavin.rocks","status":"PERM_FAILURE","step":"REMOTE","timestamp":1725814068066}
Sep  8, 2024 16:47:48 DBG Request completed action="handle matrix event" duration=50.221207 event_id=$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI event_type=m.room.message method=PUT [email protected]@s.whatsapp.net req_body={"typing":false} req_id=7 response_length=2 response_mime=application/json room_id=!H5pxjSrKY2Dxwfb8MN:kavin.rocks sender=@kavin:kavin.rocks status_code=200 url=https://redacted/_matrix/client/v3/rooms/%21H5pxjSrKY2Dxwfb8MN:kavin.rocks/typing/@whatsapp_redacted:kavin.rocks?user_id=%40whatsapp_redacted%3Akavin.rocks
Sep  8, 2024 16:47:48 DBG Request completed action="handle matrix event" duration=9.985993 event_id=$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI event_type=m.room.message method=PUT [email protected]@s.whatsapp.net req_body={"body":"> <@kavin:kavin.rocks> Screencast from 2024-09-08 21-00-45.webm\n\n⚠ Your message may not have been bridged: failed to convert media (video/webm to video/mp4): ffmpeg error: exit status 187","format":"org.matrix.custom.html","formatted_body":"<mx-reply><blockquote><a href=\"https://matrix.to/#/!H5pxjSrKY2Dxwfb8MN:kavin.rocks/$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI\">In reply to</a> <a href=\"https://matrix.to/#/@kavin:kavin.rocks\">@kavin:kavin.rocks</a><br>Screencast from 2024-09-08 21-00-45.webm</blockquote></mx-reply>⚠ Your message may not have been bridged: failed to convert media (video/webm to video/mp4): ffmpeg error: exit status 187","m.relates_to":{"m.in_reply_to":{"event_id":"$JVp3iv2C1fkKr3aiRTf9dSbrCslRJzsnG3cOIpfBORI"}},"msgtype":"m.notice"} req_id=8 response_length=59 response_mime=application/json room_id=!H5pxjSrKY2Dxwfb8MN:kavin.rocks sender=@kavin:kavin.rocks status_code=200 url=https://redacted/_matrix/client/v3/rooms/%21H5pxjSrKY2Dxwfb8MN:kavin.rocks/send/m.room.message/mautrix-go_1725814068120779128_1?user_id=%40whatsapp_redacted%3Akavin.rocks

This happens when sending a webm video with a resolution that isn't divisible by two.

@FireMasterK FireMasterK added the bug Something isn't working label Sep 8, 2024
@tulir tulir closed this as completed Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants