Comments (70)
when playbacking, the video can't decode any frame (no frame)...so complete...
from vitamiobundle.
But Google Play libs version DOESN'T have this problem. I think problem is in the bundle lib.
from vitamiobundle.
i have same problem while playing "http://94.242.221.141/hls/a-lo/stream140.m3u8" but no solution found yet
from vitamiobundle.
I think it's should http timeout. Vitamio will add API set http timeout
from vitamiobundle.
Hi,
I also have the same issue, when the video plays for 12seconds, i get the following log:
03-30 21:38:59.656: E/VitamioPlayer: [rtmp @ 0x1f023b0] Client bandwidth report packet is less than 4 bytes long (0)
03-30 21:38:59.765: I/VitamioPlayer: Info (702, 0)
03-30 21:38:59.765: D/VitamioPlayer: onInfo: (702, 0)
03-30 21:38:59.773: D/VitamioPlayer: start
03-30 21:39:00.078: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.078: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.148: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.148: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.218: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.218: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.273: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.273: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.398: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.398: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.453: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.453: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.523: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.523: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.585: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.585: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.656: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.656: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.718: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.718: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.789: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.789: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.851: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.851: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.914: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.914: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:00.984: I/VitamioPlayer: Info (700, 0)
03-30 21:39:00.984: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.046: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.046: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.109: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.109: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.179: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.179: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.242: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.242: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.304: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.304: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.375: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.375: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.437: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.437: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.500: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.500: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.570: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.570: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.632: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.632: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.695: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.695: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.757: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.757: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.820: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.820: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.890: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.890: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:01.945: I/VitamioPlayer: Info (700, 0)
03-30 21:39:01.945: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.015: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.015: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.085: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.085: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.156: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.156: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.226: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.226: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.289: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.289: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.375: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.375: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.429: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.429: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.507: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.507: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.570: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.570: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.632: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.632: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.695: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.695: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.773: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.773: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:02.875: I/VitamioPlayer: Info (700, 0)
03-30 21:39:02.875: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.023: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.023: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.117: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.117: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.179: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.179: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.250: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.250: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.304: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.304: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.367: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.367: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.429: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.429: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.492: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.492: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.546: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.554: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.609: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.609: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.671: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.671: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.726: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.726: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.789: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.789: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.843: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.843: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.914: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.914: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:03.968: I/VitamioPlayer: Info (700, 0)
03-30 21:39:03.968: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.023: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.023: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.085: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.085: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.148: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.148: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.210: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.210: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.273: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.273: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.328: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.328: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.359: W/AudioTrack(11757): obtainBuffer() track 0x1f63e90 disabled, restarting
03-30 21:39:04.398: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.398: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.453: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.453: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.507: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.507: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.570: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.570: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.632: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.632: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.687: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.687: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.742: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.742: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.820: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.820: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.882: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.882: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:04.937: I/VitamioPlayer: Info (700, 0)
03-30 21:39:04.937: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.000: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.000: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.054: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.054: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.109: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.109: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.164: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.164: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.226: W/AudioTrack(11757): obtainBuffer() track 0x1f63e90 disabled, restarting
03-30 21:39:05.328: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.328: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.453: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.453: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.507: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.507: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.562: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.562: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.625: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.625: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.679: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.679: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.734: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.734: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.789: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.789: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.843: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.843: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.906: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.906: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:05.968: I/VitamioPlayer: Info (700, 0)
03-30 21:39:05.968: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:06.023: I/VitamioPlayer: Info (700, 0)
03-30 21:39:06.023: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:06.078: I/VitamioPlayer: Info (700, 0)
03-30 21:39:06.078: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:06.109: W/AudioTrack(11757): obtainBuffer() track 0x1f63e90 disabled, restarting
03-30 21:39:06.132: I/VitamioPlayer: Info (700, 0)
03-30 21:39:06.132: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:06.195: I/VitamioPlayer: Info (700, 0)
03-30 21:39:06.195: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:06.250: I/VitamioPlayer: Info (700, 0)
03-30 21:39:06.250: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:06.304: I/VitamioPlayer: Info (700, 0)
03-30 21:39:06.304: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:06.367: I/VitamioPlayer: Info (700, 0)
03-30 21:39:06.367: D/VitamioPlayer: onInfo: (700, 0)
03-30 21:39:06.523: D/VitamioPlayer: playback complete (0, 0)
03-30 21:39:06.523: D/VitamioPlayer: onCompletion
EDIT:
I have also received the following in the logs
03-30 21:48:21.218: E/VitamioPlayer: [h264 @ 0x1fde120] AVC: nal size 21839903
03-30 21:48:21.218: E/VitamioPlayer: [h264 @ 0x1fde120] no frame!
03-30 21:48:21.218: E/VitamioPlayer: FFMPEG NATIVE avcodec_decode_video2
I am using VideoBuffer for the same. Is there a solution to this problem ? Please assist as it is on a urgent basis .
Thanks.
from vitamiobundle.
The main reason not receiver the avalid frame
from vitamiobundle.
Thank you so much for your quick response . But why would that happen ?? I mean the rtmp streams well with an rtmp online player, but then it fails when i run the app here on my device :( .. could you please suggest what i could do? I need to be able to stream the rtmp :( but then i cant even change the rtmp to rtsp streams thats not in my hands . Please help.
thanks
from vitamiobundle.
You used rtmp? you can use tcpdump get all request and response, see the reason.
from vitamiobundle.
Yes i have used rtmp. I will get back home and then try using tcpdump and get back to you, and i will also try it again on my device, just to check if it works well with the new update. I am currently using an older version of the library, i am sure it is not 4.2.1 version since it was just updated on Feb 26th here, while the library i have is one that was uploaded earlier, though the manifest seems to be reading 4.0 only as the version code for both :( .
from vitamiobundle.
@crossle Issue 26 still exists :( am i missing something?
from vitamiobundle.
Try use the newest version.
from vitamiobundle.
That is 4.2.1 ? I will go and uninstall the app and may be try once again. My bad i forgot to uninstall the older app that had the older vitamio library. I will get back with the result. Thanks.
If not a problem, may i know why this happens but??
from vitamiobundle.
@crossle , hi.. Thank you for all your time :) 👍 . I managed to run the app well on the device yest, after uninstalling the older app. so this cancels the issue 26 in my case :). And also, i wanted to know that if incase there are updates to this library and if i pull all of them, and then make updates to an already uploaded app, and when the user takes the updates, that will not cause problems to them correct ? (Just thinking about future builds though).
Thanks once again.Also Issue number 7 doesn't happen at least i have tested it for 5 min ,and things are working well. Fingers crossed i just hope things work well when the app goes live :)..
from vitamiobundle.
Vitamio upgrade depends your app version code, if your app version code increase,then Vitamio will upgrade.
from vitamiobundle.
So this means that it will not cause the native error correct ?
from vitamiobundle.
@crossle - also on orientation change video buffer starts all over again, do i have to handle that myself ? thanks.
from vitamiobundle.
@crossle - if your app version code increase,then Vitamio will upgrade. -> referring to this, vitamio will upgrade on its own correct ?
here is the app that i used vitamio in :)..
from vitamiobundle.
Yes.
from vitamiobundle.
@crossle hi - how do i set the video file name?? when i call mediaController.setFileName the file name does not change to a custom name. is there any other way this can be done ?
from vitamiobundle.
Because of you invoke setFileName
before VideoView
invoke setFileName
from vitamiobundle.
@crossle - so where exactly should i write the setFileName code??
My code looks like this:
mVideoView.setVideoURI(uri);
mMediaController = new MediaController(this);
mVideoView.setMediaController(mMediaController);
mMediaController.setFileName("name here");
mVideoView.requestFocus();
mVideoView.setOnInfoListener(this);
mVideoView.setOnBufferingUpdateListener(this);
mVideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
@Override
public void onPrepared(MediaPlayer mediaPlayer) {
// optional need Vitamio 4.0
mediaPlayer.setPlaybackSpeed(1.0f);
}
});
thanks.
from vitamiobundle.
Try setOnPreparedListener
from vitamiobundle.
@crossle - thank u very much. It works in the OnPreparedListener method.
from vitamiobundle.
Hi @crossle , i have a doubt. i am using the latest version of this library, but then i have updated my application version from 1.0 to 1.0.3 , there was a time here, when u said that vitamio's version would also be upgraded. does that mean i would have to upgrade this manually in the manifest file ? i played an rtmp stream in the application for one video, though this didnt happen with other videos, it stop after 3min of playing like before it used to happen. but then when i played the video from the beginning again after closing the activity and reopening it , it didnt stop at 3min. Is there anything i am missing? or anything wrong with the stream ? i am using videobuffer.
thanks.
from vitamiobundle.
Yo, you must upgrade your manifest file.
from vitamiobundle.
@crossle , so correct me if i am wrong, i have to upgrade the manifest version for vitamio library also correct? and should it be the same as my own apps manifest version declarations?
from vitamiobundle.
No need upgrade Vitamio library version, only upgrade your own apps.
from vitamiobundle.
@crossle - okie, i am doing that already :).. cool. is there anything missing that causes the video to play and then abruptly stop and cause the seek bar to move to the end ?
from vitamiobundle.
You can see Vitamio print log..
from vitamiobundle.
Yes @crossle, i will test it once again, and tell u the log. as to what it says.
from vitamiobundle.
Hello @crossle ,sorry for being late with the log. But this is what i get when playing an rtmp stream. It stops suddenly after say a minute and sometimes after more than a minute or so.The log is:
07-05 08:00:36.049: W/AudioTrack(5351): obtainBuffer() track 0x2d21c8 disabled, restarting
07-05 08:00:36.059: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.059: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.109: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.109: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.149: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.149: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.249: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.249: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.299: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.299: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.349: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.349: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.399: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.399: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.449: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.449: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.519: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.519: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.569: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.569: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.619: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.619: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.829: I/VitamioPlayer: Info (901, 29)
07-05 08:00:36.829: D/VitamioPlayer: onInfo: (901, 29)
07-05 08:00:36.839: I/VitamioPlayer: Info (701, 0)
07-05 08:00:36.849: D/VitamioPlayer: onInfo: (701, 0)
07-05 08:00:36.849: D/AudioTrack(5351): pause
07-05 08:00:36.929: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.929: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:36.969: I/VitamioPlayer: Info (700, 0)
07-05 08:00:36.969: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:37.019: I/VitamioPlayer: Info (700, 0)
07-05 08:00:37.019: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:00:39.499: I/VitamioPlayer: Info (901, 18)
07-05 08:00:39.499: D/VitamioPlayer: onInfo: (901, 18)
07-05 08:00:42.279: I/VitamioPlayer: Info (901, 22)
07-05 08:00:42.279: D/VitamioPlayer: onInfo: (901, 22)
07-05 08:00:46.009: I/VitamioPlayer: Info (901, 18)
07-05 08:00:46.009: D/VitamioPlayer: onInfo: (901, 18)
07-05 08:00:48.799: I/VitamioPlayer: Info (901, 25)
07-05 08:00:48.799: D/VitamioPlayer: onInfo: (901, 25)
07-05 08:00:51.679: I/VitamioPlayer: Info (901, 19)
07-05 08:00:51.679: D/VitamioPlayer: onInfo: (901, 19)
07-05 08:00:54.979: I/VitamioPlayer: Info (901, 19)
07-05 08:00:54.979: D/VitamioPlayer: onInfo: (901, 19)
07-05 08:01:09.439: I/VitamioPlayer: Info (901, 4)
07-05 08:01:09.439: D/VitamioPlayer: onInfo: (901, 4)
07-05 08:01:15.629: I/VitamioPlayer: Info (901, 11)
07-05 08:01:15.629: D/VitamioPlayer: onInfo: (901, 11)
07-05 08:01:27.749: I/VitamioPlayer: Info (901, 5)
07-05 08:01:27.749: D/VitamioPlayer: onInfo: (901, 5)
07-05 08:01:32.039: I/VitamioPlayer: Info (901, 43)
07-05 08:01:32.039: D/VitamioPlayer: onInfo: (901, 43)
07-05 08:01:35.439: I/VitamioPlayer: Info (901, 26)
07-05 08:01:35.439: D/VitamioPlayer: onInfo: (901, 26)
07-05 08:01:38.139: I/VitamioPlayer: Info (901, 24)
07-05 08:01:38.139: D/VitamioPlayer: onInfo: (901, 24)
07-05 08:01:41.179: I/VitamioPlayer: Info (901, 22)
07-05 08:01:41.179: D/VitamioPlayer: onInfo: (901, 22)
07-05 08:01:41.179: I/VitamioPlayer: Info (702, 0)
07-05 08:01:41.179: D/VitamioPlayer: onInfo: (702, 0)
07-05 08:01:41.179: D/AudioTrack(5351): start 0x2d21c8
07-05 08:01:43.009: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.009: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.069: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.069: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.109: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.109: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.169: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.169: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.219: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.219: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.259: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.259: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.319: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.319: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.369: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.369: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.429: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.429: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.469: I/VitamioPlayer: Info (901, 29)
07-05 08:01:43.469: D/VitamioPlayer: onInfo: (901, 29)
07-05 08:01:43.469: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.469: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.569: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.569: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.629: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.629: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.669: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.669: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.729: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.729: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.779: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.779: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.839: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.839: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.879: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.879: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.939: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.939: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:43.989: I/VitamioPlayer: Info (700, 0)
07-05 08:01:43.989: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.049: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.049: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.099: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.099: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.159: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.159: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.209: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.209: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.269: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.269: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.309: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.309: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.369: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.369: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.429: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.429: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.499: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.499: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.539: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.539: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.639: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.639: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.689: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.689: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.739: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.739: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.789: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.789: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.849: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.849: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.889: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.889: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:44.979: I/VitamioPlayer: Info (700, 0)
07-05 08:01:44.979: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.039: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.039: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.079: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.079: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.139: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.139: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.179: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.179: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.239: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.239: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.289: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.289: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.329: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.329: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.389: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.389: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.439: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.439: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.499: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.499: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.539: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.539: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.599: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.599: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.639: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.639: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.789: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.789: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.819: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.819: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.869: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.869: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.919: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.919: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:45.969: I/VitamioPlayer: Info (700, 0)
07-05 08:01:45.969: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.029: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.029: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.069: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.069: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.149: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.149: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.249: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.249: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.299: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.299: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.339: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.339: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.419: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.419: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.469: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.469: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.539: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.539: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.579: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.579: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.629: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.629: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.659: I/VitamioPlayer: Info (901, 18)
07-05 08:01:46.659: D/VitamioPlayer: onInfo: (901, 18)
07-05 08:01:46.659: I/VitamioPlayer: Info (701, 0)
07-05 08:01:46.659: D/VitamioPlayer: onInfo: (701, 0)
07-05 08:01:46.659: D/AudioTrack(5351): pause
07-05 08:01:46.699: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.699: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.729: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.729: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:46.769: I/VitamioPlayer: Info (700, 0)
07-05 08:01:46.769: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:49.939: I/VitamioPlayer: Info (901, 21)
07-05 08:01:49.939: D/VitamioPlayer: onInfo: (901, 21)
07-05 08:01:55.359: I/VitamioPlayer: Info (901, 11)
07-05 08:01:55.359: D/VitamioPlayer: onInfo: (901, 11)
07-05 08:01:57.119: I/VitamioPlayer: Info (702, 0)
07-05 08:01:57.119: D/VitamioPlayer: onInfo: (702, 0)
07-05 08:01:57.119: D/AudioTrack(5351): start 0x2d21c8
07-05 08:01:58.859: I/VitamioPlayer: Info (700, 0)
07-05 08:01:58.859: D/VitamioPlayer: onInfo: (700, 0)
07-05 08:01:59.509: W/AudioTrack(5351): obtainBuffer() track 0x2d21c8 disabled, restarting
07-05 08:01:59.699: D/AudioTrack(5351): pause
07-05 08:01:59.709: D/VitamioPlayer: onCompletion
Also,when the move the seekbar to where it stopped i get the following log, and the seekbar returns back to the end.
07-05 08:09:50.839: D/AudioTrack(5351): start 0x2d21c8
07-05 08:09:50.849: I/VitamioPlayer: Info (702, 0)
07-05 08:09:50.849: D/VitamioPlayer: onInfo: (702, 0)
07-05 08:09:52.179: W/AudioTrack(5351): obtainBuffer() track 0x2d21c8 disabled, restarting
07-05 08:09:52.489: E/Vitamio[4.2.1]Player: avformat_seek_file: Function not implemented : -38
07-05 08:09:52.499: I/VitamioPlayer: Info (701, 0)
07-05 08:09:52.499: D/VitamioPlayer: onInfo: (701, 0)
07-05 08:09:52.499: D/AudioTrack(5351): pause
07-05 08:09:52.509: I/VitamioPlayer: Info (801, -38)
07-05 08:09:52.509: D/VitamioPlayer: onInfo: (801, -38)
07-05 08:09:52.589: D/AudioTrack(5351): pause
07-05 08:09:52.599: I/VitamioPlayer: Info (702, 0)
07-05 08:09:52.599: D/VitamioPlayer: onInfo: (702, 0)
07-05 08:09:52.599: D/AudioTrack(5351): start 0x2d21c8
07-05 08:09:52.599: D/VitamioPlayer: onCompletion
07-05 08:09:53.939: W/AudioTrack(5351): obtainBuffer() track 0x2d21c8 disabled, restarting
Please help. Thank you. I also have the video and audio file out of sync :(.. i dont know what to do about it.
Also, it is possible to buffer a video like the way youtube does? May i please know how?
Thanks alot for your help and patience !
I am using version 4.2.1 of vitamio.
the rtmp link:
rtmp://cp269609.edgefcs.net/ondemand/mp4:207011/mm/flvmedia/2627/n/3/a/n3a210me_g26264gg_h264_1328K.mp4?cid=2627&aid=2191717&afid=4152437
from vitamiobundle.
@crossle - please help..
from vitamiobundle.
@hearbeathorror your video is 1024x576, maybe your device performace is not good, try use HW decoder.
from vitamiobundle.
@crossle - thank you for the reply. Does the vitamio demo contain any code sample related to HW decoder? Could you please guide me a little more ?
thanks.
from vitamiobundle.
@crossle - hi, i went through some samples that talk about using the media codec but then for versions 4.1 and above. and they talk about some output buffer and all. But i do not know where and how to begin with vitamio :(. please help me. or should i change the url to one that points at a smaller video size ?
Please help.
thanks
from vitamiobundle.
@crosslesong - hi!!.. Tell me if i am correct. you said use HW decoder, does that mean i have to set mHardwareDecoder to true by calling setHardwareDecoder(true) of the videoview ??? please assist.. thanks.
i just got the hint today from here
from vitamiobundle.
@hearbeathorror Yes.
from vitamiobundle.
@crossle - thanks for the reply. I will make the changes and let you know how it goes, and if i am stuck :)
from vitamiobundle.
Hi @crossle , i updated the vitamio version i was using to the current one uploaded here on github, but there are a couple of issues :(.. please assist..and the link
rtmp://cp269609.edgefcs.net/ondemand/mp4:207011/mm/flvmedia/2627/n/3/a/n3a210me_g26264gg_h264_1328K.mp4?cid=2627&aid=2191717&afid=4152437
- I set the hardware decoder to true :( but then the video doesnt show anything, only audio,and a black screen with the logo on the video. Please find the image attached.
-
And i am using the media buffer, but then the seekbar doesnt update, it shows 00:00 only.And the progress bar shows the speed that is say 28kbps and 100% all time.
-
There was a time when i got this error :
08-05 13:26:22.609: D/OpenGLRenderer(1189): Flushing caches (mode 0) 08-05 13:26:25.960: D/OpenGLRenderer(1189): Flushing caches (mode 0) 08-05 13:26:37.539: A/libc(1189): Fatal signal 11 (SIGSEGV) at 0x4fbf001c (code=1)
How do i solve these issues please help me.
Here is my code snippet:
uri = Uri.parse(mVideoPath);
mVideoView.setHardwareDecoder(true);
mVideoView.setVideoURI(uri);
mMediaController = new MediaController(this);
mVideoView.setMediaController(mMediaController);
mMediaController.setFileName(mVideoName);
mVideoView.requestFocus();
mVideoView.setOnInfoListener(this);
mVideoView.setOnBufferingUpdateListener(this);
mVideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
@Override
public void onPrepared(MediaPlayer mediaPlayer) {
// optional need Vitamio 4.0
mediaPlayer.setPlaybackSpeed(1.0f);
mMediaController.setFileName(mVideoName);
}
});
and this:
@Override
public void onBufferingUpdate(MediaPlayer mp, int percent) {
loadRateView.setText(percent + "%");
}
@Override
public boolean onInfo(MediaPlayer mp, int what, int extra) {
switch (what) {
case MediaPlayer.MEDIA_INFO_BUFFERING_START:
if (mVideoView.isPlaying()) {
mVideoView.pause();
isStart = true;
pb.setVisibility(View.VISIBLE);
downloadRateView.setVisibility(View.VISIBLE);
loadRateView.setVisibility(View.VISIBLE);
}
break;
case MediaPlayer.MEDIA_INFO_BUFFERING_END:
if (isStart) {
mVideoView.start();
pb.setVisibility(View.GONE);
downloadRateView.setVisibility(View.GONE);
loadRateView.setVisibility(View.GONE);
}
break;
case MediaPlayer.MEDIA_INFO_DOWNLOAD_RATE_CHANGED:
downloadRateView.setText("" + extra + "kb/s" + " ");
break;
}
return true;
}
Please help..
One more log.. this is what i get
08-05 13:37:28.769: D/VitamioPlayer: onVideoSizeChanged: (1024x576)
08-05 13:37:28.769: W/dalvikvm(10335): VFY: unable to resolve virtual method 4995: Landroid/view/Display;.getRealMetrics (Landroid/util/DisplayMetrics;)V
08-05 13:37:28.779: D/VitamioPlayer: VIDEO: 1024x576x1.777778, Surface: 1024x576, LP: 320x180, Window: 320x480x0.666667
08-05 13:37:28.779: D/VitamioPlayer: onPrepared
08-05 13:37:28.789: I/Vitamio[4.2.6]Player: CC: ARMYUV420 0
08-05 13:37:28.809: D/VitamioPlayer: VIDEO: 1024x576x1.777778, Surface: 1024x576, LP: 320x180, Window: 320x480x0.666667
08-05 13:37:28.809: E/Vitamio[4.2.6]Player: Unknown omx video color format: 0
08-05 13:37:28.819: E/Vitamio[4.2.6]Player: Unknown omx video color format: 0
08-05 13:37:28.819: E/Vitamio[4.2.6]Player: Unknown omx video color format: 0
08-05 13:37:28.849: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON
08-05 13:37:28.879: I/VitamioPlayer: Info (701, 0)
08-05 13:37:28.879: D/VitamioPlayer: onInfo: (701, 0)
08-05 13:37:28.959: E/Vitamio[4.2.6]Player: Unknown omx video color format: 0
08-05 13:37:30.079: W/AudioTrack(10335): obtainBuffer() track 0x2eed78 disabled, restarting
08-05 13:37:31.429: W/AudioTrack(10335): obtainBuffer() track 0x2eed78 disabled, restarting
08-05 13:37:31.969: I/VitamioPlayer: Info (901, 231)
08-05 13:37:31.969: D/VitamioPlayer: onInfo: (901, 231)
08-05 13:37:31.979: E/Vitamio[4.2.6]Player: Unknown omx video color format: 0
08-05 13:37:32.789: W/AudioTrack(10335): obtainBuffer() track 0x2eed78 disabled, restarting
08-05 13:37:34.139: W/AudioTrack(10335): obtainBuffer() track 0x2eed78 disabled, restarting
08-05 13:37:35.499: W/AudioTrack(10335): obtainBuffer() track 0x2eed78 disabled, restarting
08-05 13:37:36.859: W/AudioTrack(10335): obtainBuffer() track 0x2eed78 disabled, restarting
08-05 13:37:36.919: I/VitamioPlayer: Info (901, 12)
08-05 13:37:36.919: D/VitamioPlayer: onInfo: (901, 12)
08-05 13:37:38.219: W/AudioTrack(10335): obtainBuffer() track 0x2eed78 disabled, restarting
08-05 13:37:39.569: W/AudioTrack(10335): obtainBuffer() track 0x2eed78 disabled, restarting
Unknown omx video color format: 0 -> how do i pass this ?Where do i get it from ?
And then when i wait for it to buffer, i get this 👍
08-05 13:52:11.549: I/VitamioPlayer: Info (702, 0)
08-05 13:52:11.549: D/VitamioPlayer: onInfo: (702, 0)
08-05 13:52:12.349: D/AudioTrack(10335): pause
08-05 13:52:12.349: D/VitamioPlayer: onVideoSizeChanged: (1024x576)
08-05 13:52:12.349: D/VitamioPlayer: VIDEO: 1024x576x1.777778, Surface: 1024x576, LP: 320x180, Window: 320x480x0.666667
08-05 13:52:12.349: D/VitamioPlayer: onCompletion
It then stops playing :( ... please heeeelpp...
And seeking to a position, the log says this:
08-05 13:55:19.239: E/Vitamio[4.2.6]Player: [rtmp @ 0x2bf650] Unable to send seek command on stream index 0 at timestamp 151719 with flags 00000001
08-05 13:55:19.239: E/Vitamio[4.2.6]Player: [rtmp @ 0x2bf650] Unable to send seek command on stream index 0 at timestamp 9223372036854776 with flags 00000001
08-05 13:55:19.239: E/Vitamio[4.2.6]Player: avformat_seek_file err: Function not implemented : -38
08-05 13:55:19.259: I/VitamioPlayer: Info (801, -38)
08-05 13:55:19.259: D/VitamioPlayer: onInfo: (801, -38)
08-05 13:55:19.349: I/VitamioPlayer: Info (702, 0)
08-05 13:55:19.359: D/VitamioPlayer: onInfo: (702, 0)
08-05 13:55:19.359: I/Vitamio[4.2.6]Player: start
08-05 13:55:19.359: D/AudioTrack(10335): start 0x2eed78
08-05 13:55:20.149: D/AudioTrack(10335): pause
08-05 13:55:20.149: D/VitamioPlayer: onCompletion
from vitamiobundle.
@crosslesong @crossle - sir , it would be really nice if you could help me out too :( I have no clue what to do ..
from vitamiobundle.
@crossle plizzzzzzzzzzzzzzzzzzzzzzzzzzzzz help me :(
from vitamiobundle.
@hearbeathorror you must set mVideoView.setHardwareDecoder(false);
hardware decoder not work property.
from vitamiobundle.
@master255 @crossle - i did set it to false the first time, but then the issue was it stops playing the whole video.. :( which is not really how it has to be. is there a way i could solve this?
from vitamiobundle.
@master255 @crossle - it was there in the demo and i left it as it is.. is it wrong??
from vitamiobundle.
@hearbeathorror where is your demo repository? Make this and publish them.
from vitamiobundle.
@master255 - do u mind taking up the video buffer demo given by @crossle , then in the code u just have to replace it with the one that i have given, setting hardware decoder to false.. i currently do not have the demo set up and i dont have the code with me here. (in office) :(... pliz
from vitamiobundle.
@hearbeathorror i want to testing it on different devices and different settings. It's hard to understand what wrong with your code without work example.
And may be you need to chose different way, like use your custom videoview? As like https://github.com/master255/TextureVideoPlayer based on standart media player or vitamio
Or don't use code what showing buffer progress.
Or use https://github.com/google/ExoPlayer
Or use (recommendation) https://github.com/yixia/VitamioBundle/blob/master/vitamio-sample/src/io/vov/vitamio/demo/MediaPlayerDemo_Video.java
from vitamiobundle.
I would want to be able to stream rtmp like the url in my code in all devices from 2.3 to 4.4 .. so will the files that you have mentioned able to do so? Also i could try MediaPlayerdemo and let you know. If you wnt the code i could post it tonight if thats alrite. @master255 .. even if i stop using that buffer code, it would still stop the player from playing isnt it ?
from vitamiobundle.
@hearbeathorror i don't know. That would answer these questions I need a sample repository.
from vitamiobundle.
@master255 @crossle - i have created the sample repository here ,please help me :(.. i need to update this soon.
from vitamiobundle.
@master255 - help pliz..!!
from vitamiobundle.
@master255 @crossle - i cannot play rtmp using mediaplayer demo video . i get this error:
Giving up thread 12, exiting
Fatal sig
from vitamiobundle.
@hearbeathorror Wait, I saw your message. It's almost soon.
from vitamiobundle.
@hearbeathorror i looked all 15 minutes of video without any bug. All work perfect. Look at my pull reqest.
from vitamiobundle.
@master255 - thank you for the pull. does this mean that some of the permissions were missing and that is why is stops in between at my end?? or is my device like that ? this issue was also reported by a moto device :( ..i will add the new permissions and then test check again.. and then get back to u soon.
from vitamiobundle.
@master255 @crossle - hi .. cud it be possible that your device is capable of handling the video size ? just the way @crossle mentioned in one of the comments that my device may not be capable of handling the video ? could you check this on a device that has low power ? i mean a device with not that good a processor?? pliz..
from vitamiobundle.
@hearbeathorror which version Android you tested?
I test it on galaxy s5 android 4.4.2.
from vitamiobundle.
@master255 - i used optima vtab version 4.1 and Stellar blaze spice android version 2.3.3, the user complaining has android 4.2 and moto X i think.
from vitamiobundle.
@hearbeathorror what is your problem now and on what devices?
from vitamiobundle.
@master255 - give me a moment pliz..:)...i nid to check it thoroughly.. but i really wanted to know the issue was in the permissions?
from vitamiobundle.
@hearbeathorror maybe
from vitamiobundle.
@master255 -hiii.. i watched the video.. And it played well till 3:21,and then it stopped suddenly :(.. It still persists on my device. Android 2.3.6, Spice mi355. What do i do now? Please hlp.
from vitamiobundle.
@hearbeathorror you test it on android 4+?
In general, I advocate using api 4+. It's recommendation from Google.
I will not help with the android 4-.
from vitamiobundle.
@master255 - yes, i will test it on 4 plus also.. just give me an hour please..n il get back to u here only..
from vitamiobundle.
@master255 - i donot know why .. but why do i get this error the first time i try to run the app on a tab with 4.0.3 version?
08-17 19:36:28.914: I/Vitamio[4.2.6]Player: Copyright (c) YIXIA (http://yixia.com).
08-17 19:36:28.914: I/Vitamio[4.2.6]Player: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
08-17 19:36:28.921: I/Vitamio[4.2.6]Player: LOAD FFMPEG START: /data/data/com.adonnai.pname/libs/libffmpeg.so
08-17 19:36:28.929: I/Vitamio[4.2.6]Player: LOAD FFMPEG END: /data/data/com.adonnai.pname/libs/libffmpeg.so
08-17 19:36:28.929: I/Vitamio[4.2.6]Player: LOAD VVO START: /data/data/com.adonnai.pname/libs/libvvo.9.so
08-17 19:36:28.929: E/Vitamio[4.2.6]Player: FIND_NAME_SYM vvo, render_yuv
08-17 19:36:28.929: I/Vitamio[4.2.6]Player: LOAD VVO END: /data/data/com.adonnai.pname/libs/libvvo.9.so
08-17 19:36:28.929: I/Vitamio[4.2.6]Player: LOAD VAO START: /data/data/com.adonnai.pname/libs/libvao.0.so
08-17 19:36:28.929: I/Vitamio[4.2.6]Player: LOAD VAO END: /data/data/com.adonnai.pname/libs/libvao.0.so
08-17 19:36:28.929: I/Vitamio[4.2.6]Player: VPLAYER INIT BEGIN
08-17 19:36:28.929: I/Vitamio[4.2.6]Player: Application package name: com.adonnai.pname
08-17 19:36:28.953: I/Vitamio[4.2.6]Player: VPLAYER INIT END
08-17 19:36:28.953: I/Vitamio[4.2.6]Player: Copyright (c) YIXIA (http://yixia.com).
08-17 19:36:28.953: I/Vitamio[4.2.6]Player: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
08-17 19:36:28.953: I/Vitamio[4.2.6]Player: Application package name: com.adonnai.pname
08-17 19:36:28.953: I/Vitamio[4.2.6]Player: Copyright (c) YIXIA (http://yixia.com).
08-17 19:36:28.953: I/Vitamio[4.2.6]Player: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
08-17 19:36:28.953: I/Vitamio[4.2.6]Player: Application package name: com.adonnai.pname
08-17 19:36:28.953: I/Vitamio[4.2.6]Player: PREPARE SIG: 0
08-17 19:36:28.960: I/Vitamio[4.2.6]Player: THREAD PREPARE START
08-17 19:36:28.960: I/Vitamio[4.2.6]Player: THREAD PREPARE ATTACHED
08-17 19:36:28.960: I/Vitamio[4.2.6]Player: Copyright (c) YIXIA (http://yixia.com).
08-17 19:36:28.960: I/Vitamio[4.2.6]Player: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com)
08-17 19:36:28.960: I/Vitamio[4.2.6]Player: OPEN FILE rtmp://cp269609.edgefcs.net/ondemand/mp4:207011/mm/flvmedia/2627/n/3/a/n3a210me_g26264gg_h264_1328K.mp4?cid=2627&aid=2191717&afid=4152437
08-17 19:36:29.070: D/OpenGLRenderer(1803): Flushing caches (mode 0)
08-17 19:36:39.882: A/libc(1803): Fatal signal 11 (SIGSEGV) at 0x4d25101c (code=1)
Let me run it once more and tell you if it stops.
from vitamiobundle.
@master255 - i am afraid but this issue still occurs in android v 4.0.3
08-17 20:11:39.367: W/AudioTrack(2589): obtainBuffer() track 0xd966a8 disabled, restarting
08-17 20:11:39.382: I/VitamioPlayer: Info (901, 23)
08-17 20:11:39.382: D/VitamioPlayer: onInfo: (901, 23)
08-17 20:11:39.382: I/VitamioPlayer: Info (701, 0)
08-17 20:11:39.382: D/VitamioPlayer: onInfo: (701, 0)
08-17 20:11:39.382: I/Vitamio[4.2.6]Player: stop
08-17 20:11:39.460: I/VitamioPlayer: Info (700, 0)
08-17 20:11:39.460: D/VitamioPlayer: onInfo: (700, 0)
08-17 20:11:39.515: I/VitamioPlayer: Info (700, 0)
08-17 20:11:39.515: D/VitamioPlayer: onInfo: (700, 0)
08-17 20:11:39.570: I/VitamioPlayer: Info (700, 0)
08-17 20:11:39.570: D/VitamioPlayer: onInfo: (700, 0)
08-17 20:11:43.546: I/VitamioPlayer: Info (901, 15)
08-17 20:11:43.546: D/VitamioPlayer: onInfo: (901, 15)
08-17 20:11:48.656: I/VitamioPlayer: Info (702, 0)
08-17 20:11:48.656: D/VitamioPlayer: onInfo: (702, 0)
08-17 20:11:48.656: I/Vitamio[4.2.6]Player: start
08-17 20:11:49.914: W/AudioTrack(2589): obtainBuffer() track 0xd966a8 disabled, restarting
08-17 20:11:49.945: D/VitamioPlayer: onCompletion
It stopped at 1:52 .. please help @master255 @crossle
from vitamiobundle.
@hearbeathorror I also have this error if i turn off the internet when the video plays. Check internet conection from your computer to target site.
from vitamiobundle.
@master255 @crossle - yes the internet tower does go away for a while when the video stops.. Is there a way i could handle this in code? please help. also i would want to start playing the video when the user moves the seekbar but that also doesnt work :(. i do not know how to make it work. Please assist....
from vitamiobundle.
@hearbeathorror you can restarting video or increase buffer. Now I do not have time for this, but I'll get to that shortly.
from vitamiobundle.
@master255 - ok i will look into how to increase the buffer size. but pliz do get back to this issue soon :(.. thank u for the advices.. il try them. i need to upload the updated version :( .. @crossle - helppppp !!! ...
from vitamiobundle.
Related Issues (20)
- demo自带的mp3播放都报错,不能播放音频了??
- Vitamio[Scanner]: avformat_open_input: Transport endpoint is not connected : -107
- When frame size changed then video play blur in live stream playing using RTMP url
- Black Stripe on Bottom
- Vitamio.jar HOT 1
- 本地m3u8文件首次黑屏,第二次正常,求解决
- 在线播放M3u8格式视频,卡顿怎么办?已经设置了512*1024的缓存。
- How can I modify the shape and rotation angle of the video frames?
- x86_64 support HOT 3
- f********k
- Native libs libvvo.7.so not exists!
- Unable to stop activity ava.lang.IndexOutOfBoundsException: Index: 2, Size: 2 HOT 3
- A lot of minor issues on 4.2.2
- linker: "/data/data/test.com.livetest/libs/libffmpeg.so" has text relocations
- 一切都整好了为什么会出现这样的问题? HOT 1
- h265协议视频播放只有音频没有画面 HOT 1
- Is this project dead? Not updated for so many years?
- Is g711a format audio supported?
- 不支持arm64-v8a
- vs导入vitamio后找不到io.vov.vitamio.BuildConfig类
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitamiobundle.