B4A Library FFmpeg_b4a - a FFmpeg library for b4a (decoding/streaming)

rbirago

Active Member
Licensed User
Longtime User
Taking a look at this thread I noticed that FFMpeg_b4a is able to stream from a RTSP server. And what about an RTMP server?

Roberto
 

moster67

Expert
Licensed User
Longtime User
Taking a look at this thread I noticed that FFMpeg_b4a is able to stream from a RTSP server. And what about an RTMP server?
I have no idea. I don't even know where to find such a server to try. If you have a possibility, please try and let us know.
 

moster67

Expert
Licensed User
Longtime User
Hi Moster67

I've swapped my question over from the main forum.

Is it possible to stream internet radio with FFMPEG_b4a?

Well, I tried the links you cited and indeed there are errors:
B4X:
unknown FFP_MSG_xxx(700)
This error has been mentioned in this thread before but then it was due to a codec-issue.

I'm unsure if it is related to something I left out in the wrapper (in this case the mediaplayer and not the videoview) or if the problem is located in the original sources although my guess is that it would be the latter. If you search the github project, you will see this error mentioned often but mostly it is related to missing codec-support.

It should be said that my wrapper was based on the first version of IJKPlayer, which has been abandoned by the author in favour of a newer project. I am currently busy with other projects but when I have time, I will look into the newer project.

Have you tried any other library (even the standard ones) to stream said files?
 

wxws

Member
Licensed User
Longtime User
hi,all
how to use the FFMepg_OutlineTextView ?
can anyone write a demo?
 

moster67

Expert
Licensed User
Longtime User

salvadoro

Member
Licensed User
Longtime User
I try with RTMP server and don't work i get:

FFMpegVideoView1_Error -10000
 

salvadoro

Member
Licensed User
Longtime User
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
FFMpegVideoView1_Error -10000

This is the link

FFMpegVideoView1.SetVideoPath("rtmp://50.7.98.234/rtv/videortv")
 

Almora

Well-Known Member
Licensed User
Longtime User
I'm getting an error
FFMpegMediaController1_Shown
FFMpegVideoView1_Prepared
 
Last edited:

victormedranop

Well-Known Member
Licensed User
Longtime User
Amazing lib, but one question :
how I can change aspect ratio, stretch reduce 50% size.

thanks,

Victor
 

moster67

Expert
Licensed User
Longtime User
Unsure about that...probably you can find a formula using VideoHeight and VideoWidth.
 

cambopad

Active Member
Licensed User
Longtime User
As I read on ffmpeg site, it can be used to convert video file to mp3 too.

Can we do this with this b4a lib?
 

victormedranop

Well-Known Member
Licensed User
Longtime User
One question : You can only change the value VIDEO_LAYOUT_ZOOM only when the video is playing?
I can't find another way, create a timer to watch when the video is playing and changed the value.

Thanks,

Victor
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…