Log in

View Full Version : How to get audio from quicktime with cli tool?


junglemike
6th September 2009, 07:06
Hello fellas.

Here's my dilemma.
My old camera used to produce video files with mjpeg video and pcm audio in .avi wrapper. I used simple avs script to apply some light filtering , and than compress video in x264 and audio in ogg or mp4, and mux together into matroska.
I must say that I don't like bloated gui software, so I try to do everything in command line, when possible.

Unfortunately this camera passed away, and my new camera produces mpeg-4 video with pcm audio (44khz) inside .mov wrapper.
Now I can load the video with DirectShowSource(), and continue as always, but I can't find a way to get the audio .
Can you help me?

Snowknight26
6th September 2009, 07:18
ffmpeg should be able to handle that.

Skelsgard
7th September 2009, 00:22
Instead of DirectShow() you can load the .mov with QTSource()
But that requires the QuickTime Player installed in your system.