Yes, Romain must be right, you might not have the adequate gstreamer
plugins installed. Here, I did not have anything to change with the options
for decoders. Does the following pipline works ?
gst-launch-1.0 filesrc location=test.mp4 ! decodebin ! autovideoconvert !
autovideosink
On Debian/Ubuntu systems, I think that the package containing the decoders
for mp4 is gstreamer1.0-libav.
On Sun, Jan 27, 2013 at 6:09 PM, Romain Beauxis <[email protected]>wrote:
> 2013/1/27 Frits Letteboer <[email protected]>:
> > Hi!
>
> Hi!
>
> > On 27-01-13 17:49, Romain Beauxis wrote:
> >
> >>
> >> I think your problem is that the OGG decoder is picking up the file
> >> while you're expecting the gstreamer one to pick it up.
> >
> >
> > The problem wasn't the OGG-file, it was the MP4-file that didn't work.
>
> Huh.. So much for me responding to emails first thing on a sunday...
> Coffee first, Romain, coffee first! :-)
>
> > Anyway I tried the following, assuming that's what you meant (commenting
> out
> > the 'sets' not needed):
> >
> > #!/usr/local/bin/liquidsoap
> >
> #set("decoder.file_decoders",["META","WAV","MIDI","FLAC","AAC","MP4","MAD","CAMLIMAGES","SDL/IMAGE","GSTREAMER"])
> >
> >
> set("decoder.file_extensions.gstreamer",["wmv","avi","mp4","3gp","webm","mkv","ogg"])
> >
> set("decoder.mime_types.gstreamer",["video/x-ms-asf","video/x-msvideo","video/mp4","video/3gpp","video/webm","video/x-matroska","application/ogg","application/x-ogg","audio/x-ogg","audio/ogg","video/ogg"])
> >
> > output.sdl(single("/home/graver/Video's/Charlie the
> > Unicorn-CsGYh8AacgY.mp4"))
> >
> > Both come back with
> >
> > Invalid value at line 6, char 19-76:
> > Could not get a valid media file of kind {audio=0;video=1;midi=0} from
> > "/home/graver/Video's/Charlie the Unicorn-CsGYh8AacgY.mp4"
>
> Hmm.. This could also mean that your gstreamer install doesn't have
> the proper plugins to decode that file.. Samuel should be able to give
> you a gst-launch command line to test that.. Sam?
>
> > Also, removing OGG from the decoders seems to break OGG too:
> >
> > Invalid value at line 6, char 19-71:
> > Could not get a valid media file of kind {audio=0;video=1;midi=0} from
> > "/home/graver/Video's/big_buck_bunny_480p_stereo.ogg".
>
> Yeah, well obviously when the OGG decoder is removed, ogg files are no
> longer supported, unless you also use gstreamer for it :-)
>
> Romain
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users