Menu

ffmpeg partial file error when instantiating new XuggleVideo

Anonymous
2016-08-17
2016-08-26
  • Anonymous

    Anonymous - 2016-08-17

    Hi Jonathon,

    I'm getting an error when I try to process an mp4 file with the following code:

    Video<mbfimage> video;
    video = new XuggleVideo(new File("D:/users/j/GoPro/4985FF650072446333FC7DCF3C9DAB3E.mp4"));</mbfimage>

    Here is the error:

    12:18:00.028 [main] DEBUG com.xuggle.xuggler - Could not open output url: file:/D:/users/GoPro/4985FF650072446333FC7DCF3C9DAB3Es.mp4 (../../../../../../../csrc/com/xuggle/xuggler/Container.cpp:436)
    12:18:00.364 [main] ERROR org.ffmpeg - [mov,mp4,m4a,3gp,3g2,mj2 @ 00FA9C00] stream 0, offset 0x1711: partial file
    12:18:01.139 [Thread-3] ERROR org.ffmpeg - [mov,mp4,m4a,3gp,3g2,mj2 @ 00FA9C00] stream 0, offset 0x3bd41: partial file
    12:18:01.150 [Thread-3] ERROR org.ffmpeg - [mov,mp4,m4a,3gp,3g2,mj2 @ 00FA9C00] stream 0, offset 0x3c134: partial file

    You can download the mp4 file from my Google Drive: https://drive.google.com/open?id=0BzzBPrumwjNTX05CTThwQXBhT1E

    Any ideas?

    Thanks
    Jamie

     
  • Jonathon Hare

    Jonathon Hare - 2016-08-17

    What version of OpenIMAJ? I just tried for myself with that video (opening the file with XuggleVideo & playing it with a VideoDisplay) & didn't have any problems (notably on OSX rather than Windows).

     
  • Anonymous

    Anonymous - 2016-08-17

    Hey Jonathon,

    Thanks for the quick response. It is 1.3.5. I'm using Windows 10. Also I'm running it via Eclipse version Juno (although I don't think that should matter).

    Thanks!
    Jamie

     
  • Jonathon Hare

    Jonathon Hare - 2016-08-24

    Can you quickly try doing:

    video = new XuggleVideo("D:/users/j/GoPro/4985FF650072446333FC7DCF3C9DAB3E.mp4");
    

    i.e. without the new File bit

     
  • Anonymous

    Anonymous - 2016-08-25

    That works!! Excellent. Thanks Jonathon.

     
  • Jonathon Hare

    Jonathon Hare - 2016-08-26

    Ok, that's good. A bit wierd though... will need to dig into the code to see why that's the case.

     
  • Anonymous

    Anonymous - 2024-01-19
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel