RTP H.264 payload

*nix specific usage questions
gonzo1948
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Jun 2010 04:07

RTP H.264 payload

Postby gonzo1948 » 21 Oct 2012 02:08

I've written an application that takes a camera feed, encodes it, and sends RTP pkts with H.264 video via multicast. I've also written a client that is receiving the RTP, decoding the H.264 and displaying it. End to end it is working.

I now want to migrate to a "real" player so I am trying to get vlc to also receive my server RTP/H.264 stream. In the vlc Open Network Stream dialog, I enter: rtp://239.0.0.10:8000 but I get this error in the message log: rtp error: RTP flow stopped

Here is the complete log:

Code: Select all

qt4 warning: Input option: rtp-caching=2000 main debug: adding item `rtp://239.0.0.10:8000' ( rtp://239.0.0.10:8000 ) main debug: waitpipe: object killed main debug: socket 18 polling interrupted main debug: control type=0 main debug: control: stopping input qt4 debug: Adding a new MRL to recent ones: rtp://239.0.0.10:8000 main debug: dying input rtp error: RTP flow stopped main debug: dying input main debug: removing module "rtp" main debug: thread ended main debug: dead input main debug: processing request item rtp://239.0.0.10:8000 node null skip 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 11 items, index 10 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'rtp://239.0.0.10:8000' main debug: thread (input) created at priority 10 (input/input.c:214) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path '/tmp' main debug: `rtp://239.0.0.10:8000' gives access `rtp' demux `' path `239.0.0.10:8000' main debug: creating demux: access='rtp' demux='' path='239.0.0.10:8000' main debug: looking for access_demux module: 1 candidate main debug: net: opening 239.0.0.10 datagram port 8000 main debug: Multicast group join request main debug: using access_demux module "rtp" main debug: TIMER module_need() : 0.284 ms - Total 0.284 ms / 1 intvls (Avg 0.284 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in /home/andres/.local/share/vlc/lua/meta/reader lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 0.367 ms - Total 0.367 ms / 1 intvls (Avg 0.367 ms) main debug: `rtp://239.0.0.10:8000' successfully opened qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'rtp://239.0.0.10:8000' : 0.865 ms - Total 0.865 ms / 1 intvls (Avg 0.865 ms) qt4 debug: IM: Setting an input
I am assuming my biggest problem is the RTP payload type because I cannot find where I can specify a dynamic RTP payload for vlc to know its H.264.

How do I set a dynamic RTP payload for H.264 so vlc will process this stream? I am currently hard coding 100 for H.264 in my server but I can change that if vlc is expecting something else.

Also, does vlc support any of the RTP feedback enhancements? like: RFC 5104 ?

thanks,

-Andres

Rémi Denis-Courmont
Developer
Developer
Posts: 15317
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: RTP H.264 payload

Postby Rémi Denis-Courmont » 21 Oct 2012 09:04

Obviously and as answered many times here, you need an SDP.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests