C4illin / ConvertX

💾 Self-hosted online file converter. Supports 1000+ formats
GNU Affero General Public License v3.0
551 stars 13 forks source link

Failing to convert video files to MPEG #92

Closed paintballkev812 closed 3 weeks ago

paintballkev812 commented 3 months ago

Attempted to use this tool to convert mp4 to mpeg (and mpeg2video) formats. It appears there is an issue when trying to convert to mpeg based formats. I also attempted to convert an mpeg to mpeg2video format with the same results. The log shows Failed to convert ./data/uploads/1/6/1.mp4 from mp4 to mjpeg using ffmpeg. error: Error: Command failed: ffmpeg -i "./data/uploads/1/6/1.mp4" "./data/output/1/6/1.mjpeg"

I was able to convert a mpeg to mp4 format successfully, so it seems the issue is converting to mpeg.

Running the main branch, pulled today.

C4illin commented 3 months ago

Choose .mpg if you want mpeg. Will look more into mjpeg seems like it need a container

C4illin commented 3 months ago

Should probably clean up among the ffmpeg formats and make sure all work