Audio Length Vorbis/Theora

Well I have my Vorbis and Theora code working properly.
There is one little bug i've run into with the audio. The length is being reported as only 9 seconds long. This causes a small little problem with seeking in the file. The Video seeks properly except for a little bug with keyframs that is liveable. But with the length being reported back as only 9 seconds for audio when you seek past the 9 second mark it looses all of the audio. Now i know the audio is there because if I let it just play from the start the audio never drops and says in sync with the video just fine. But move the bar just a little and poof. It looses the audio. I'm fairly certain it's because it thinks the audio is only 9 seconds long.
So my question is how do I manually set the Audio length variable

If you are on certain you will have to make your own vorbis/theora codec or use the one of FOBS o JFFMPEG projects (if the have that codec).

Similar Messages

  • Audio length column in Bridge CS4?

    Is there a way to display the length of audio in Bridge? The Media Browser in PP is of no help--there are even less metadata options there.
    Thx.

    It works by either "Command 1" or as you suggest, "h1."
    It doesn't work for me by just clicking on the dot.
    >>
    >>
    >> …It was a lot easier just clicking on the dot, wasn't it?
    >
    >
    h1. ?
    >
    It still works as expected, by just clicking on the dot.
    >
    >
    Wo Tai Lao Le
    我太老了
    >

  • Can you make still slideshow timing to match audio length like in IDVD?

    Hello group,
    I have been asked to make a slideshow with a bunch of still shots (50-60) and have some requested songs to add. In IDVD, you can choose "fit to audio" which changes all the clip lengths exactly to fit the audio clips. I cannot figure out an easy way to do this, when I add the audio clips, they only appear up to the end of the currently added photo so I can't tell visually where I am. Seems like this should be easier to do as in IDVD.
    Any advice greatly appreciated, I have Imovie 8.0.5 "Imovie '09"
    John

    I may be confused, but the Fit to Audio feature is in iPhoto for Slide Shows. If you wanted to make a DVD of this you could still make your slide show in iPhoto and "Share" -> "send it to iDVD", or you could export the slideshow (Export button lower right corner of slideshow window) to the media browser and that will show up when you navigate through iDVD's Media Browser.
    roger

  • Adjusting presentation to audio length

    I'm using a complete song as the background audio to a presentation. I would like the slide presentation to end at the same time as the music ends. It requires testing to get it right, but so far, the only way I can see to do that is to play the entire presentation.
    If I select a slide toward the end of the presentation and click the play button, the music starts at the beginning, rather than where it would sync up to that slide. Is there a technique to check just the end of the presentation, each time I tweak slide timing; with the music properly synced up?
    Thanks.
    Message was edited by: parboy

    I'm using a complete song as the background audio to a presentation. I would like the slide presentation to end at the same time as the music ends. It requires testing to get it right, but so far, the only way I can see to do that is to play the entire presentation.
    If I select a slide toward the end of the presentation and click the play button, the music starts at the beginning, rather than where it would sync up to that slide. Is there a technique to check just the end of the presentation, each time I tweak slide timing; with the music properly synced up?
    Thanks.
    Message was edited by: parboy

  • Audio length not correct?

    I have added audio into my composition which is 3:43 long but it says the composition is only 30 seconds long shoud it not automatically update?
    Also when i render it , it still comes out as 30 seconds as well Help please

    Your comp is 30 seconds long.  Change it in the comp settings to the duration you wish.
    And no, the comp should NOT automatically update.  AE is not a video editing application.  You're not in Kansas any more. 
    To learn the many, many differences between an an effects, motion graphics and compositing application (AE) and your video editing application, I recommend spending some quality time here:
    Getting started with After Effects (CS4, CS5, CS5.5,  CS6, & CC)

  • Audio/Video Different Lengths? I am losing what sanity I had...

    Hello,
    Here we go: Dual 2.7, OS 10.4.8, updated versions of ALL software. We just did a clean install after writing zero's to the boot drive.
    I export a non-self contained movie from FCP. Time line is 29:29;01. The compressor MPEG2 brought into DVDSP is the same length. So far so good. However, the audio length is the asset bin shows 29:07;07. So it comes in shorter? But wait, I drop the assets into the DVDSP timeline and the video is 29:29;01 (good) but the audio measures something like one-tenth of one frame LONGER than the video??????? So the asset is shorter but comes in ever so slightly longer when it should be exactly the same? The assets were encoded from the FCP non-self contained file which was brought into Compressor, audio encoding was Dolby (auto). However we also tried a self contained version and used Dolby 2.0 with the same exact result?
    Mike

    Everything seems OK. Meaning we burned a DVD and didn't notice any sync issues. Of course 2 seconds off we would have noticed, but one-tenth of one frame I don't think I would notice!
    We also brought the FCP sequence into DVDSP and had DVDSP complete the compression. Now I am not sure if there is a way to tell DVDSP to create an AC3 file with the audio? Our first attempt (and only attempt for now) created the the m2v file and an AIFF audio file. The AIFF file was spot on to the m2v file. Bringing that AIFF file into Compressor to create the AC3 file and we get the same mismatch as outlined before. So at least it is consistent!
    But, again, everything appears OK. These mysteries just worry me!
    Mike

  • Menu problems - changing background video length to fit audio

    Hi,
    I've been struggling for hours (feels like weeks!) trying to adjust the background video length to match the audio length on my encore menu to prevent the white screen appearing once the background video has finished.
    Having read through some previous questions on here I see the general advice is to adjust the audio length to match the video length but is there really no way of doing it the other way around?
    I tried editing the background video in premier pro, and managed to do that effectively so it was identical in length to the audio track, however then I couldn't work out how to export it back into encore so it would use it as a menu.
    I'm still getting to grips with all the software so any help would be greatly appreciated!
    Thank you!!
    Liz

    Hi jsbman,
    Thanks for your reply, I'm not sure I was totally clear about what I am trying to do. Basically I have a menu image with background video that currently runs on a loop of 16 seconds, and I have an audio file (song) that lasts 3 minutes and also loops. I can put the audio on the menu fine as long as I have menu with no background video but if I try and have both it runs but then goes to a white menu screen after the 16 second loop while the audio continues to the end.
    I understand from what I have read that the audio track and video background need to be the same length (I guess so they can loop together or something) and to edit the audio track down to 16 seconds makes it pretty pointless in using. This is why I have been trying to increase the background video to the same length as the audio track. They will then both loop until play is pressed on the remote for the DVD to start.
    I forgot to say in my original post I am using CS4, with Windows 7 - I'm not sure if that makes a difference.
    Any ideas welcome!
    Thanks
    Liz

  • Blu-Ray audio does not loop properly on simple menu

    I have authored a Blu-Ray disc using CS4 of Encore. Each menu is very simple: No motion elements. I have added a short clip of music to each (about 30 seconds). This is already transcoded AC3 audio (to ensure it matches the audio on the main movie(s)).
    When playing back in test mode, the menus play fine. However, on a PS3 (the only BD player I have), it plays a few seconds (up to 10 seconds) of the audio and then loops. The false loop point occurs at different times on each menu.
    The loop point on the menus is 0. The audio length is set to 30 seconds in the project and the menu is set to loop forever.
    Anyone else come across this?
    Thanks

    Seems that this is a bug (rather bad one, actually), but there is a work around of sorts.
    http://forums.adobe.com/message/2047349#2047349

  • How to edit audio contents? (sample editing)

    Hi, I have a problem in editing a recorded audio. Can anyone please help me with this one? The scenario is this...
    I get my audio data by reading right from the line using targetdataline read method. Then I store the data in byte arrays. I tried to edit the values of each byte (in the byte array) by converting it to its short value, then alter its value before storing the new value to the source byte address.. Am I doing the right thing in the conversion and editing process?
    My audio configuration is this:
    audio format = PCM_SIGNED
    sample rate = 8000
    sample size in bits = 8
    channels = mono
    big endian = false
    Well, I use this for my cryptographic process in a simple VOIP program. I was having a hard time getting the valid values of the recorded audio stored in the byte array. Can anyone enlighten me with this matter?

    I have a "Recorder Class" that simply gets the audio data from the line. Here's some part of my code on how I get my audio data.
    synchronized public void run() {
            while( !m_bQuitting ) { //m_bquitting is a bolean variable which tells if the recording thread must be stopped
                 byte bs[] = new byte[bytesize];
                    m_line.read( bs , 0 , bytesize );
                 if( m_bRecording ) {
                        byte[] audio = new byte[bs.length];
                        //loop that initializes the temporary byte array to be encrypted
                                    //this simple copies the contents of bs to audio byte array
                        for( int i = 0; i < audio.length && i < bs.length; i++ ){
                             audio[i] = bs;
                        if(rsa != null) {
                             /*encryption*/
                             for(int offset=0; offset < audio.length && offset < bs.length; offset++) {
                                  short sample = (short)(audio[offset] & 0xff); //convert byte to short
                                  short tmp = rsa.code(sample);
                                  audio[offset] = (byte)tmp;
                             /*end of encryption*/
              cs.writebyte( audio );
         }else if( onlyonce ){
              cs.writebyte( ("NT|").getBytes() );
              onlyonce = false;     
    m_line.stop();
    m_line.close();     
    My simple VOIP works well without the encryption process. My real problem here is how can I open/edit the data that is stored in the byte array. Simple conversion of each byte to its short value doesn't seem to solve my problem. My RSA works well on data structures integer, string, double, float, hex, biginteger and etc. I have read some articles that says that audio samples are stored depending on the size of the sample bits used, and in my case its 8 bits (-128 to 127). My perception here is that if each sample is stored in a byte, then there would be a corresponding hexadecimal value for that byte. Am I right?(Can anyone enlighten me with this one???) My plan here is to encrypt and decrypt the audio data byte per byte so I need to get the audio sample data of a recorded audio.
    PS:
    Sorry for my first post. :)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Audio is 1 frame longer than video after encode

    My .ac3 files are coming up 1 frame longer than they should be on SOME encodes. Unfortunately, I can't see any noticeable pattern to which files it happens to. It occurs on anything from audio-only files created in Soundtrack to an FCP video/audio export. It's happened on both a DV sequence as well as a DVCPRO HD sequence. It's a bit unnerving to see the audio longer than the video, even if it is one frame because the end product is slightly (1 frame, I'd reckon) out of sync. I've tried setting a specific out point in my sequence and got the same effect.
    Does anyone have any ideas? Anyone else having their audio come up 1 frame too long on a Dolby encode?
    Thanks,
    Cameron

    Anyone else having their audio come up 1 frame too long on a Dolby encode?
    Yes.
    The rest is longwinded with no answer to the problem.
    First the system config.
    Dual 1.8 GHz PCI-X G5
    4 GB Ram
    Media drive: 800 GB Raid FW 800
    (4 discs, 2 on internal bus, 2 on LaCie FW 800 card)
    162 MB/s Read, 91 MB/s Write.
    FCP 5.1.2
    Compressor 2.3
    DVD SP 4.1.1
    I created a 16 minute NTSC DVC PRO50 sequence, audio at 48KHz 16 bit.
    Not having a person recorded talking for that length of time I created a series of one frame "pops" of color bars and tone, followed by 10 seconds of video and audio slug.
    This sequence was copied and pasted to fill the timeline with a single frame of the "pop" at the very end.
    Everything perfectly in sync.
    I nested the sequence and rendered.
    No matter how the 16 minute timeline was exported and compressed to MPEG-2, 7 Mb/s and Dolby 2.0 192 Kb/s.
    (direct export to Compressor, export of audio and video separately or sequence export, then to Compressor)
    there was always an audio sync error once imported to the DVD SP timeline.
    Not an entire frame out, but on zooming to max in the timeline in SP, about 7/8 of a frame extra.
    If I exported just the last 1:21 min of the NTSC DVC PRO50 timeline, and compressed with the same settings, the extra audio length was about 3/4 of a frame over.
    Next I exported the NTSC DVC PRO50 timeline as a DVCPRO HD100 1080 60i QT sequence.
    Cut the last 1:21 min and imported to Compressor.
    Compressed as 19 MB/s MPEG-2 and Dolby 2.0 192 Kb/s.
    Created a new DVD SP HD project and brought the files into the timeline.
    Zoomed in at the end, and the error in sync was minimal, not perfect, but difficult to make out even at full zoom.
    Anyone have any suggestions to get things, at least Standard Definition, perfectly in sync?

  • Text & Audio Syncronization

    Hi,
    I have an Audio file. Lets say it says "Today is Wednesday,
    March 12th 2008"
    I want to synchronize the text on flash to the words of audio
    files.
    I created two layers, one has audio file and the other one
    has text, I tried to put motion tween and some other options but I
    could not do it.
    I would appreciate your help.
    thanks a million
    regards
    Anant

    opps ...
    stop()
    var Audio:Sound
    var AudCh:SoundChannel
    var Mute:SoundTransform
    var tFrames = this.totalFrames
    var LstFrame:Number = 30 // leadOut Frames w/o audio
    var LstAud:Number = 0
    var Cntr:Number = 0
    var AudStep:Number
    var AudSum:Number = 0
    var AudNow:Number = 0
    var tSound:Number = 0
    var AudFile:String = "Introduction_Module.mp3"
    function setAudio(AudFile):void {
    Audio = new Sound()
    var req:URLRequest = new URLRequest(AudFile);
    Audio.load(req)
    AudCh = Audio.play()
    AudCh.stop()
    Mute = AudCh.soundTransform
    Mute.volume = 1
    AudCh.soundTransform = Mute
    function Throttle():void{
    if(AudCh.position > 0 && this.currentFrame <  this.totalFrames - LstFrame){
      AudNow = AudCh.position
      Cntr++
      AudSum = AudSum + (AudNow - LstAud)
      LstAud = AudNow
      if (Cntr == 15) {
       if(AudSum/15 > AudStep){this.stage.frameRate = this.stage.frameRate + .1}
       if(AudSum/15 < AudStep){this.stage.frameRate = this.stage.frameRate - .1}
       Cntr = 0
       AudSum = 0
    function Tick(event):void {
    Throttle()
    function StartPlay():void {
    setAudio(AudFile)
    tSound = Audio.length
    AudStep = tSound/(tFrames-LstFrame)
    AudCh = Audio.play()
    gotoAndPlay(2)
    addEventListener(Event.ENTER_FRAME,Tick)
    StartPlay()

  • Audio Problem in Timeline

    I am placing a short audio clip to the timeline and am using the fade in/fade out behavior, however as I am trimming the clip the green part that shows how long the clip is and the green part that shows the audio wavelengths do not match up. So when I use this behavior it does not fade out properly because the behavior is matching up with the audio length and not the wavelength, so the audio will fade out but then abruptly come back. The behavior will also not let me elongate it because it thinks the clip is over. Here is a picture of what it looks like:
    See what I mean? I've restarted the program, but it still loads like this.
    Any help would be awesome!
    Thank you!

    Are you using the fade in fade out handles your screen shot doesnt really show any detail..have you tried zooming in?
    Sorry I was thinking in FCPX ...but try zooming in....and turn off snapping

  • FP 10 only - Audio does not match Powerpoint slide after publishing

    This is strictly related to Flash Player 10
    We create E-Learning courses related to Autism. We usually
    start with the Powerpoint and audios and load them into Captivate.
    Match the Powerpoint and the audio together. We then Publish it to
    our website. If I preview the whole chapter WITHOUT skipping
    forward by using the slider or clicking on forward - backward, it
    will work just fine. If on the other hand I click on forward,
    backward or use the slider the slides and audios get out of sync.
    This only happens to the published courses that are watched by
    machines that have the Flash Player 10. Flash Player 9 and before
    will work just fine. Our website is elearning.autism.net and I have
    created an account for whoever wants to troubleshoot it. I've
    created the following account. Username: test, password: test
    Try this course after log on: Autism-> Introduction ->
    Introduction to Autism Spectrum Disorders -> scroll down to
    Chapter 4 slide 4: Listen to the audio with slides (Audio Length: 3
    minutes 54 seconds, 6 Slides).
    We've had some courses created in Articulate and they've
    issued a patch to fix this problem. I've downloaded their patch and
    installed it and our previous courses done in Articulate got fixed.
    No such luck with Captivate yet.
    I am sure this is related to some scripting. Another problem
    is that the loader does not come up anymore.

    I am having a similar problem. I recorded a tutorial with
    audio at the same time using an external mic. After I published,
    the audio would play through about 5 slides then it would just cut
    out. I'm not sure what you mean by add one second of silence to the
    end of each slide - If I do that it will mess up the audio that
    goes with the tutorial. Is adding the one second the only way to
    get the audio to play consistantly? Would it be different if I
    added the audio afterward?
    Thanks for any advice.
    Ann

  • CS5 Slideshow duration won't update to new audio clip

    In a completed slideshow with "Fit slideshow to audio duration" checked (duration 00;19;32;24), I decided to replace the audio with a shorter composition (00;10;00;22). With the original audio clip cleared and the new audio clip added and the "Fit slideshow to audio duration" checked, the slide durations recalculated so that the last slide has an out point of 00;10;00;22 but the slide show duration remains "stuck" at  00;19;32;24. The end action is set to return to the menu but when the last slide goes to black (at 00;10;00;22) the slideshow keeps running with a black screen, presumably all the way to 00;19;32;24 before it hits the end action, although I haven't let it run to that point yet. I have turned "Fit slideshow to audio duration" off and back on, hoping it will recalibrate to 00;10;00;22 but the duration doesn't change. Help, please!

    Try playing with these ideas:
    Uncheck "Fit Slideshow to Audio Duration."  (As you probably now have it anyway.)
    On the slideshow properties, basic tab, set the slide duration to zero.  What is the slideshow length now?  The length of the new audio or the old?
    Or, set the slide duration to something large (I think so that the total is more than either audio length).  What is the slideshow length?
    Now check "Fit slideshow/audio."  What is the length?
    I got the same symptom you did (audio plays past end of slides) when the slide durations added to less than the audio length and "Fit slideshow to audio" was not checked.

  • How to find the timing in audio

    how to find starting and ending time of each word in the audio

    Yes, of course.  I believe that we understand that you're working on a job that requires you to synchronize some sort of an automation to a vocal narration that, we can only assume, will be included in the final movie/video.  We understand that you are seeking the most efficient way to be effective.  I sketched at least the highlights of The Best Way that I have discovered (so far) and another fine person (adninjastrator) has given you His Best Shot.
    I was interested enough in the possibility of my finding a better way to do my work ( which is also rather long and troubling ) that I took the time to carefully study the material he presented.  Have you also taking the time to look at it?
    Like I said above, what I gave you before was only the tiniest highlight of what I do.  I'll now refer you to a more extended description of it that I made in response to another forum participant's question.  It is found here : voice synchronization with text(words) in flash    http://forums.adobe.com/thread/900695?tstart=0
    There are some inherent difficulties that we all face in this kind of work.  One of them is that, when we are speaking naturally, there are many places in our speech where there is no clear break between the words, like the one you can see in the "mixdown" example that I provided.  The only automated way of which I am acquainted that even begins to crack that tough nut a problem is the voice recognition software, such as Dragon NaturallySpeaking by Nuance.  It, however, is not intended to give us what we need for our current projects.  I would expect, however, that if you're made out of big time money and have, say, fifty grand available, you might approach the Nuance people and ask them to adapt their Very Fine Tool to greatly assist us in the work that we're doing.  ( By the way, I am speaking this into Dragon now and it is typing for me. )
    I have developed a way by which I present written text as it is being heard in the narration.  There are places in which the words are distinct and are separated by pauses, and there are times in which only phrases or clusters of words are separated by silent periods.  As you will discover by reading the thread to which I referred earlier, the way I present the written text is by first covering each word or phrase of it with an opaque rectangle whose color matches the background color, then by smoothly changing its opacity from 100% to 0% at the appropriate time.  In much of the work that I did earlier, before I learned better methods, my chunks of text presentation were quite large, sometimes entire lines at a time.  In the new work that I'm now doing, most of it will be presented one word at a time.  That is the case in the two examples will show you next.
    Just a few technical details :  I'm running at thirty frames per second, using classic tweens, using an easing in value of -100 and an easing out value of +100.  Many of my transitions are about eighty frames long.  Some are lot longer.  Here is a little pic showing two sentences being displayed :
    These next two pics show the display of a twelve word sentence, smoothly presented.
    There was a small pause after the seventh word, and the ending of the tweens for those players allows those words to be fully displayed while the last five are still getting going.
    In the methods that were suggested by adninjastrator, you could obtain an amplitude graph of either just the overall volume of any waveform, or if you wanted to get really fancy, could do the same thing from only a portion of the frequency spectrum of the waveform.  The method that I showed you earlier provides the first of those possible results directly and immediately.  The second approach that adninjastrator presented is probably not necessary for either the work that you or I or vplusvw are doing.
    You say that your audio length is big.  That is not a surprise.  Things Take Time.  Big and valuable and important things often take a lot of time.  You say you don't want to do it manually.  We understand, from our own experience, that life is difficult and that we don't want to make it any harder than is necessary.
    We have no way of knowing the nature of your project or how important it is to you.  You could tell us a little about the first part, but only you can decide the second one.  The work that I'm doing is terribly important to me.  The work being pursued by  vplusvw appears to be of value to that fine person.
    Two of us have tried to help.  We've given you our best shot.  Our methods, or some related version of them, might be the better way that you seek.  There is an eternal, universal truth, however.  There is no Royal Road to knowledge.  In so many important pursuits in life, there is no Easy Way.  You have asked for the better way.  I have given you the best way I know.  I am willing to explain it in greater detail if that would appear to be of some value to you.
    There simply was No Easy Way to build either the Golden Gate Bridge, the Transcontinental Railway, or the Hoover Dam.  There is No Easy Way to do the work that I am doing.  There is probably No Easy Way for you to do the work that you want to do.  If it gets done at all, let along done well, there will certainly be some Serious Tediousness involved.  That is for sure.
    Back over to you.

Maybe you are looking for

  • MS-Word Freezes in Snow

    I use MS-Word extensively for collaborative work, ...I mean I try to use MS-Word... Initially it would freeze with any attempt to paste from the system clipboard, now it freezes with 1st attempt to edit... ...currently using MS-Word running in Window

  • ATV 2 and Time Capsule-Choppy Streaming

    So I am using my Time Capsule as my wireless router and as an external hard drive. I am streaming my TV shows/movies (I converted them to mp4 files) from my TC to Apple TV via iTunes and it's awful; choppy like every 10 seconds or so. Not sure why th

  • Suppressing error messages

    Hi experts, In my report there is a receipt no field in output list which is made interactive. When receipt is double clicked call transaction 'ZFRREV_VAR' is executed which is transaction variant for tcode 'ZFRREV'. Now in ZFRREV_VAR if pay-in-slip

  • CS4 Not working for New Macbook retina display?

    So I finally upgraded to the  new MACBOOK PRO retina display I've been using CS4 since 2009 now since I transferred all of my files/data/etc into my new laptop for some odd reason I can't use my Photoshop it keeps saying FATAL ERROR /Library/Applicat

  • Phone restarting on its own

    Hi,   I bought a new Nokia 5530 xpress Music phone. I have updated the latest firmware (V2). Even after updating, my phone is switching off on its own. Some times, it never restarts. Any updates for this problem. Thanks Hari