Serving static files via GstLaunch ?



I would like to stream a live feed to the DLNA TVs in my house using the GstLaunch plugin in Rygel.  I'm presently using Rygel on Fedora 23 to stream a conventional video library (static files via MediaExport) and it works fantastic. 

As a starting point to serving the live feeds, I'm trying to serve static files via GstLaunch.  The GstLaunch section in rygel.conf is this or a variant thereof.

[GstLaunch]
enabled=true
title=Streams
launch-items=stream1
stream1-title=Stream1
stream1-mime=video/x-h264
stream1-launch=filesrc location=./test.ts

I've tried serving several different types of files (mp4, m4v, ts and mkv) with various mime types. 

My TV will play all the files if they are served conventionally (Media Export) as static files.  The TV will also play all the files via a USB drive.  VLC plays all the files locally as well.  I can also copy the file using GstLaunch filesrc...  filesink...

I have been unable to get my TV to play any of the files if they are served via GstLaunch. The Streams media source displays properly.  I get a variety of results when I open it, depending on the mime and file type.  Sometimes I get a "No content" message and the Stream1 file is not present.   If the file is there and I try to open it, I get a media type not supported or network error

Where does the mine type come from for the GstLaunch section ?  Is it a Gstreamer type ?  Or is it defined somewhere in Rygel ?   What mime type should I be using for mkv and ts files ?

Does using GstLaunch require any different ports from serving files with MediaServer ?

Is there a way to configure which Gstreamer rygel uses ?   Is one preferable over the other ?

Any ideas on why this isn't working ?

Thanks

$ uname -a
Linux XPS17.localdomain 4.2.7-300.fc23.x86_64 #1 SMP Wed Dec 9 22:28:30 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

# dnf list rygel
Installed Packages
rygel.x86_64                                       0.28.2-1.fc23  

# dnf list gstreamer
Installed Packages
gstreamer.x86_64                                0.10.36-13.fc23

dnf list gstreamer1
Installed Packages
gstreamer1.i686                                       1.6.2-1.fc23                                     @updates
gstreamer1.x86_64                                     1.6.2-1.fc23



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