stevenlow / spydroid-ipcamera

Automatically exported from code.google.com/p/spydroid-ipcamera
GNU General Public License v3.0
0 stars 0 forks source link

Getting index out of bounds exception #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using Samsung GAlaxy Y with android 2.3.6 I am facing following problem. 
The indexoutofbound exception is thrown from the StsdBox.java file. My logcat 
displays..
04-28 12:54:09.242: E/AndroidRuntime(1356): java.lang.IndexOutOfBoundsException
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
java.io.RandomAccessFile.read(RandomAccessFile.java:341)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.libmp4.StsdBox.findSPSandPPS(StsdBox.java:112)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.libmp4.StsdBox.<init>(StsdBox.java:51)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.libmp4.MP4Parser.getStsdBox(MP4Parser.java:58)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.streaming.TestH264.runTest(TestH264.java:186)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.streaming.TestH264.access$0(TestH264.java:119)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
net.majorkernelpanic.streaming.TestH264$1.onInfo(TestH264.java:83)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
android.media.MediaRecorder$EventHandler.handleMessage(MediaRecorder.java:788)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
android.os.Looper.loop(Looper.java:130)
04-28 12:54:09.242: E/AndroidRuntime(1356):     at 
android.app.ActivityThread.main(ActivityThread.java:3687)

Original issue reported on code.google.com by niranjan...@gmail.com on 28 Apr 2012 at 8:48

GoogleCodeExporter commented 9 years ago
Hi :)

Could you record a little video encoded in H264 with your phone and send it to 
me, so that i can see why StsdBox.findSPSandPPS fails on your phone ?

Original comment by FyHertz on 29 Apr 2012 at 12:17

GoogleCodeExporter commented 9 years ago
PFA the video encoded with H.264 and in mp4 container.
Thanks

Original comment by niranjan...@gmail.com on 29 Apr 2012 at 4:12

Attachments: