> ffmpeg -i filename.mp3 c:a libopus newfilename.ogg Seems fine to me, you might want to add some encoding options and obviously wrap it in a shell exec function or backticks(?) to do it in PHP. Sorry I’m not up to speed on PHP, but that notwithstanding you didn’t even mention which version of PHP you were using.
By the way, did you try this first and have problems? Trial and error is sometimes a good strategy. _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
