Hello,

I try to add an external decoder using ffmpeg, to add more supported 
format on input stream (accp, mms, rtsp, ..).

I make a very simple test with an AUDIO/AACP input stream :

def test_ffmpeg(file) =
     int_of_string("-1")
end


ffmpeg_p = "< /dev/null /usr/bin/ffmpeg -i - -"
add_decoder(name="FFMPEG",description="Decode files using the ffmpeg 
decoder binary",test=test_ffmpeg, ffmpeg_p)

set("decoder.mime_types.aac",["audio/aac","audio/aacp","audio/x-hx-aac-adts"])
set("decoder.stream_decoders",["WAV","PCM/BASIC","FLAC","OGG","MAD","FFMPEG"])

source = input.http(
         autostart=true,
         
"http://mp3kh.live.tv-radio.com/3266/urban-mix/urban-mix-aac.mp3";
)

source = mksafe(source)

[....]

But liquidsoap never find my FFMPEG decoder ...

2013/01/25 11:25:56 [decoder:2] Cannot find decoder FFMPEG
2013/01/25 11:25:56 [decoder:3] Unable to decode stream of type 
"audio/aacp"!

Have you any idea, or conf. sample ? or perhaps external decoder 
running only on file ? and not on a stream ?


Thk
Yoann

------------------------------------------------------------------------------
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

Reply via email to