File upload audio/video metadata

Perhaps this is not the best forum to ask this question but it seems like other people developing for the web would have this problem as well.
I have a servlet that handles file uploads for audio and video files and stores information concerning them in a database. Currently the user has to input things like the duration of the video/audio file. I would like to instead automagically gather this information when the file is uploaded. I've tried using JMF for this but it seems like overkill and it tends to get the duration wrong by a fair margin (2-4 minutes). Is there some sort of open source library out there that people use to do what I'm trying to do. Surely other people out there have the same problem I'm having. Thanks for your help.

This is coverd im much better detail that I could do here on OTN and the documentation hosted on OTN.
What kind of environment are you going to work in?
For PL/SQL examples, See:
http://otn.oracle.com/sample_code/products/intermedia/htdocs/avi_bulk_loading.html
http://otn.oracle.com/doc/oracle8i_816/inter.816/a67299/mm_uses.htm#598963
PL/SQL web loading:
http://otn.oracle.com/software/products/intermedia/htdocs/descriptions/imedia_code_wizard.html
For Java examples, see:
http://otn.oracle.com/doc/oracle8i_816/inter.816/a67299/mm_uses.htm#598963
For a java servlet example see:
http://otn.oracle.com/software/products/intermedia/htdocs/descriptions/servlets_jsp.html
http://otn.oracle.com/sample_code/products/intermedia/htdocs/intermedia_servlet_jsp_samples/imedia_servlet_jsp_readme.htm
Larry

