RTSP/SDP H264 'non-dated packet' when transcoding

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ubu
New Cone
New Cone
Posts: 4
Joined: 18 Dec 2006 13:04

RTSP/SDP H264 'non-dated packet' when transcoding

Postby ubu » 21 Dec 2006 23:57

I am trying to transcode an rtsp/sdp stream (H264 video, MPEG4) audio to MPEG-2. The original stream plays fine with VLC 0.8.6 but playback of the transcoded file produces audio but no video. The VLC output log just has "trying to send non-dated packet to stream output!" endlessly repeated.

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"}}
I've seen several posts about H264 transcoding problems but nobody reporting this particular issue. This particular stream requires the "Use RTP over RTSP (TCP)" preference to be set. (Not sure if that's relevant.)

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!
[/code]

ubu
New Cone
New Cone
Posts: 4
Joined: 18 Dec 2006 13:04

Can't transcode H264 to MPEG2

Postby ubu » 17 Jan 2007 11:17

bump :?:

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 17 Jan 2007 19:34

Try using fps=<framerate> on the command line with video command options.

ubu
New Cone
New Cone
Posts: 4
Joined: 18 Dec 2006 13:04

Postby ubu » 19 Jan 2007 05:28

Try using fps=<framerate> on the command line with video command options.
Thanks for the suggestion. Is there any way to determine (or make an educated guess at) the frames per second of the incoming stream? Or even a likely range I should start experimenting with?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests