B4X FEED Code Module FFMPeg_Utils for jAudioTrack2 and jAudioRecord2

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Code Module FFMPeg_Utils for jAudioTrack2 and jAudioRecord2 است. این موضوع تا کنون 32 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Code Module FFMPeg_Utils for jAudioTrack2 and jAudioRecord2
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
32
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Using FFMPeg Command Line and jShell, it is possible to convert most file formats to and from a wav file that jAudioRecord2 writes and a jAudioTrack2 plays.

The conversion is done very quickly, and has many options (see the FFMPeg documentation)

This CodeModule just performs a basic conversion without changing any parameters. The two demo apps are just for completeness. I have included mp3, flac and ogg as that is what I will use most, but I am sure there are more codec that FFMpeg supports you may find useful.

The jAudiorecord2-FFMpeg demo uses Mediaplayer to play the files, although it only supports Mp3's. you are given an option to play on the system default player for the file type if you have one for those not supported, or you can run the jAudiotrack2-FFMpeg demo and play them using that.

This is the source for the code module, it's probably easier to copy it into a new code module than download it, but it's there if you want it. I haven't created a b4xlib for it as...



 

عقب
بالا