Similar Messages

  • How to send files like audio,video,images and text via RMI..

    Hi everyone,
    As I am working under a project, my own, of creating a chat machine, I've thought to make it capable of doing everything that MSN or yahoo MSN can do. Till now I've just been able to send messages and some small icons as expressions. So, my next step will be making my progam able to send even other files like audio, video, images and text to the person on the other machine to whom I'm chatting. But as I don't have any idea on how to start doing it, I want anyone who think he/she can help me to give me the basic logic that is used to do so. I would very much appreciate it. I've used vectors to store the text messages which is visible to all the users using the chat program enabling them to see various messages in it.
    thank you...
    Jay

    Hi,
    Now, I got stuck because the code doesn't seem to work well. For large files with around 40 mb or more size couldn't be sent. I have constructed the code, just rough sketch, as follows:
    ** In the Server Implementation class I've used FileInputStream to read the contents of a file that is sent as an argument to the method.
    ** Similarly, in the client side I've used RandomAccessFile to save the received array of bytes.
    public void sendFile(File f)
       ChatServer cs=(ChatServer)Naming.lookup("rmi://localhost/ChatServer");
       cs.readsAndStoreTheFileInTheServer(f); // In the Server Implementation the contents of the file is read and saved in an array of byte. later method is invoked by the client to get the array of the saved byte.
       cs.message("-Accept-"); // When a client receives this word then a JComponent with accept and cancel button will be constructed from where other clients can save/cancel the sent file.
    }For small size files this code works well but for files more than 40 mb of size it is useless. I wonder if there's any other alternative.
    regards,
    Jay

  • Exporting MPEG 2 files with audio & video tracks COMBINED?

    I want to post a film on Google Video. I'm told they like MPEG2 files, but with the audio and video combined.
    How can I create an MPEG2 with the video and audio combined?
    I've also been told I can change the .m2v extension to .mpg after I've encoded, without causing problems. Their 'uploader application' doesn't like the .m2v extension.
    Thanks,
    Ben

    Compressor's standard mpeg2 export presets are set up to create separate audio and video files. Changing a m2v extension to mpg does nothing. You still have a file with only video.
    However, deeper in Compressor is the means to create muxed (mixed audio and video) files. Do a search here, it has been discussed a few times.
    Still, why not send them an mpeg4 file?
    x

  • AVI file giving Audio/Video file has no streams

    I try to import into CS5 Premiere Pro and it gives me the error. I am running on a Mac and the file works in VLC. It's pretty frustrating not to see the video except in the VLC player.

    Welcome to the forum.
    Playing a file is separate from editing that same file - totally different. Playability can contribute some info, but can also instill a false sense of security. Players, like VLC, are very good for playing, as they contain about everything needed, right in the player. They do not rely on the installed CODEC's in the system, so being able to edit that same file, may well prove impossible, as the NLE program will have to rely on the installed system CODEC's. Also, even if one has the particular, necessary CODEC installed, it does not mean that the NLE program can actually use it. This ARTICLE will give you a bit more background.
    As Harm mentions, it is likely an issue with at least one stream of the file and the CODEC that is needed to decode it. If you have a muxed file (both Audio and Video streams) you need two CODEC's - one for each stream. Next, they BOTH must work in PrPro. It is likely that you are either missing, one or both, or that PrPro cannot use one, or both. VLC Player doesn't need them from the system, as it obviously contains them internally. MediaPlayer Classic HC, and some others are good this way - they play almost everything. However, they do not insure that one has the CODEC installed and that it will work in the NLE. Great for playing, but not so good for insuring that that same file will edit properly.
    Good luck, and let us know what is inside that AVI file. This ARTICLE will give you some background on "AVI," and what can be inside that "wrapper."
    Hunt

  • After some updates, Aperture stops recognizing previously imported files, and rewrites video metadata dates.  How do I keep the from occurring?

    I have been using Aperture since version 1 (to now, 3.x.x), and after some updates Aperture fails to recognize the files previously imported.  I have checked the selection box that says "Do not import duplicates" every time I import.  I have pics and videos dating back to 2001 in the Aperture dB.  Videos were imported once Ap started to support it.  (Well, the initial support was really bad...)  Anyway, those earlier video files all have the same date - now - thanks to Aperture changing the dates to 3/24/00.  The funny thing is, Aperture will not let me manually correct the dates.  To me, it seems that after every major update, the dB gets "reset" and forgets files already imported.  I'm not saying pics/vids imported in the last month, but say six months to five years or more.  Any help is greatly appreciated.
    I do not think this matters, hoever, my Ap is set up with referenced original on an external drive.
    Thank you!

    WOW!
    I'm REALLY impressed by your exhaustive and detailled description!
    How long did it take to write? Sure longer than the import itself...
    Thank you so much. I got a working import of Ap2 lib before but your description have me various hints for handling problematic or faulty projects.
    Matt

  • My apperture come up with audio/video(adjustments disabled) when I try to edit any image with either photoshop or nik software, can anyone help.

    Please can someone help me.
    When i try to work on any file in either PS or nik software the following thing happen
    1) I notive the image file comes up with the reprosses message
    2) I reprocess and then then try to edit file in PS or NIK and get the following
    or
    I read a group discussion which suggested repairing the library (middle Button) and rebout but the results were the same. Can someone please help, I am not that techie (over 65) so could I ask that any suggestion are very clear and assume that I know very little. Regards Mark

    I had my previous note all organised with screen grabs of the three messages I wwas talking about but the have not appeared in my post!
    1) reprosses message asking to reprosses file
    2)audio/video(adjustments disabled) this showed up in the adjustemnt window.
    3editing error sayinh "this image cannot be rendered for editing because aperture does not support the image format"
    Sorry that my screen grabs didnt work

  • Uploading Stream (Images/Audio/Video files/Doc files) to Windows Azure Storage Blob by using SharePoint Online 2013 Library

    Dear All,
    How I can store the Images/Audio/Video/documents files in blob storage by help of SharePoint document library and keep a reference to them in SharePoint by putting metadata in a SharePoint Library.
    I searched a lot, but not finding suitable source.
    Thanks,
    Sharad
    sharadpatil

    hi,
    Base on my experience, you could use azure storage reference sharepoint app. I suggest you could recommend this blog via (http://sachintana.blogspot.com/2012/08/azure-blob-storage-for-sharepoint.html ).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • No audio video streams upon import of .mov files?

    Hi... recently upgraded OS onto Intel 240 GB SSD. Running Widows 7 64 bit, clean re-install, 24 GB RAM, NIVIDIA Quadro FX 4800. I have been trying to optimize the system for maximum GPU accelerated effects while also taking advantage of the high speed read and write of my disk. OS runs on SSD, Adobe media cache on separate 2 TB eSATA connection, Media stored on external drive USB 3.0. Without getting into the fine details this is a snapshot of my workflow.
    The few problems I am encountering are some .mov files cannot be imported to PP. Error reads no audio or video stream in the files. I suspected metadata issues so tried to import with media browser and still no luck. These files worked perfectly before I began surgery 2 days ago on my computer. I have installed the latest version of quicktime and yet to no avail. Any recommendations here regarding my issue with imports or suggestions to benefit from my hardware would be appreciated.

    MOV is a wrapper, what is inside YOUR wrapper - Exactly what is INSIDE the video you are editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    https://forums.adobe.com/thread/1070933 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • Has anyone been able to upload an ibooks file with audio only files (m4a) in it? I keep getting the following error message during the upload in iTunes Producer: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets.

    Has anyone been able to upload an ibooks file with audio only files (m4a) in it? I keep getting the following error message during the upload in iTunes Producer: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets. then it names the file as an m4p file. Everything works beautifully on the iPad through Preview, and validates through iTunes Producer up until the attempted upload. If you've been able to accomplish this, please let me know how you prepared your audio files. Many thanks.

    Hello Fellow iBook Authors!
    Today I received the same error that you all have been discussing.  I tried selecting the DRM
    and this did not work for me, though I'm glad it did for some.  Here's what I did as a work-around. . .
    Since iBooks Author did not have a problem with Videos, I simply used one of my video programs, ScreenFlow to turn the audio into a video file m4v.  I added an image and extended the length or timing of the image to span the length of the audio file.  Then exported as an .mov.  I then opened QuickTime and opened the file and exported the file to iTunes. 
    You can use iMovie, Camtasia or any other progam that will allow you to export the audio as a movie file.  Does this make sense?  I hope this helps, at least in the short-term.
    Michael Williams

  • How my clients can upload  raw video files to my linux server

    Any ideas or thoughts really welcome:
    I need to figure out a way or process for my clients to upload their raw video source files ( any known usual video formats and extensions) from their video cameras or devices or storage source  that is tied into or thru their computer with a firewire or USB 2+ connection    and then uploaded directly into my remote linux server.   my linux server hard drve space is not a problem..  
    Once client has finished uploading,  I would then download the resulting saved files to my computer for video/audio editing using Premiere 11
    I know that one restriction or problem would be their connection and ISP issues (throttling etc.) ,  My server permits basically unlimited up/download traffic,  so this should not be a problem and server has balancing.
    Do they need to use a typical ftp account and something like cuteftp???   however my understanding of FTP clients do not do streaming from a device????  yes or No??   I always thought just static files.....   aam I correct?
    how might my clients stream into my server.   i am wanting to set up an online video/audio editing website
    once i finish editing I would upload file probably as a zip file for them to unzip.  I can also build and send (mail)  out a DVD-CD or Blu-ray.  any other thoughts welcome on returning the finished edit.
    My tech people say that i cannot effectively load and operate Premiere onto my server to do the editing. 
    I would appreciate any feedback and ideas
    thanks

    How people upload files to your server is really a question for your server company... you need to find out from your server company how they handle permissions and uploads
    Yes, no current version of Premiere Pro or Elements is written to EITHER install on, or directly use files resident on a server
    No current version of Premiere works properly over a network
    -you may NOT "map" your My Documents folder to a network drive
    -you MUST give all users administrator accounts to use Premiere
    -you MAY also need to... http://forums.adobe.com/thread/969395
    -http://forums.adobe.com/thread/771151
    -http://forums.adobe.com/thread/851602
    -a work around, of sorts http://forums.adobe.com/thread/957523
    -and not on a "domain" http://forums.adobe.com/thread/858977
    -also PreEl see #5 http://forums.adobe.com/thread/1017199
    -more PreEl problem http://forums.adobe.com/thread/975117
    Adobe Anywhere http://forums.adobe.com/message/4682127
    -Announced September 2012 for "future versions" of Premiere Pro
    -NO information on pricing or availability date
    Once you and your server company figure out permissions and the software your clients need to use for uploads, you will then need to download the files to your video data hard drive to edit

  • Upload audio files and share them for free

    I would like to upload audio files onto ITunes.  I would like to do this at work so that I can share it with whomever wants to listen to them for free.  Is this possible?  If so, how many audio and or visual files can I upload, what would the duration of the video be and would I have copyright to these files?
    Thank you,
    Ashifa

    Unfortunately, LE7 doesn't include what you need, although (pre-Apple) Logic Audio 6 did - the EXS Instrument Editor. Keymap, from Redmatica, is a more robust editor, but it hasn't been released yet (second half of 2005, according to their site).
    I don't know of any others, maybe someone else here does.

  • I just moved my itunes library from a win 7 computer to a win 8.1 computer. Getting an error message "iTunes has detected a problem with your audio configuration. Audio/Video playback may not operate properly. Can't play CDs or get audio file from web!

    Help! I just moved my itunes library from a Win 7 computer to a new Win 8.1 computer following the instructions on the itunes website. Everything is good except I'm getting an error message on the Win 8 computer if I try to play a CD or get an audio file off of the internet. I get an error message that says "iTunes has detected a problem with your audio configuration. Audio/Video playback may not operate properly. I don't know where to look for or fix the audio configuration on the win 8 computer. As far as I can tell the iTunes configuration looks the same as on the other computers in the house. At this point I don't dare plug my ipod touch into the Win 8 computer for fear it will get messed up.

    I have the same problem and I know that it is due to my PCI Audio driver not being compatible with WIndows 8.1.
    iTunes isn't the only program that can't direct sound to the built-in speakers anymore. The obvious solution would be to update the drivers, but unfortunately Dell does not provide an updated driver for my model, so I am stuck with that.
    However, saying that, only my laptop speakers are affected by this. I can use sound fine on applications where I can choose the output device and direct sound to the head phones, but for some reason iTunes does not let you choose the audio device manually.
    To listen to music I imported the iTunes Library in Windows Media Player and changed the audio output using the following instructions: http://windows.microsoft.com/en-us/windows7/c00d11ba
    However, I would also like to rent movie's from iTunes, 
    Would be great if iTunes would let you choose the output device, too, like most other applications using sound  from Skype to Windows Media Player,...

  • In Premiere Pro CS5.5 AVI file imports audio only - no video.

    I've got a file (one of 3) I've been given to create a smaller file (320x480) from.
    The file is an avi file and plays (video and audio) just fine in the native Windows media player. (I'm on Windows 7 Ultimate 64-bit) There are no issues of memory or HDisc space.
    Video:
    The file is 2:21:29 in length.
    720x480
    Data rate 1489kbps
    Total bitrate 1617kbps
    29 frames/second
    Audio:
    Bit rate 128kbps
    Channels 2 (stereo)
    Audio sample rate 48 kHz
    The file is about 1.6Gb
    This is one of 3 I recieved. The other two were of comparable specs and similar length (not exactly but one was longer, the other shorter.)
    The problem is that this particular file (the other two import perfectly), when imported, only comes in as an audio file. No video imports. The other files import as audio and video. No error message either.
    I've imported all kinds of video files in the past with different frame sizes, rates, and aspect ratios, and codecs, yet I've never had one that only imports the audio without the video.
    Suggestions?!

    Post in the Premiere Pro forum. This forum is for suite specific issues only.
    Bob

  • Assigning video files uploaded via a customer form to the src file section of another page (without manually having to copy an paste over)

    Hi. I’ve set up a web form that uses html and javascript. This particular form lets you upload files. I also have another page that lets you play videos. I was wondering if anyone knows how to make the inner html of for example the upload file form field equal the file that is played by the video player on the other page.
    Basically on youtube when you upload a video it automatically makes another page with the video file you uploaded assigned to the video player on that page. I want to know how to go about doing that. So people can upload videos and then be able to watch them instantly without me manually having to create the page an assigning the right file to the page.
    Even just knowing how to create a different page each time the form is submitted would be helpful. Thanks.

    This is more complex than you realize and JavaScript alone can't do it. You'll need a server-side script like PHP to authenticate and sanitize file uploads to prevent malicious scripts or malware from ever getting to your server.  Then, your script will have to process the uploaded file by saving it to a folder or database, give it a unique ID and then redirect users to a new page that pulls the file into an HTML5 or similar player.  How good are you with server-side programming?
    Nancy O.

  • Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?

    Hi, I have problem with importing MOV files from SJCAM 4000. MOV files are in supported formats for Adobe Premiere Elements 11. But if I'm importing MOV file, only audio part is imported, video part is not imported. How can I solve this problem?

    haben
    From looking at the specifications of your camera (SJCam 4000), we know already what video compression your camera is using. It is H.264.
    A H.264.mov file should be supported by Premiere Elements 11. On what computer operating system is your Premiere Elements 11 running?
    Do you have the latest version of QuickTime installed on your computer? And, are you running QuickTime and Premiere Elements 11 from a
    User Account with administrative privileges? Please go to Premiere Elements 11 Publish+Share/Computer/QuickTime to confirm that you find
    presets there for the QuickTime choice there.
    What are the properties of these H.264.mov files - is it 1080p30 (1920 x 1080p30)  or something else? Do you know if this camera is recording with a variable or
    a constant frame rate?
    Please review and consider and then we will decide what next.
    Thank you.
    ATR

Maybe you are looking for

  • I have the b200 error and can't get the cartirdges to move out so I can change it.

    I have a MX850 cannon. I have the b200 error and can see that the middle cartridge is empty but I can't get the ink cartridge holder tomove out. I have tried with power off but the ink cartridge holder won't move out.

  • SelectionChange for enter and backspace keys

    Hello all, Our VSTO addin needs to know the current selection so we can sync our taskpane with current selection. We are using the SelectionChanged event to register our taskpane synch routine. The problem is that this event doesn't fire on Enter or

  • Table name(s) to report on Sales Text

    Hi, I am searching a way to get a report of the Sales Text related to the material master per sales org. Ran through a bunch of tables, but none of them provide info on the Sales Text. Could anyone help me on which tables I need to combine to get to

  • OS 10.4.10, Photoshop Elements 3.0 and Alum 2.4 20"

    I just installed PS Elements 3.0 on my Intel 2.4 20" alum. When I try opening the app, it crashes at the point it appears to be reading the preferences. This is on the main account. When I log in with my wife's account, it opens fine. I've tried dele

  • After new update, 5c repeatably dropping service

    Even after going to the store and receiving a brand new one, worked fine coming home, updated again and same issue.