-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
start rtsp only in tcp mode #26
Comments
http://www.ffmpeg.org/ffmpeg-protocols.html ‘rtsp_transport’ It accepts the following values: ‘udp’ |
thank you, but I don't know how can I set this property.
|
I try this and works.
|
Most options should be set before the call to prepareAsync(). |
I see that using rtsp over tcp the video quality is poor, the player often goes in onInfo state and blocking, or ffmpeg's error occur |
how can I improve the stability of the connection via tcp? |
Sorry, I don't known much about rtsp stuffs. |
In other question you suggest me to change some constant for reduce delay (https://github.com/bbcallen/ijkplayer/issues/20) , maybe playing with these value could help ? I don't know how run ffplay in android.... |
My problem with tcp is that player goes on Info state, this cause the stop of playback, what causes onInfo state ? |
I mean build/test/debug original ffplay on pc, It's much easier than in android. |
ok, thanks. I have two different behavior when onInfo state occurs.
When audio is disabled I get that buffering starts but then remains stationary, the video is blocked and never restarts.
|
uncomment this macro in ff_ffplay.c, rebuild and see how buffer grows.
|
ok I tried it , but this only log cache information. Not solved problem of buffering_start and never ended when stream is without audio. You can see log in previous post of this case. In all my test I'm using stable release, now I try with master version, I see that you made some commit for buffering last week thanks
|
The buffering start/stop strategy based on valid AVPacket.duration, AVStream.time_base The most simple way is removing the whole do {...} while(0) and call ffp_toggle_buffering(ffp, 0);
|
Ok thanks , meanwhile I tried not stable version (master on git) but doesn't work for me. The last working master-version I tried is in 12/06/2014.
|
I have dropped rtsp support in latest master to reduce the size as small as I can. |
I'm can not find /tools/ffmpeg-common-profiles.sh
I'm build with version 0.1.3 |
/tools/ffmpeg-common-profiles.sh has been moved to config/module-lite.sh |
@tulkas85 I am getting an error similar to you where it's showing my buffer gets full (100%) and after that, the video streaming on android stops. It does n't go far from 100%. But I have noticed for your cache size is going >100 %, how you did that? and secondly how to resolve the issue where buffer gets full. 02-14 07:56:11.320 22174-22174/? D/EasyMovieTexture: OnBufferUpdate() |
feat: support custom "pos-update-interval", min 10 ms, max 1000 ms
Hi, How can I force MediaPlayer to prepare video only using Tcp ?
Sometimes udp stream does not pass through 3G connections
thanks
The text was updated successfully, but these errors were encountered: