Transcoding/H264 Encoding

About encoding, codec settings, muxers and filter usage
Moriquendi
Blank Cone
Blank Cone
Posts: 74
Joined: 31 May 2011 16:22

Transcoding/H264 Encoding

Postby Moriquendi » 11 Jul 2011 16:24

Hello,

I am trying to transcode a video stream into h264 format and properly play it on the receiver side. For the moment, I am using a .h264 extension file and I can play it on vlc with no problem and the codec setting verifies that its H264-MPEG-4 AVC(part 10)(h264). However, there seems to be a problem with my transcoding options, I can actually observe H264 packets but for some reason the receiver side cant decode it properly. Here's my command line;

Code: Select all

vlc -vvv H264.h264 :sout#transcode{vcodec=h264,vb=300,acodec=none}:duplicate{dst=rtp{dst=230.0.0.0,port-video=9004,sdp=sap://,name=test264}}
And to receive this stream, I use the command;

Code: Select all

rtp://230.0.0.0:9004
And the Wireshark capture looks like;
http://i51.tinypic.com/nbotux.jpg

I had similar problems for the audio(g711/alaw) when streaming to a SIP telephony where the sound was intermittent and kinda robotic, I fixed this by modifying ptime value for rtp_set_ptime function call in rtp.c. I was wondering if this is a similar problem or do I have to change transcoding settings(do I need to use ffmpeg,x264 etc. libs for h264?).

Any help would be appriciated.

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests