2013年2月17日 星期日
vic stream 和 transcode 的一些命令
vlc -I dummy ~/音樂/audio_clips/MayDayDNA.mp4
--sout '#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ogg,dst=172.20.10.5:9999}'
用着個mux的話,只有聲音輸出
vlc -I dummy ~/音樂/audio_clips/MayDayDNA.mp4
--sout '#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=172.20.10.5:9999}'
用着個mux的話,會用 mpeg2 ts 的方式輸出影像和聲音
vlc -I dummy ~/音樂/audio_clips/MayDayDNA.mp4
--sout '#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=http,mux=asf,dst=172.20.10.5:9999}'
用着個mux的話,會用 asf 的方式輸出影像和聲音
vlc -I dummy ~/音樂/audio_clips/MayDayDNA.mp4
--sout '#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=mmsh,mux=ts,ttl=128,dst=172.20.10.5:9999}'
用着個mux的話,會用 mms 的方式輸出影像和聲音
RTSP H264 over RTP setting
vlc -I dummy ~/音樂/audio_clips/MayDayDNA.mp4 --sout '#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://172.20.10.5:9999/mysdp,name="test",ttl=127}'
Transcode to file
vlc -I dummy ./tender_Mayday.aac ":sout=#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=raw,dst=./song.mp3}}"
這個命令如果是作 aac -> mp3 ,用起來 ok,可是做 mp4/flv 轉 mp3 的話, 就有問題了
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言