Playing H264 works in Windows not in Linux

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Playing H264 works in Windows not in Linux

Wes Miller
Administrator
In Windows, this pipeline produces video but no audio:

     gst-launch-0.10 -e uridecodebin uri="rtsp://10.253.7.99/media/media.amp?videocodec=mpeg4&resolution=2CIF&audio=1" ! ffmpegcolorspace ! autovideosink

In Fedora 12 linux, it produces either nothing or shows only the first video frame.  likewise, this uri does not play on Snow Leopard.

I have tried adding various demuxers. depayloaders, decoders and other video sinks to get the uri to show its video and hoping to be able to tee off the audio.  No video, no audio, no joy.

Can someone suggest how to get a live H264  or MPEG4 stream to play video AND audio on Linux and or Mac?

Wes
Reply | Threaded
Open this post in threaded view
|

Re: Playing H264 works in Windows not in Linux

Kapil Agrawal
Wes,


On Tue, Jun 15, 2010 at 12:53 AM, Wes Miller <[hidden email]> wrote:

In Windows, this pipeline produces video but no audio:

    gst-launch-0.10 -e uridecodebin
uri="rtsp://10.253.7.99/media/media.amp?videocodec=mpeg4&resolution=2CIF&audio=1"
! ffmpegcolorspace ! autovideosink

Cant  do audio as you have sepcifically asked it to play video using autovideosink .Also add a audiosink part
 

In Fedora 12 linux, it produces either nothing or shows only the first video
frame.  likewise, this uri does not play on Snow Leopard.


Not sure what might be the issue, can just guess. Please provide detailed logs
you might just try gst-launcg rtspsrc.... ! decodebin2 ! fakesink -v
 
I have tried adding various demuxers. depayloaders, decoders and other video
sinks to get the uri to show its video and hoping to be able to tee off the
audio.  No video, no audio, no joy.

Can someone suggest how to get a live H264  or MPEG4 stream to play video
AND audio on Linux and or Mac?

Wes
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Playing-H264-works-in-Windows-not-in-Linux-tp2254909p2254909.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playing H264 works in Windows not in Linux

Wes Miller
Administrator
Kapil, NEVER MIND. I RE-RE-RECOMPILED PLUGINS-GOOD AND IT WORKED. Turns out the default install location for "make install" was /usr/local, not the right place. I seem to have lost rtspsrc on my linux box. installed the plugins-good rpm via yum and I troed compiling from source, but i have no rtspsrc element. Can you tell me where it is supposed to be so I can try to get ahold of it. Wes