pulkit180894 / spydroid-ipcamera

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

Fix for stsd box not found error (tested on Motorola Atrix 2) #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please change the code for MP4Parser.java line 89 as below:

    else {
        if( len < 8){
            fis.seek(fis.getFilePointer() - 8 + len);
            sum += len-8;
        } else {
            fis.skipBytes((int) (len-8)); pos += len-8;
            sum += len-8;
        }
    }

What steps will reproduce the problem?
1. Run spydroid on Motorola Atrix-2 choosing H264 as video
2.
3.

What is the expected output? What do you see instead?
--

What version of the product are you using? On what operating system?
--

Please provide any additional information below.
There are few boxes that may be below 8 bytes (or rather below 16 bytes). for 
atrix2 it was /moov/udta/kywd

Original issue reported on code.google.com by chotayth...@gmail.com on 10 Jul 2012 at 7:34

Attachments:

GoogleCodeExporter commented 8 years ago
Done !
Thank you :)

Original comment by FyHertz on 11 Jul 2012 at 2:39

GoogleCodeExporter commented 8 years ago
Hello,
I get the same error when I choose h264 on spydroid-ipcamera 6.9 on Samsung 
Galaxy S2/Android 2.3.5.

And with h263 it only uses 320x240 even though I set 640x480.

Original comment by BlueiceHaller on 6 Feb 2013 at 12:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
hello,
i am using HCl Me U1 tablet, i am also facing same error "stsd box not found" 
on below line

return new StsdBox(fis,getBoxPos("/moov/trak/mdia/minf/stbl/stsd"));

tab have Android 4.0.3 os

Original comment by a...@vspace.in on 12 Feb 2013 at 4:02

GoogleCodeExporter commented 8 years ago
Is there a fix for this?  Get this error on Google Glass.

Original comment by patjacks...@gmail.com on 21 Aug 2013 at 5:52

GoogleCodeExporter commented 8 years ago
For me using H263 works but H264 gives the error.

Original comment by egfcon...@gmail.com on 11 Jan 2014 at 4:05