My favorites | Sign in
Project Home Downloads Wiki Issues Source
Details: Show all Hide all

Older

  • Nov 19, 2010
    GettingStarted Wiki page commented on by vadym.vikulin   -   vadym@ubuntu:~/workspace/videotranscoder/WebContent/WEB-INF/lib$ java -jar jFlvTool.jar -srcfile /home/vadym/Desktop/fake.flv -embed width=481 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(libgcj.so.10) at com.sonydadc.dw.jflv.io.BufferHelper.readBinaryString(BufferHelper.java:121) at com.sonydadc.dw.jflv.tags.VideoTag.<init>(VideoTag.java:86) at com.sonydadc.dw.jflv.parse.TagParser.parseTag(TagParser.java:166) at com.sonydadc.dw.jflv.parse.TagParser.readTags(TagParser.java:137) at com.sonydadc.dw.jflv.metadata.TagBroker.<init>(TagBroker.java:63) at com.sonydadc.dw.jflv.cli.Main.main(Main.java:94)
    vadym@ubuntu:~/workspace/videotranscoder/WebContent/WEB-INF/lib$ java -jar jFlvTool.jar -srcfile /home/vadym/Desktop/fake.flv -embed width=481 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(libgcj.so.10) at com.sonydadc.dw.jflv.io.BufferHelper.readBinaryString(BufferHelper.java:121) at com.sonydadc.dw.jflv.tags.VideoTag.<init>(VideoTag.java:86) at com.sonydadc.dw.jflv.parse.TagParser.parseTag(TagParser.java:166) at com.sonydadc.dw.jflv.parse.TagParser.readTags(TagParser.java:137) at com.sonydadc.dw.jflv.metadata.TagBroker.<init>(TagBroker.java:63) at com.sonydadc.dw.jflv.cli.Main.main(Main.java:94)
  • Aug 27, 2010
    KnownProblems Wiki page added by jon.keys   -   Revision r20 Created wiki page through web user interface.
    Revision r20 Created wiki page through web user interface.
  • Aug 27, 2010
    Contributions (Special thanks) Wiki page edited by jon.keys   -   Revision r19 Edited wiki page Contributions through web user interface.
    Revision r19 Edited wiki page Contributions through web user interface.
  • Aug 27, 2010
    Contributions (Special thanks) Wiki page edited by jon.keys   -   Revision r18 Edited wiki page Contributions through web user interface.
    Revision r18 Edited wiki page Contributions through web user interface.
  • Aug 27, 2010
    Contributions (Special thanks) Wiki page commented on by jon.keys   -   Also, big thanks to dsgirard for fixing the single stream bug!
    Also, big thanks to dsgirard for fixing the single stream bug!
  • Aug 27, 2010
    jFlvTool4.zip (FlvTool Binary (zip)) file uploaded by jon.keys   -  
    Labels: binary compiled zip
    Labels: binary compiled zip
  • Aug 27, 2010
    r17 (bugfixes from dsgirard which adds support for single stream ...) committed by jon.keys   -   bugfixes from dsgirard which adds support for single stream flv's
    bugfixes from dsgirard which adds support for single stream flv's
  • Aug 27, 2010
    issue 2 (Single stream files throw exception) changed by jon.keys   -   Thanks dsgirard! Sorry it took so long to integrate your fixes.
    Status: Fixed
    Owner: jon.keys
    Thanks dsgirard! Sorry it took so long to integrate your fixes.
    Status: Fixed
    Owner: jon.keys
  • Aug 27, 2010
    GettingStarted Wiki page commented on by visumagic   -   Please provide sample commands and sample meta file. thanks
    Please provide sample commands and sample meta file. thanks
  • Aug 27, 2010
    GettingStarted Wiki page commented on by visumagic   -   Please provide some sample commands
    Please provide some sample commands
  • Jul 19, 2010
    issue 4 (Error when trying to embed metadata) reported by efico1   -   What steps will reproduce the problem? 1. executing the following command: java -jar jFlvTool.jar -srcfile b.flv -embed fname=efi 2. 3. What is the expected output? What do you see instead? I'm getting a java exception What version of the product are you using? latest On what operating system? win XP Please provide any additional information below.
    What steps will reproduce the problem? 1. executing the following command: java -jar jFlvTool.jar -srcfile b.flv -embed fname=efi 2. 3. What is the expected output? What do you see instead? I'm getting a java exception What version of the product are you using? latest On what operating system? win XP Please provide any additional information below.
  • Jan 12, 2009
    issue 3 (height and width almost always zero) reported by mikenereson   -   Hi. I have a large number of videos that I have been indexing with jflvtool. I recently discovered, when we started using 16:9 vidoes, that the height and width are coming back as zero after indexed most of the time. I am stepping through TagBroker#getVideoHeight and TagBroker#getVideoWidth where its looking to the metadata tag for these values. If I use other tools to read index the file, such as yamdi (yet another meta data injector) the data is properly injected. If I then index the video with jflvtool after injecting with yamdi, of course, the hight and width are found in the metadata tag, so getVideoHeight and getVideoWidth work. Do you know of specific cases where the height and width can not be found, or do expect that it should be working on all videos? I may be able to supply you with a video to test against, but it is private (owned by my company) so I can't post it to you here. Thanks for the feedback.
    Hi. I have a large number of videos that I have been indexing with jflvtool. I recently discovered, when we started using 16:9 vidoes, that the height and width are coming back as zero after indexed most of the time. I am stepping through TagBroker#getVideoHeight and TagBroker#getVideoWidth where its looking to the metadata tag for these values. If I use other tools to read index the file, such as yamdi (yet another meta data injector) the data is properly injected. If I then index the video with jflvtool after injecting with yamdi, of course, the hight and width are found in the metadata tag, so getVideoHeight and getVideoWidth work. Do you know of specific cases where the height and width can not be found, or do expect that it should be working on all videos? I may be able to supply you with a video to test against, but it is private (owned by my company) so I can't post it to you here. Thanks for the feedback.
  • Dec 08, 2008
    issue 2 (Single stream files throw exception) commented on by dsgirard   -   Simple changes to these two classes allow process to complete on single streams. basically just array length checks.
    Simple changes to these two classes allow process to complete on single streams. basically just array length checks.
  • Dec 06, 2008
    issue 2 (Single stream files throw exception) commented on by dsgirard   -   Getting the same problem ;)
    Getting the same problem ;)
  • Dec 02, 2008
    issue 2 (Single stream files throw exception) reported by simb...@gmx.de   -   When trying to inject metadata into a file which contains only one media stream (i.e. only audio or only video data) an ArrayIndexOutOfBoundsException is thrown. That's the output for an video-only file: at java.util.ArrayList.get(ArrayList.java:324) at com.sonydadc.dw.jflv.metadata.TagBroker.getAudioCodecId(TagBroker.java:322) at com.sonydadc.dw.jflv.metadata.MetaDataGen.buildOnMetaData(MetaDataGen.java:97) That's the output for an audio-only file: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.get(ArrayList.java:324) at com.sonydadc.dw.jflv.metadata.TagBroker.getVideoCcodecId(TagBroker.java:326) at com.sonydadc.dw.jflv.metadata.MetaDataGen.buildOnMetaData(MetaDataGen.java:98) It seems this affects some more methods than I wish it would and therefore I don't have any patch, yet.
    When trying to inject metadata into a file which contains only one media stream (i.e. only audio or only video data) an ArrayIndexOutOfBoundsException is thrown. That's the output for an video-only file: at java.util.ArrayList.get(ArrayList.java:324) at com.sonydadc.dw.jflv.metadata.TagBroker.getAudioCodecId(TagBroker.java:322) at com.sonydadc.dw.jflv.metadata.MetaDataGen.buildOnMetaData(MetaDataGen.java:97) That's the output for an audio-only file: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.get(ArrayList.java:324) at com.sonydadc.dw.jflv.metadata.TagBroker.getVideoCcodecId(TagBroker.java:326) at com.sonydadc.dw.jflv.metadata.MetaDataGen.buildOnMetaData(MetaDataGen.java:98) It seems this affects some more methods than I wish it would and therefore I don't have any patch, yet.
  • Oct 21, 2008
    Contributions (Special thanks) Wiki page added by jon.keys
  • Oct 21, 2008
    r15 (fixed bug when dealing with AMF objects / mixed arrays) committed by jon.keys   -   fixed bug when dealing with AMF objects / mixed arrays
    fixed bug when dealing with AMF objects / mixed arrays
  • Oct 21, 2008
    GettingStarted Wiki page edited by jon.keys
  • Oct 21, 2008
    issue 1 (Access to Metadata) Status changed by jon.keys   -  
    Status: Fixed
    Status: Fixed
  • Oct 21, 2008
    issue 1 (Access to Metadata) commented on by jon.keys   -   Hi Steffen, Sorry it has taken a while to respond. I didn't know anyone had filed a feature request. Anyhow, sure we can add this. In fact, it's already in the trunk. I hope it is useful for you! Best regards, Jon
    Hi Steffen, Sorry it has taken a while to respond. I didn't know anyone had filed a feature request. Anyhow, sure we can add this. In fact, it's already in the trunk. I hope it is useful for you! Best regards, Jon
  • Oct 21, 2008
    r13 (fixed h263 bug / added metadata getter in ParseMeta class) committed by jon.keys   -   fixed h263 bug / added metadata getter in ParseMeta class
    fixed h263 bug / added metadata getter in ParseMeta class
  • Oct 21, 2008
    GettingStarted Wiki page edited by jon.keys
  • Sep 19, 2008
    issue 1 (Access to Metadata) reported by steffen.heil   -   Could you please add the following to com.sonydadc.dw.jflv.parse.ParseMeta: public HashMap<String,Object> getMetaData() { return mt == null ? null : (HashMap<String,Object>)mt.getMetaData (); } I'd like to use it as bellow: public final class FlvSize { public final int width; public final int height; private static int toInt( Object object ) { if ( object == null ) return - 1; if ( object instanceof Double ) return ( (Double) object ).intValue(); if ( object instanceof Integer ) return ( (Integer) object ).intValue(); return - 1; } public FlvSize( File file ) { int readWidth = - 1, readHeight = - 1; IOHelper ioh = null; try { ioh = new IOHelper( file ); new FlvHeader( ioh ); ParseMeta parm = new ParseMeta( ioh ); parm.findMetaTag(); HashMap<String,Object> metaData = parm.getMetaData (); readWidth = toInt( metaData.get( "width" ) ); readHeight = toInt( metaData.get( "height" ) ); } catch ( Throwable t ) { // nothing to do } finally { try { if ( ioh != null ) ioh.closeAll(); } catch ( Throwable t ) { // nothing to do } } this.width = readHeight == -1 ? -1 : readWidth; this.height = readWidth == -1 ? -1 : readHeight; } }
    Could you please add the following to com.sonydadc.dw.jflv.parse.ParseMeta: public HashMap<String,Object> getMetaData() { return mt == null ? null : (HashMap<String,Object>)mt.getMetaData (); } I'd like to use it as bellow: public final class FlvSize { public final int width; public final int height; private static int toInt( Object object ) { if ( object == null ) return - 1; if ( object instanceof Double ) return ( (Double) object ).intValue(); if ( object instanceof Integer ) return ( (Integer) object ).intValue(); return - 1; } public FlvSize( File file ) { int readWidth = - 1, readHeight = - 1; IOHelper ioh = null; try { ioh = new IOHelper( file ); new FlvHeader( ioh ); ParseMeta parm = new ParseMeta( ioh ); parm.findMetaTag(); HashMap<String,Object> metaData = parm.getMetaData (); readWidth = toInt( metaData.get( "width" ) ); readHeight = toInt( metaData.get( "height" ) ); } catch ( Throwable t ) { // nothing to do } finally { try { if ( ioh != null ) ioh.closeAll(); } catch ( Throwable t ) { // nothing to do } } this.width = readHeight == -1 ? -1 : readWidth; this.height = readWidth == -1 ? -1 : readHeight; } }
 
Powered by Google Project Hosting