BASS_FFMPEG

Started by Ionut Cristea,

Ionut Cristea

   Had some spare time in while and made a new little addon called BASS_FFMPEG. What it does is simple: its using ffmpeg to split and decode audio from a media file. So what formats are supported from ffmpeg will be supported by BASS too. Please give it a try and tell me how it goes.


 The addon can be used like any other BASS plugin using BASS_PluginLoad function and then using BASS_StreamCreateFile.

http://surodev.com/downloads/BASS_FFMPEG.zip
Ionut

atza

A bit of explanation how to use it would not hurt anybody:)
I mean dll only is no use. Maybe I'm stupid i don't know
Anyway good thing i was thinking of how to implement ffmpeg library into my projects too

Ionut Cristea

The addon can be used like any other bass plugin via bass_pluginload function. The ffmpeg(libav) is included in it.

QuentinC

Hello,

Does it support :
+ Unicode filenames ?
+ User file / virtual I/O ?
+ Seeking ?
+ URLs ?
+ Extract audio from FFMPEG-compatible video files, e.g. .avi, .mp4, .flv ,etc. ?

In any case, thank you, I was trying to do something similar some time ago.

Ionut Cristea

   Hello,



Yes all those are supported.

radio42

Does it add any extra BASS Channel Type (BASS_CTYPE_xxx) flags?
If not, what CTYPE is it using?

Does it add any extra BASS Tag Type (BASS_TAG_xxx) flags?
If not, what TAG is it using?
Or is TAG retrieval not supported at all?


Ionut Cristea

QuoteDoes it add any extra BASS Channel Type (BASS_CTYPE_xxx) flags?
If not, what CTYPE is it using?

Does it add any extra BASS Tag Type (BASS_TAG_xxx) flags?
If not, what TAG is it using?
Or is TAG retrieval not supported at all?

A BASS_CTYPE_xxx flag will be available soon.
BASS_TAG_xxx is not supported yet.

azrael11

it is cross platform or in future...

Do you plan to support it till the end... ;D

Thank you...

Ionut Cristea

QuoteInsert Quote
it is cross platform or in future...

Do you plan to support it till the end... Grin

Thank you...

Yes,

a version for other platforms will arrive

azrael11

Quote from: Ionut Cristea
QuoteInsert Quote
it is cross platform or in future...

Do you plan to support it till the end... Grin

Thank you...

Yes,

a version for other platforms will arrive

That is good news ionut ...

also
some headers for pascal delphi...
a litle documentation and
a small sample run in opengl ... that been great ....

Thank you

Skarz

Ionut Cristea

QuoteThat is good news ionut ...

also
some headers for pascal delphi...
a litle documentation and
a small sample run in opengl ... that been great ....

Thank you

Currently no functions are available(all functions can be made by BASS). About loading in opengl,i can expose a function to retrieve frame buffer, but i'm afraid user must done the A/V sync.

Ionut

azrael11

Quote from: Ionut Cristea
QuoteThat is good news ionut ...

also
some headers for pascal delphi...
a litle documentation and
a small sample run in opengl ... that been great ....

Thank you

Currently no functions are available(all functions can be made by BASS). About loading in opengl,i can expose a function to retrieve frame buffer, but i'm afraid user must done the A/V sync.

Ionut

That is good ionut ...
I waiting for this....
The sync is hard way but lets try it...

Thank you...

Salvo

Quote from: Ionut Cristea
QuoteThat is good news ionut ...

also
some headers for pascal delphi...
a litle documentation and
a small sample run in opengl ... that been great ....

Thank you

Currently no functions are available(all functions can be made by BASS). About loading in opengl,i can expose a function to retrieve frame buffer, but i'm afraid user must done the A/V sync.

Ionut
when you think it will be ready?
Salvo

Ionut Cristea

 i Don't know yet...will see

Gamo

Could you please provide some sample code?
I have no idea how to use it.

Ionut Cristea

For now you can use like any other bass plugins, just load it and will play. Other API will come when i will add video stuff.

Artem Izmaylov

Hello,

Thanks a lot for the BASS_FFmpeg plugin! But what about the FFmpeg license?

Ionut Cristea

  I don't use this plugin to make any money or something like that. Also i didn't modify the source code of the ffmpeg libraries so anyone can build the plugin. Also the plugin source code is available on request.