2012-05-18 2 views
2

Je veux obtenir des informations sur un fichier mp4, j'essaie d'utiliser Shell32, mais il ne supporte pas le format mp4, j'ai trouvé quelques dll dans le site web, mais tout ce qu'ils ne sont pas le composant COM, alors je tente d'utiliser IBMToolkitForMpeg4SDK.jar, puis rencontre quelques problèmes:comment obtenir la durée d'un fichier mp4 (norme h.264)

***Exception in thread "main" java.net.MalformedURLException: Unrecognized extension of file: e:\1.mpeg 
at I4g.d(Unknown Source) 
at I4g.a(Unknown Source) 
at I4i.a(Unknown Source) 
at I4b.a(Unknown Source) 
at I4b.open(Unknown Source) 
at AVgenSample.getMp4Duration(AVgenSample.java:48) 
at AVgenSample.main(AVgenSample.java:36)*** 

Je veux obtenir les informations de fichier mp4, quelqu'un a des méthodes, s'il vous plaît aider ! Thsnks tous!

+0

réponse http://www.codeproject.com/Questions/387013/how-to-get-the-information-of- an-mp4-file-h-264-st – 583479389

+0

duplication possible de [Obtenir la durée du fichier MP4 avec DirectShow] (http://stackoverflow.com/questions/11346136/getting-mp4-file-duration-with-directshow) –

Répondre

Questions connexes