Raspberry Pi transcoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hello everybody,

I'm new in this lists, and my name is David from Spain.

I'm trying to use gstreamer on raspberry pi in order to transcode a MPEGTS multicast stream to H264/AAC:

Video: mpeg2video, 704x576 5000Kb/s
Audio: mp2 48000 Hz, Strereo, 16bit, 200Kb/s

I'd like use the hardware encoders from raspberry (omx) in order to decode the mpeg2 (I have the mpeg2 license installed) and transcode this stream to h264.

The input is a rtsp source:

rtspsrc location="rtsp://x.x.x.x:5555/iptv/239.0.0.1/2002"

This source has been created using a rtsp proxy from a multicast ip.

I can see the original video MPEG2, using VLC for testing with this uri: rtsp://x.x.x.x:5555/iptv/239.0.0.1/2002

I'd like transcode this video using gstreamer and can play a new H264 stream using the same rtsp protocol from VLC, or send the stream transcoded using the tcpclientsink.

I'm not sure how can I use gstreamer in order to process the transcoding command, so I'm trying with a easy command like this:

gst-launch-1.0 -v rtspsrc location="rtsp://x.x.x.x:5555/iptv/239.0.0.1/2002" ! mpegaudioparse ! tcpclientsink host=y.y.y.y port=6666 sync=false --gst-debug 3

But the first result is:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.707336103 26003  0x2091000 WARN                 rtspsrc gstrtspsrc.c:5447:gst_rtspsrc_setup_streams:<rtspsrc0> error: No supported stream was found. You might need to allow more transport protocols or may otherwise be missing the right GStreamer RTSP extension plugin.
0:00:00.710196014 26003  0x2091000 ERROR                rtspsrc gstrtspsrc.c:5615:gst_rtspsrc_open_from_sdp:<rtspsrc0> setup failed
0:00:00.712447945 26003  0x2091000 WARN                 rtspsrc gstrtspsrc.c:5831:gst_rtspsrc_open:<rtspsrc0> can't setup streaming from sdp
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: No supported stream was found. You might need to allow more transport protocols or may otherwise be missing the right GStreamer RTSP extension plugin.
Additional debug info:
gstrtspsrc.c(5447): gst_rtspsrc_setup_streams (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0
Execution ended after 10966661 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Anybody can guide me in the wight direction?

Thank you very much and king regards,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20130831/868f2587/attachment.html>


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux