Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 557

vtad
Aspiring developer
Profile
Posts: 40
Reg: Nov 17, 2013
Jettingen
8,700
12/07/13 02:42 AM (11 years ago)

AT53 Video Player, doesn not find the mp4 file on Android

Using V 3.0 and using an URL for the mp4 file. On the simulator I get: "Cannot Play Video, there was a problem loading the video File or stream." Opening the URL with IE or FF works. LogCat: 12-07 09:34:20.284: D/dalvikvm(250): GC_CONCURRENT freed 397K, 6% free 11313K/11911K, paused 9ms+4ms, total 57ms 12-07 09:35:22.182: W/ZZ(606): At53_video_player:playVideo 12-07 09:35:22.242: V/PhoneStatusBar(217): setLightsOn(true) 12-07 09:35:22.452: D/MediaPlayer(606): Couldn't open file on client side, trying server side 12-07 09:35:22.462: I/AwesomePlayer(38): setDataSource_l('http://www.vtad.de/tutorials/livetradingroller/livetradingroller.mp4') 12-07 09:35:22.512: V/ChromiumHTTPDataSource(38): connect on behalf of uid 10045 12-07 09:35:22.512: I/ChromiumHTTPDataSource(38): connect to http://www.vtad.de/tutorials/livetradingroller/livetradingroller.mp4 @0 12-07 09:35:22.532: I/qtaguid(38): Tagging socket 27 with tag 3f500000000(1013) for uid 10045 failed errno=-2 12-07 09:35:22.562: W/ZZ(606): At53_video_player:playVideo loading from: http://www.vtad.de/tutorials/livetradingroller/livetradingroller.mp4 12-07 09:35:22.712: D/dalvikvm(606): GC_CONCURRENT freed 159K, 2% free 11632K/11847K, paused 15ms+70ms, total 247ms 12-07 09:35:23.045: I/AwesomePlayer(38): Prepare cancelled while waiting for initial cache fill. 12-07 09:35:23.045: E/MediaPlayer(606): error (1, -2147483648) 12-07 09:35:23.052: D/MediaPlayer(606): Couldn't open file on client side, trying server side 12-07 09:35:23.052: I/AwesomePlayer(38): setDataSource_l('http://www.vtad.de/tutorials/livetradingroller/livetradingroller.mp4') 12-07 09:35:23.082: V/ChromiumHTTPDataSource(38): connect on behalf of uid 10045 12-07 09:35:23.082: I/ChromiumHTTPDataSource(38): connect to http://www.vtad.de/tutorials/livetradingroller/livetradingroller.mp4 @0 12-07 09:35:23.153: I/Choreographer(606): Skipped 99 frames! The application may be doing too much work on its main thread. 12-07 09:35:23.192: I/qtaguid(38): Tagging socket 31 with tag 3f500000000(1013) for uid 10045 failed errno=-2 12-07 09:35:23.192: I/qtaguid(38): Untagging socket 27 failed errno=-2 12-07 09:35:23.592: W/MediaPlayer(606): mediaplayer went away with unhandled events 12-07 09:35:23.632: I/Choreographer(606): Skipped 51 frames! The application may be doing too much work on its main thread. 12-07 09:35:23.912: E/WVMExtractor(38): Failed to open libwvm.so 12-07 09:35:34.902: I/OMXCodec(38): [OMX.google.h264.decoder] AVC profile = 77 (Main), level = 31 12-07 09:35:34.902: I/OMXCodec(38): [OMX.google.h264.decoder] video dimensions are 320 x 240 12-07 09:35:34.902: I/OMXCodec(38): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0) 12-07 09:35:36.322: D/MediaPlayer(606): getMetadata 12-07 09:35:36.322: W/ZZ(606): At53_video_player:videoViewPreparedListener 12-07 09:35:36.372: E/SoftAVC(38): Decoder failed: -2 12-07 09:35:36.372: E/OMXCodec(38): [OMX.google.h264.decoder] ERROR(0x80001001, -1007) 12-07 09:35:36.382: I/SoftAAC2(38): Reconfiguring decoder: 44100 Hz, 2 channels 12-07 09:35:36.382: D/AudioSink(38): bufferCount (4) is too small and increased to 12 12-07 09:35:36.392: E/MediaPlayer(606): error (1, -2147483648) 12-07 09:35:36.403: E/MediaPlayer(606): Attempt to call getDuration without a valid mediaplayer 12-07 09:35:36.403: E/MediaPlayer(606): error (-38, 0) 12-07 09:35:36.452: I/Choreographer(606): Skipped 33 frames! The application may be doing too much work on its main thread. 12-07 09:35:36.742: E/MediaPlayer(606): Error (1,-2147483648) 12-07 09:35:36.742: D/VideoView(606): Error: 1,-2147483648 12-07 09:35:36.752: W/ZZ(606): At53_video_player:videoViewErrorListener 12-07 09:35:37.242: V/PhoneStatusBar(217): setLightsOn(true) 12-07 09:35:37.272: W/ZZ(606): At53_video_player:stopVideo 12-07 09:35:37.322: W/TimedEventQueue(38): Event 7 was not found in the queue, already cancelled? 12-07 09:35:37.362: W/AudioFlinger(38): session id 6 not found for pid 606 12-07 09:35:37.372: I/Choreographer(606): Skipped 72 frames! The application may be doing too much work on its main thread. 12-07 09:35:37.382: I/qtaguid(38): Untagging socket 31 failed errno=-2 12-07 09:37:56.971: E/ThrottleService(148): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/07/13 04:38 AM (11 years ago)
On IOS the plugin can find a local file on the project, but not one in a URL.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/07/13 04:39 AM (11 years ago)
I tried putting this link into my browser: http://www.vtad.de/tutorials/livetradingroller/livetradingroller.mp4 and it's showing that the running time is about 3 1/2 hours. That's going to be a big file, and I suspect it's taking a long time to download into your app, and the plugin may be timing out before it finishes loading. Try using a smaller file in the testing phases. And you may wish to think about using a smaller filesize for the videos, or break it up into separate chapters, if that works. I think it's just a video player, and maybe not a video 'streamer', which is what you'll need for something of that size. You may want to talk to Atrain about the capabilities of the plugin; he's the author. I've used it with great success, but with much smaller video files. Cheers! -- Smug
 
vtad
Aspiring developer
Profile
Posts: 40
Reg: Nov 17, 2013
Jettingen
8,700
like
12/07/13 06:37 AM (11 years ago)
Its 304MB big,is that too much?
 
vtad
Aspiring developer
Profile
Posts: 40
Reg: Nov 17, 2013
Jettingen
8,700
like
12/07/13 06:50 AM (11 years ago)
Problem occurs also with a smaller video (46 MB), does AT53 support HD Videos (720p)?
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/07/13 01:08 PM (11 years ago)
Have you tried using a local file? I have the same problem, but only with URL files, local files work fine. At least on IOS.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/07/13 01:10 PM (11 years ago)
I'd say a 300MB video file is very big, but it depends on what it is... If it's a movie, its expected to be big, right? But a file that size if you only host it on a URL, without having any video support, it will take ages to load, and will only start loading after it has been fully downloaded.
 
vtad
Aspiring developer
Profile
Posts: 40
Reg: Nov 17, 2013
Jettingen
8,700
like
12/08/13 02:35 AM (11 years ago)
Thx for the Info, I think I will skip this part of my project (most of the videos are > 100MB)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.