21 May '13 - 07:19 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Is it possible to directly play audio from a *.flv MemoryStream ?  (Read 364 times)
Martin Kuhn
Posts: 9


« on: 27 Aug '12 - 04:20 »
Reply with quoteQuote

Within an application i want to play MP4 Audio embedded within a *.flv Stream

My recent, sub-optimal solution is to
- copy the flv-Data/Conatiner (it is a MemoryStream) to a *.flv file
- Convert the *.aac file using an CMD-Line converter (eg ffMpeg.exe)
- open/read the *.aac file into a File/MemoryStream  and use BASS_AAC_StreamCreateFile(True, ....
- delete the unneeded *.flv and *.aac files
- play the AAC (File/MemoryStream) with Bass

Question: Is it possible to convert flv-Data/Containers (MemoryStream) to a BASS compatible MemoryStream (eg. in AAC Format),
WITHOUT using a CMD-Line tool that is writing the files physically to HDD
Best would be solution (component?) directly within Delphi
second best a solution with a CMD-Line tool converting from/to MemoryStreams instead of physicall writing to HDD

best regards
Martin
Logged
Ionut Cristea
Posts: 1373


« Reply #1 on: 27 Aug '12 - 11:39 »
Reply with quoteQuote

Use BASS_DSHOW to achieve that. But be sure you have installed flv splitter/decoder.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines