[Ffmpeg-devel] how to use xvid& amr together?

LAKSHMI RAJAGOPAL lakshmirgopal
Fri Mar 17 06:59:54 CET 2006


Hi all..
 
 I am new to ffmpeg.. can anyone tell me how to encode video using xvid & audio using amr_nb codecs on the fly..
 
 I tried the same using mpeg4 & g726.. its working fine.. But when i give xvid, the encoding is not working at all, but doesnt show any error. If i try to play it using ffplay, it says "cannot open codec. this is what i tried
 
 ffmpeg -vd /dev/video0 -s 352*288 -b 400000 -sameq -vcodec xvid -pass 1 -passlogfile logxvid -ad /dev/dsp -ar 8000 -ac 1 -ab 32 -acodec g726 -f mp4 -y test.mp4
 
 Similarly, when i give amr_nb instead of g726, its giving the error 
 [mp4 @ 0x830f9c0]Warning, using MS style audio codec tag, the file may be unplayable!
 
 whats the significance of audio & video tags?? 
 
 thanks,
 lakshmi
 
 
		
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 



More information about the ffmpeg-devel mailing list