Posted By

iblis on 08/02/07


Tagged

video dump audio encoding


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

basicmagic


Dump audio and video streams


 / Published in: Bash
 

Raw commands

  1. # record audio stream
  2. #
  3. mplayer -cache 128 -vc dummy -vo null -ao pcm:file=raw.pcm "rtsp://realaudio.rferl.org/ch9/2007/04/19/20070419-013000-TA-program.rm?start=22:43&end=29:58"
  4. #
  5. # -vc dummy -vo null to ignore video
  6.  
  7. # encode to mp3
  8. #
  9. lame -b 32 -m m -f --tt "Micro 14/09/2007" raw.pcm ra20070419.mp3
  10. lame -h --tt "Micro 14/09/2007" raw.pcm ra20070419.mp3
  11. # tags are not utf-8 !
  12.  
  13. # record video stream
  14. #
  15. mplayer -dumpstream -dumpfile g20070427.wmv mms://vipmms.canalplus.fr/canalplus/guignols_070427_a.wmv
  16. #
  17. # transcode to mpeg4
  18. #
  19. mencoder g20070427.wmv -oac faac -ovc x264 -o g20070427.mp4

Report this snippet  

You need to login to post a comment.