Appreciate any help here, as I'm pulling my hair out. I'm on a Win32 box, using VLC to transcode a dshow:// input for (Apple's Media Stream Segmenter and then upload to a web server and then) HTTP streaming to an iPhone. I've got everything working perfectly, except the audio is choppy -- it cuts out every tenth of a second or so. The video piece is just fine. (If I output the transcode to an .mp4 file instead, and play it in VLC or WMP, it sounds great.)
I've struggled with all the reading I've done about ffmpeg and its encoding of AAC-LC, and I've uninstalled and reinstalled several versions, to no avail (from 0.8.6i to 0.9.9 to 1.0.1). Actually, if I really do have the latest version of ffmpeg, AAC encoding shouldn't work at all, right? So I'd love some pointers in the right direction, (especially around what version of VLC and of ffmpeg would work for this task), whether it's from looking at the command line or (if anyone reading this has an iPhone) by pointing your iPhone browser to http://jumbocast.net/iPhoneBadAudio/prog_index.m3u8 and listening. Thanks so much.
-steve
Here's the command line. I've set all the x264 options in the GUI, and as I say, the video looks great, so I've left them out of the command line.
Code: Select all
vlc.exe -vvv -I rc --ttl 12 dshow:// vdev="Osprey-100 Video Device 1" adev="Realtek HD Audio Input" --sout=#transcode{vcodec=h264,vb=600,scale=1,aenc=ffmpeg{aac-profile="low"},acodec=mp4a,ab=64,channels=2,samplerate=48000}:std{access=udp,mux=ts,dst=192.168.1.110:1234}