xvidenc

Nicolas Dufresne nicolas at ndufresne.ca
Wed Feb 8 19:52:56 UTC 2017


Le mercredi 08 février 2017 à 13:55 -0500, Nicolas Dufresne a écrit :
> > ./test-launch "( v4l2src device=/dev/video0 ! queue ! video/x-raw-
> > yuv,width=640,height=480,framerate=(fraction)30/1 \

Another thing I notice is that you are using "video/x-raw-yuv", that
type was used in 0.10 and no longer exist in 1.0+. Should be video/x-
raw,... Are you trying to use obsolete 0.10 rather then 1.0+ (e.g.
1.10.3) ?

And another error you did, "rtpvp8vpay" is named "rtpvp8pay". You have
an extra v in there.

Final note, Opus is more common then vorbis these days, but both should
work.

> I added the deadline=0 to the vp8enc and restarted...

Actually, I meant to set this to it's minimum, try deadline=1. 0 is the
default, it means no deadline, and is really slow.

> 
> I then use "totem rtsp://127.0.0.1:16200/camera.sdp" to try to play
> and I get no video - it also does not display any error.

Have you enabled debug traces ? E.g. for warning and error, set the
environment GST_DEBUG=3.

Nicolas

p.s. A working 1.0 example using test-launch:

GST_DEBUG=2 ./test-launch \
  "v4l2src device=/dev/video0 \
     ! videoconvert ! vp8enc deadline=1 end-usage=cbr \
     ! rtpvp8pay pt=96  name=pay0 \
   pulsesrc ! audioresample ! audioconvert ! vorbisenc \
     ! rtpvorbispay pt=0 name=pay1"



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170208/707b45f4/attachment.sig>


More information about the gstreamer-devel mailing list