I'm using:
Code: Select all
rtsp://blah/blah/foobarH264500.sdp :sout=#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2,audio-sync}
:duplicate{dst=std{access=file,mux=ps,dst="C:\blah\foobar.mpg"}}
Here's the pertinant section of the output from VLC:
Code: Select all
main debug: creating demux: access='rtsp' demux='' path='blah/blah/foobarH264500.sdp'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/H264'
live555 debug: RTP subsession 'audio/MPEG4-GENERIC'
main debug: selecting program id=0
main debug: using access_demux module "live555"
main debug: looking for a subtitle file in C:\blah\
main debug: looking for packetizer module: 17 candidates
packetizer_h264 debug: found NAL_SPS
main debug: using packetizer module "packetizer_h264"
main debug: stream out mode -> no decoder thread
main debug: looking for packetizer module: 17 candidates
packetizer_mpeg4audio debug: running MPEG4 audio packetizer
packetizer_mpeg4audio debug: AAC 44100Hz 1024 samples/frame
main debug: using packetizer module "packetizer_mpeg4audio"
main debug: stream out mode -> no decoder thread
main debug: starting in async mode
main debug: `rtsp://blah/blah/foobarH264500.sdp' successfully opened
main debug: adding a new input
stream_out_transcode debug: creating audio transcoding from fcc=`mp4a' to fcc=`mpga'
main debug: looking for decoder module: 27 candidates
main debug: using decoder module "faad"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec initialized (interface 3348736 )
ffmpeg debug: found encoder MPEG Audio layer 1/2
main debug: using encoder module "ffmpeg"
main debug: looking for audio filter2 module: 5 candidates
audio_format debug: fl32->s16l, bits per sample: 32
main debug: using audio filter2 module "audio_format"
stream_out_duplicate debug: duplicated a new stream codec=mpga (es=1 group=0)
main debug: adding a new input
mux_ps debug: adding input codec=mpga
stream_out_duplicate debug: - added for output 0
faad warning: decoded zero sample
packetizer_h264 debug: found NAL_PPS
stream_out_transcode debug: drift is too high, resetting master sync
main debug: adding a new input
stream_out_transcode debug: creating video transcoding from fcc=`h264' to fcc=`mp2v'
main debug: looking for decoder module: 27 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: postprocessing disabled
ffmpeg debug: ffmpeg codec (h264) started
main debug: using decoder module "ffmpeg"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder MPEG-2 Video
main debug: using encoder module "ffmpeg"
main debug: removing module "ffmpeg"
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!