Recording H.264 stream from IP camera
Posted: 21 Nov 2007 21:54
I am interested in finding out if VLC can be used to record H.264 encoded data streamed by one of our Lumenera IP cameras.
Regardless of the encapsulation and transcoding options, we always run into the same warning message:
main warning: trying to send non-dated packet to stream output!
I'm wondering what the next step should be.
Thanks,
James
main debug: adding playlist item `rtsp://192.168.2.178/h264' ( rtsp://192.168.2.178/h264 )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4248 (input) created at priority 1 (input/input.c:265)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=file,mux=raw,dst=F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to file
main debug: set sout option: sout-standard-mux to raw
main debug: set sout option: sout-standard-dst to F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw
stream_out_standard debug: creating `file/raw://F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw'
stream_out_standard debug: extension is raw
stream_out_standard debug: extension -> mux=(null)
stream_out_standard debug: using `file/raw://F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (`F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw')
main debug: using sout access module "access_output_file"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_dummy debug: Dummy/Raw muxer opened
mux_dummy: Open
main debug: using sout mux module "mux_dummy"
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
main debug: `rtsp://192.168.2.178/h264' gives access `rtsp' demux `' path `192.168.2.178/h264'
main debug: creating demux: access='rtsp' demux='' path='192.168.2.178/h264'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/H264'
live555 debug: RTP subsession 'audio/L16'
main debug: selecting program id=0
main debug: using access_demux module "live555"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
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
main debug: using packetizer module "packetizer_copy"
main debug: stream out mode -> no decoder thread
main debug: starting in async mode
main debug: `rtsp://192.168.2.178/h264' successfully opened
packetizer_copy debug: need dts > 0
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=s16b (es=1 group=0)
main debug: adding a new input
mux_dummy debug: adding input
stream_out_duplicate debug: - added for output 0
packetizer_h264 debug: found NAL_PPS
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main warning: clock gap, unexpected stream discontinuity
packetizer_copy debug: need dts > 0
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
live555 debug: lost 129 bytes
live555 debug: increasing buffer size to 131072
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=h264 (es=0 group=0)
main debug: adding a new input
mux_dummy debug: adding input
stream_out_duplicate debug: - added for output 0
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!
Regardless of the encapsulation and transcoding options, we always run into the same warning message:
main warning: trying to send non-dated packet to stream output!
I'm wondering what the next step should be.
Thanks,
James
main debug: adding playlist item `rtsp://192.168.2.178/h264' ( rtsp://192.168.2.178/h264 )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4248 (input) created at priority 1 (input/input.c:265)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=file,mux=raw,dst=F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to file
main debug: set sout option: sout-standard-mux to raw
main debug: set sout option: sout-standard-dst to F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw
stream_out_standard debug: creating `file/raw://F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw'
stream_out_standard debug: extension is raw
stream_out_standard debug: extension -> mux=(null)
stream_out_standard debug: using `file/raw://F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (`F:\FILES_TO_TRANSFER\EthernetCameraSnapshots\H264\4.raw')
main debug: using sout access module "access_output_file"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_dummy debug: Dummy/Raw muxer opened
mux_dummy: Open
main debug: using sout mux module "mux_dummy"
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
main debug: `rtsp://192.168.2.178/h264' gives access `rtsp' demux `' path `192.168.2.178/h264'
main debug: creating demux: access='rtsp' demux='' path='192.168.2.178/h264'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/H264'
live555 debug: RTP subsession 'audio/L16'
main debug: selecting program id=0
main debug: using access_demux module "live555"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
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
main debug: using packetizer module "packetizer_copy"
main debug: stream out mode -> no decoder thread
main debug: starting in async mode
main debug: `rtsp://192.168.2.178/h264' successfully opened
packetizer_copy debug: need dts > 0
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=s16b (es=1 group=0)
main debug: adding a new input
mux_dummy debug: adding input
stream_out_duplicate debug: - added for output 0
packetizer_h264 debug: found NAL_PPS
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
main warning: clock gap, unexpected stream discontinuity
packetizer_copy debug: need dts > 0
live555 debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
live555 debug: lost 129 bytes
live555 debug: increasing buffer size to 131072
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=h264 (es=0 group=0)
main debug: adding a new input
mux_dummy debug: adding input
stream_out_duplicate debug: - added for output 0
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!