How to set bit rate of audio and video

I want to set the bit rate of audio and video (48,96.128 kbps) at the time of live streaming . i m not using the flash media live encoder because i have to make it as web applicaton. can any one tell me how to set bit rate.

When you're using Flash Player to capture and encode video, your only control is Camera.setQuality():
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/media/Camera.html#setQuality()
Jody

Similar Messages

  • Max Bit Rate of Audio and Video supported on iPod?

    Hey
    I've been having issues putting certain videos on my ipod... I've made sure the video bit rate is under the max.
    However, I'm not sure... does the max bit rate of the audio played during videos have to be under 160 for the acc audio?
    I have it at 192... which has worked with other videos, but not some.
    If this is true, let me know. Thanks
    n

    Yes, but it's vague. Is it:
    Mpeg4
    2.5mbps Video Max
    160kbps Audio Max
    They're doing weird things with semi colons, I don't know which format it belongs to.

  • How to set up recordings of audio and video so that they will sync

    I'm editing footage of a dance concert that used CDs for some of the dances and a live pianist for the remainder. In addition to the audio captured by the camera, I have all the CDs that were used and an additional audio recording of the piano that sounds much better than what was captured by the camera. I would like to use to mix the audio from the camera with the audio from the CDs and the additional recording of the piano, but the sources won't sync properly, since the camera, the CD player, and the audio recorder all run at slightly different speeds. For example, if I zoom in and line up the CD audio with the camera audio at the beginning of a song that lasts 3:21, at the end of the song the CD audio is late by about 11 frames. That's enough that I can't use the camera audio as ambient sound, and enough that the dancers are noticeably ahead of the music (by 11 frames).
    I know I could time-correct my sources so that they will sync, but I'm wondering how to avoid this problem in the future.
    Thanks,
    John Link

    John,
    On most professional recording or editing environments we try to run a sync signal to all the devices. Many of the audio recorders out there are not equipped to accept or send sync. For that matter, neither are the consumer and prosumer cameras. That's one of the many things dividing pro from non-pro.
    Wild sync , just running at a true and constant speed, is a lot easier now than " in the day." but one still sees issues like you have when not running sync between devices.

  • How should i convert any image, audio and video into binary?

    I am going to prepare a Steganographer Software Using java.
    I want a code to convert any Image , audio and video files into binary structure.
    I am having very short time to accomlish my project, so please reply as early as possible.

    It's already binary.

  • How can I delete both an audio and video section of my video?

    I am making a gaming video, so I kept the audio from the game and added live commentary that I did with my friend. I want to delete a section of the video and audio, but when I select the video, the audio from the commentary stays and instead it cuts off the ending audio. How do I fix this?

    there's a simpler method, without leaving iMovie
    (@AppleMan: I can still teach you tricks ) :
    set your playhead where you want to split video+audio clip
    click into the video (make it yellow bordered)
    hit cmd-shift-S (Split)
    tricky part: don't move the position of playhead, just select the green audio-bar underneath
    hit cmd-shift-S again
    repeat steps for OUT
    => the unwanted part is 'isolated', select clip, backspace, poof! erased, repeat for audio track
    in FCPX: hit R (for range tool), select, erased, done ....
    (I know, why I left iMovie 2y ago ..... )

  • YouTube only plays the audio how to get it to play audio and video

    I can't play youtube videos in firefox. I only get the audio portion without the video. It was working fine. No new programs. No new plugins. No changes I can recall. How do I fix this?
    I'm on Windows XP

    You can check for problems caused by recent Flash updates and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *downgrade the Flash player to version 10.3 or 11.2
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • How do I burn files: txt, audio and video onto a dvd disc?

    I know this is way too basic, but everytime I've copied my files onto a blank dvd disc and then click on the burn icon, it gets half way through the burn and then dies and says there was an error and the disc can not be used again. I've tried doing this on 6 dvd discs now and the burn keeps failing! I'm not running any other application. As the discs are 4.7 gb dvd+r's and I am trying to burn 4 gb onto it, it should work...space wise. What am I doing wrong?? My files are too large to burn onto cd's. Thanks!
    G5 Mac OS X (10.3.9)

    Hi djefferson
    Welcome to Discussions.
    There could be several reasons.
    Your disks may be coaster class. Check out this page on disk brands and reliability
    http://www.digitalfaq.com/media/dvdmedia.htm
    Also try using just DVD-R disk media.
    regards roam

  • How to synchronize audio and video rtp-streams

    Hi everyone!
    I've tried to make one of the processors, processor1, control the other processor, processor2, with processor1.addController(processor2) but I get a
    javax.media.IncompatibleTimeBaseException. I need to synchronize audio and video rtp-streams because they are sometimes completely out of sync.
    In JMF API Guide I've read:
    "2. Determine which Player object's time base is going to be used to drive
    the other Player objects and set the time base for the synchronized
    Player objects. Not all Player objects can assume a new time base.
    For example, if one of the Player objects you want to synchronize has
    a *push-data-source*, that Player object's time base must be used to
    drive the other Player objects."
    I'm using a custom AVReceive3 to receive rtp-streams and then I create processors for the incoming stream's datasource's, and they are ALL PushBufferDataSource's.
    Does this mean I can't synchronize these. If so is there any way I can change them into Pull...DataSources ?
    How are you supposed to sync audio and video if not with as above ?

    camelstrike wrote:
    Hi everyone!
    I've tried to make one of the processors, processor1, control the other processor, processor2, with processor1.addController(processor2) but I get a
    javax.media.IncompatibleTimeBaseException. I need to synchronize audio and video rtp-streams because they are sometimes completely out of sync.
    In JMF API Guide I've read:
    "2. Determine which Player object's time base is going to be used to drive
    the other Player objects and set the time base for the synchronized
    Player objects. Not all Player objects can assume a new time base.
    For example, if one of the Player objects you want to synchronize has
    a *push-data-source*, that Player object's time base must be used to
    drive the other Player objects."
    I'm using a custom AVReceive3 to receive rtp-streams and then I create processors for the incoming stream's datasource's, and they are ALL PushBufferDataSource's.
    Does this mean I can't synchronize these. If so is there any way I can change them into Pull...DataSources ?The RTP packets are timestamped when they leave, and they are played in order. You can't change the timebase on an RTP stream because, for all intensive purposes, it's "live" data. It plays at the speed the transmitting RTP server wants it to play, and it never gets behind because it drops out of order and old data packets.
    If your RTP streams aren't synced correctly on the receiving end, it means they aren't being synced on the transmitting end...so you should look into the other side of the equation.

  • Adding Audio and Video Content to EPUB from InDesign CS5.5 | CS5.5 Design Premium Feature Tour | Adobe TV

    In this episode, Colin Fleming shows how simple it is to embed audio and video content in InDesign CS5.5 for export to EPUB.
    http://adobe.ly/xT0jKh

    I have placed audio and video into InDesign. I did it just exactly the way this video told me. Everything works well in the preview panel. However, when I exported it to EPUB, the file of the EPUB is so small (I guess, it should have been larger because I had added video and audio file into it). Plus, When I open it in EPUB reader (ibook) and Adobe Digital Edition, It shows nothing.
    What I want to do is to create an EPUB which contains image, and sound. I want to make the image as a button which plays sound when I click it. I did it by setting he button to play when clicked, but again, it is not showing at all when published to EPUB.
    I hope that there will be a good solution to this matter.
    Thank You.

  • How to fix problems between audio and video sync?

    Hello, I have this old camera DSR 200P and I'm trying to import to my final cut pro x. The importation success well but at the end the syncro between audio and video doesn't work. How can I fix it?
    It's possible my mac doesn't accept this kind of camera or should I change any options of final cut?
    Thank you

    I use to edit footage for a client that was recorded on a DSR-250 (successor of the DSR-200) and every time, every single time, the audio sampling rate would not match my Sequence settings of 48khz, 16bit.  The sampling rate of the captured video was always off by a slight amount. It might be 47999.9 one time and 48000.1 the next time ... but it was never at 48000 as it should have been.  I chalked it up to Sony using cheap synthesized crystals (frequency generator) to control the rate.
    Anyway, the fix was to export the captured clip using QuickTime Pro with the export's audio settings to 48khz, 16 bit.
    -DH

  • How do I synchronise audio and video with an mpg file created in elements 11 ?

    How do I synchronise audio and video with an mpg file created in Premier Elements 11 ?
    The source files are VOB files, and there is no problem with those source files.  But after creating the mpg file, the audio can be out of sync by 1 second or even 10 seconds, and sometimes zero seconds (ie perfectly OK).  That varies.  The variation might be linked to some of the VOB files.  ie. some are OK, and some are not.
    Can I fix this automatically in Elements 11, or am I doing something wrong ?

    Hartwood,
    First, Premiere (both Pro and Elements) do not handle MPEG Audio perfectly - they like some files, but not all files with MPEG Audio. That makes a VOB a less-than-perfect source file. Still, with a bit of work, one should be able to edit it just fine. One of the factors is that there is a very slight block-size difference between the Encoded Video Stream and the Encode Audio Stream in a muxed MPEG-2 file. That often does not play into things, but can cause slight OOS (Out of Sync) issues. Also, both Premieres need to create all I-Frame files for the Video Stream, which is in GOP (Group of Pictures) structure, so what one sees on the Timeline is really a proxy of the MPEG-2 file's Video Stream. The Audio Stream must also be Conformed to PCM/WAV @ 48KHz 32-bit floating point, to be edited. That Conforming is perfect when one has PCM/WAV @ 48KHz 16-bit for the Audio Stream, but requires more work, when the Audio Stream is MPEG (one reason that some MP3's do not work well in Premiere). Several factors involved here, and a fair amount of work for the program. That is why DV-AVI Type II w/ 48KHz 16-bit PCM/WAV Audio works so perfectly.
    Now, fixing OOS might be easy, or might require a bit more work. This article goes into some workflows, that might be helpful: http://forums.adobe.com/thread/436751?tstart=0
    I can feel your pain, as I almost went crazy trying to fix OOS in a client's Project. They ONLY had the finished DVD, from which to work. The disc met the DVD-standards, so everything ripped/Imported fine, and when the simple edits were done (IIRC, there were four scenes, that had to be shortened, and then several Titles added), everything played fine in the Timeline. However, when I Transcoded that Timeline to be authored in Adobe Encore, two scenes went OOS. I went back to Premiere, and checked - all perfect there. I tried to judge the number of Frames that the Audio was out, in those scenes, and nudged them, tested, nudged, tested, and no matter what I did, I could never get the output files perfect, when Imported into Encore for authoring to DVD-Video. I tried DV-AVI, and letting Encore set the Transcoding automatically (usually a great way to work), I tried manually setting the Transcoding in Encore. I tried outputting to MPEG-2 from Premiere, and Importing that. No matter what I did, those two scenes were just OOS, and I could not even seem to improve them - it was like they were just locked OOS. I finally did some more editing, to break things up a bit, added a cut-away shot here, and there, and minimized the perceived OOS, but could never get it perfect. It was like trying to pick up quicksilver with a pair of tweezers!
    Good luck,
    Hunt

  • Satellite A80: How to restore audio and video codecs?

    How can I restore the audio and video codecs which are installed by default on my Satellite A80 with XP Home edition?
    I removed them in safe mode because of a problem with the Pinnacle Codec installed by Pinnacle Studio 10.
    Now I need to set the standard audio en video codecs back.
    I already downloaded the codec package from Microsoft Mediaplayer and have sound en video again in Media Player.
    Unfortunately I still don't have sound in Toshiba Diagnose Program when testing Midi and Wave sound.
    System restore came up with the message that restore was not possible because no changes had been made.
    Message was edited by: roel

    Have investigated in the forum and found this different codecs:
    -Zsunami Filter Pack: (3.9.9)
    - Nimo Codec Pack: (5.0 Final)
    - ACE Mega CoDeC Pack: (5.93)
    - Codec Pack Elisoft: (13.505)
    - K-Lite Codec Pack: (2.2) Full
    - SLD Codec Pack: (1.5 Pro)
    - All in One: (5.0.6.1)
    - The Codecs: (1.1 full)
    Well, if the system restore does't work try to install one or several codecs from this list.
    Have found it in this posting:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=12068&messageID=44047
    good luck

  • How to stream audio and video captured from mic and webcam in sync.

    I am working on a video chat project. I need to capture audio and video from mic and webcam and create rtp stream for them. How can I proceed for this. Any source code help will be highly appreciated. Otherwise just guide me how to do this and point to any good resource which is directly related to my need.
    Thanx.

    t.b.m
    As mentioned by you, i am doing exactly like that . I have coded transmitter class. But at the receiver side it is unable to play the stream. I am posting my code . Can you please help with me with any mistake i m making in my code ?? Or with way I should receive stream at receiver side. Plz see my code. I am streaming to ip address 172.31.80.67.
    package heyram;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.format.*;
    import java.io.IOException;
    import java.util.Vector;
    import java.net.InetAddress;
    import java.awt.*;
    import java.io.*;
    import java.net.InetAddress;
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.format.*;
    import javax.media.control.TrackControl;
    import javax.media.control.QualityControl;
    import javax.media.rtp.*;
    import javax.media.rtp.rtcp.*;
    import com.sun.media.rtp.*;
    import java.lang.Thread.*;
    public class HEYRAM{
    Format[] format=new Format[2];
    Vector[] devices=new Vector[2];
    CaptureDeviceInfo[] di=new CaptureDeviceInfo[2];
       SessionManager rtpsm = new com.sun.media.rtp.RTPSessionMgr();
    Processor p=null;
    Processor p1=null;
    boolean result;
    public HEYRAM(String address,int port,int ttl){
        try{
                InetAddress destaddr = InetAddress.getByName(address);
                SessionAddress sessaddr = new SessionAddress(destaddr,
                                                             port,
                                                             destaddr,
                                                             port + 1);
                String cname = rtpsm.generateCNAME();
                    String username = null;
                try {
                username = System.getProperty("user.name");
            } catch (SecurityException e){
                username = "jmf-user";
            // create our local Session Address
            SessionAddress localaddr = new SessionAddress();
                SourceDescription[] userdesclist= new SourceDescription[]
                    new SourceDescription(SourceDescription
                                          .SOURCE_DESC_EMAIL,
                                          "[email protected]",
                                                                     1,
                                          false),
                    new SourceDescription(SourceDescription
                                          .SOURCE_DESC_CNAME,
                                          cname,
                                          1,
                                          false),
                    new SourceDescription(SourceDescription
                                          .SOURCE_DESC_TOOL,
                                          "JMF RTP Player v2.0",
                                          1,
                                          false)
                rtpsm.initSession(localaddr,
                                userdesclist,
                                0.05,
                                0.25);
                rtpsm.startSession(sessaddr,ttl,null);
            } catch (Exception e) {
                System.err.println(e.getMessage());
                //return null;
        // rtpsm.initSession(localAddress, defaultUserDesc, rtcp_bw_fraction, rtcp_sender_bw_fraction);
            // rtpsm.startSession(...);
    public void createVideoSession()
        format[1] = new VideoFormat(VideoFormat.YUV);
        devices[1]= CaptureDeviceManager.getDeviceList( format[1]);
         di[1]= null;
            if (devices[1].size() > 0) {
                 di[1] = (CaptureDeviceInfo)devices[1].elementAt(0);
                  System.out.println(di[1].toString());
            else {
                // exit if we could not find the relevant capture device.
             System.out.println("1234jjfjsajfjasf1");
                System.exit(-1);
            // Create a processor for this capture device & exit if we
            // cannot create it
            try {
                p1 = Manager.createProcessor(di[1].getLocator());
            } catch (IOException e) {
                System.out.println("1234jjfjsajfjasf2");
                System.exit(-1);
            } catch (NoProcessorException e) {
                System.out.println("1234jjfjsajfjasf3");
                System.exit(-1);
            // at this point, we have succesfully created the processor.
            // Realize it and block until it is configured.
           // p1.configure();
         result = waitForState(p1, Processor.Configured);
         if (result == false)
         System.out.println("Couldn't realize processor");
            p1.setContentDescriptor(new ContentDescriptor( ContentDescriptor.RAW_RTP));
            // block until it has been configured
            TrackControl track[] = p1.getTrackControls();
            boolean encodingOk = false;
            // Go through the tracks and try to program one of them to
            // output ULAW_RTP data.
            for (int i = 0; i < track.length; i++) {
                if (!encodingOk && track[i] instanceof FormatControl) {
                    if (((FormatControl)track).
    setFormat( new VideoFormat(VideoFormat.YUV)) == null) {
    track[i].setEnabled(false);
    else {
    encodingOk = true;
    else {
    // we could not set this track to gsm, so disable it
    track[i].setEnabled(false);
    // Realize it and block until it is realized.
    p1.realize();
    result = waitForState(p1, Processor.Realized);
         if (result == false)
         System.out.println("Couldn't realize processor");
    // block until realized.
    // get the output datasource of the processor and exit
    // if we fail
    DataSource ds = null;
    try {
    ds = p1.getDataOutput();
    } catch (NotRealizedError e){
    //System.exit(-1);
    System.out.println("1234jjfjsajfjasf4");
    // Create a SessionManager and hand over the
    // datasource for SendStream creation.
    // The session manager then needs to be initialized and started:
    // rtpsm.initSession(...);
    // rtpsm.startSession(...);
    try {
    (rtpsm.createSendStream(ds, 0)).start();
    } catch (IOException e){
    System.out.println("1234jjfjsajfjasf6");
    e.printStackTrace();
    } catch( UnsupportedFormatException e) {
    System.out.println("1234jjfjsajfjasf7");
    e.printStackTrace();
    public void createAudioSession(){
    format[0] = new AudioFormat("linear",8000,8,1);
    devices[0]= CaptureDeviceManager.getDeviceList( format[0]);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do I increase default time of fade out audio and video

    Hi. Still working with elements 8. Today is another day. I notice lately that I right click on the end of my clip and hit the fade out audio and video
    tab but it is a bit short and sloppy for me. I want a slightly smoother and longer fade out audio and video. How do i achieve this? The default time on transitions is fine,,,JUST the fade out on the END of clip?
    Thanks Howard

    Also, if you want to save a customized fade out for future use, you can do that too.
    Google Books has Steve Grisetti's Premiere Elements In A Snap book explaining how to do so. (See pages 165 and 166 at the following link)
    http://tiny.cc/ijdi8
    This is for an earlier version of Premiere Elements but I suspect the steps are nearly identical for PRE8.

  • I am new to iMovies.  When I make a video using the mic and camera in my Macbook Pro, the audio and video are not in synch.  Very annoying.  How can I fix this?

    I am new to iMovies.  When I make a video using the mic and camera in my Macbook Pro, the audio and video are not in synch.  Very annoying.  How can I fix this?

    DVD drives read the bottom of the disk, not the top. Smooth out the paper & try again.

Maybe you are looking for