-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delayed video on rtsp stream #20
Comments
Modify these macros to reduce latency.
|
FYI, The original MIN_FRAMES in ffplay is
|
Thank you, but I have now other questions. I must change these values af ff_ffplay_def.h , is right ?
but these ????
After edit file, from which step of your guide I have to start with the compilation? ndk-build ??? I've read something about analyzeDuration : It can help ? |
Your value is fine, ndk-build is enough. The macros should work with HLS. But for rtsp/rtmp/etc, I don't have much knowledge about them. The analyzeDuration can be set through ijkmp_set_codec_option(), which could be easily exposed to java layer as ijkmp_set_format_option() does. |
with these values I have a delay of 3 secs ... now is better. |
Set these values to 0 is OK. In fact, the original ffplay doesn't have these limit.
I add them for streaming video on network with bad quality traffic. Also have a look at these code commented out by me.
I'm not sure if they are related to the delay. |
I confirm that MIN_FRAMES 5 reduce delay, but video stream is less stable on long durate. Videoview often goes in error state. |
No idea at all. Try your local ffplay from apt-get, yum, macport, hombrew, blablabla. |
What's the meaning "FFP_MERGE". |
I'm getting a delay of 4-7 seconds on iOS using this library while ffplay has <=1 second delay on mac using local wifi. Any idea how to resolve this issue? |
Which client do you get under 1 second latency ? Are you sure that both your clients use same transport layer ? |
I try to play stream using ffplay from terminal and there was a latency for ~1 second. Also what is the best to integrate this library in another project because currently files being used are very scattered. |
I try to play an UDP stream and I am experiencing a significant delay, about 7 seconds. Any idea why? Is there any macros that needs to be changed as well? |
feat: add gles ose render for android mediacodec buffers
I have about 6 seconds of delay on live video rtsp streams in local wifi network, using vlc app I have only 1 second of delay using same source.
Is possible to reduce this time ?
I use Android tv.danmaku.ijk.media.widget.VideoView
The text was updated successfully, but these errors were encountered: