Hacker News new | past | comments | ask | show | jobs | submit login

Interesting! At work I hacked together a video writer that compiles still frames to a movie using OpenCV. But it is slow --ungodly slow. I'll have to check out ffmpeg!



Try this:

    ffmpeg -i frame%04d.png -vcodec mjpeg -sameq test.avi


If I wanted to strip the audio into a big wav or mp3 file, how would that be done?


Something like this probably works:

    ffmpeg -i myvideo.mkv -vn -acodec ogg myvid_sans_video.ogg


Or even just

    ffmpeg -i myvideo.mkv myaudio.mp3




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: