H263 RTP and JPEG RTP buffering problem

Hi
I have a problem with buffering received video stream. I use a buffercontrol of rtpmanager and for audio stream eveything works fine but for video buffercontrol is null, sa i can't set it (the same problem is with player or porcessor). Audio stream has all parameters (bitrate, samplerate etc) but video has only encoding and size parameters.
I tried to change format (by processor) of received stream to supported format (for example jpeg) and set all parameters (size, framerate, maxdatalength and encoding) and use output datasource but still player can't get buffercontrol. When i use a porcessor as a player i can see in media properties that it is set like i want, but buffercontrol is null.
I think that h263_rtp and jpeg_rtp video format don't support frameate (i tried set it but nothing happens) and it's played as it comes.
I need to set a buffer because the framerate of incoming stream is really low (it's p2p application) and smothnes of video is bad.
Please helpme where i can find any suggestion to solve this problem. Maybe i have to use custom transport layer or something like that.

cziz13 wrote:
I don't know what you want to say. I said exactly what I wanted to say.
i got buffercontrol on realized player (it cals rendering and it's in solution AudioBufferControl.java). I got the buffer even on video file, but only when i play it from my hd. when i try to do it on received video stream the buffer is not working.Good for you. But that wasn't my point.
Whenever you request a "Player" object, you don't get a "Player" object, you get some specific "Player" subclass that, depending on what it's designed to do, will implement certain interfaces.
The BufferControl object you're getting on your Player class that will play from the hard drive is more of a prefetch cache than a buffer (in the sense that I think of a buffer, at least). It's using a pull datasource, so it can control getting data from its datasource.
However, the player object that's playing a RTP stream is relying upon a pull buffer data source. It has absolutely no control over the data, and it's told by the DataSource when data is ready to be played...so it just loads when it's told to do by the DataSource.
And the datasource is just handed data from the RTP streams inside the RTPManager based on the internal RTP buffering that is handled by the RTPManager...
Any more suggestions?My original "suggestion" still stands. Get your BufferControl object on the RTPManager that you're using to receive the stream...

Similar Messages

  • Packet sniffer only picks up UDP and no RTP packets when using JMF???

    Hi,
    I am developing a voice mail application to interface with asterisk. Here is the problem.
    I am using ethereal packet sniffer to sniff the packets. When I connect two regular SIP phones and sniff , I can sniff the RTP packets.
    But when I use JMF AVtransmit2.java and AVReceive2.java I sniff only UDP packets and no RTP packets.
    I am very confused. What is going on? If JMF sends over RTP (that uses UDP underneath), then why cannot packet sniffers detect it.

    Hi,
    I am developing a voice mail application to interface with asterisk. Here is the problem.
    I am using ethereal packet sniffer to sniff the packets. When I connect two regular SIP phones and sniff , I can sniff the RTP packets.
    But when I use JMF AVtransmit2.java and AVReceive2.java I sniff only UDP packets and no RTP packets.
    I am very confused. What is going on? If JMF sends over RTP (that uses UDP underneath), then why cannot packet sniffers detect it.

  • How to convert JPEG/RTP Buffer to non-RTP (RAW) format ?

    Hi everybody !
    Could somebody tell me how to convert JPEG/RTP Buffer to non-RTP (RAW) format ? Thanks !

    Hi
       The way is you have to split the data several and concatenate after that.
    Regards,
    kumar

  • About rtp and jmf

    Hello,I'm now working on my graduation paper which refers to the RTP,and JMF matter.Because this is my first time to deal with this, i don't know much about that.And what i'm now trying to transfer is a file like *.au by using the sample
    code VideoTransmit.java. But it always says
    -cannot create processor
    (processor is an interface)
    I don't know why.
    can anyone help me?
    Thank you.

    .au is a sound file, VideoTransmitter wants a video file

  • 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.

  • Iphone4S email attachment and jpeg problem - Cant open

    Hello,
    I hope someone can help me as I'm a bit rubbish and the problem is driving me nuts!  I've tried searching the support forums but I can't find an answer.
    For some reason, I'm unable to open email attachments or RTF files and even Jpegs that are sent to me on my hotmail. I always used to be able to on my 3GS but now it just says unable to open file?
    Is there some way of sorting this does anyone know or is anyone else having problems or maybe I have to tweak something on the settings? ( told you I was rubbish)
    Any help and advice would be brilliant!
    Thank you.
    PS.
    I have tried forwarding the same jpeg to my new icloud email on my iphone and can open it and view it no problem, so maybe it's a homail thing? I don't understand...!

    When that happens to me I have to do a hard reset (depress both Power/Sleep and Home buttons at the same time until the Apple logo appears. When screen activity stops depress these some two buttons again until the Apple logo appears. The restores the normal iPad function till it happens again.

  • D800 file compatibility:  Has anyone experienced problems with loading D800 files onto the iPad using the camer connector kit?  I have tried both RAW and JPEG using SDHC and CF cards and the iPad(3) doesnt recognise any of the files.

    Has anyone experienced problems with downloading Nikon D800 files to the iPad3 using the camer connector kit?  I have tried .RAW and JPEG (of various sizes) on both SD and CF cards, but the iPad doesn't recognise the files. 
    I have seen various forums discussing Lightroom and PSE updates that are required to process .NEF files but I can't find anything on the iPad/camera connector issue.
    I dont have any problem if I put the SD card straight into the SD slot in my iMac and Aperture will process the files fine, but I would really like to be able to download and view files on the move on the iPad.
    Any advice appreciated?
    PS - saw something that suggested the iPad had a maximum file size of 16mb for photos, not sure if this is correct, but I have tried smaller JPEG files and they still aren't recognised.

    If your camera supports both PTP and Mass Storage Device modes, it may be necessary to use both modes to import all media content.
    If some files do not import as expected using one mode, try switching to the other mode and importing again.
    Note: Some cameras may refer to PTP as Pictbridge or PTP/Pictbridge.

  • RTP  and RTSP

    I have 2 question want to ask:
    1)Is RTP and RTSP can pass through firewall?
    Or can you tell me which TCP port no. be used for RTP and RTSP protocol?
    2)Also,Is this possible to transfer video data thro' http protocol?

    1a: Yes , (If firewall rules permit)port 554 for RTSP (http://www.chebucto.ns.ca/~rakerman/port-table.html)
    1b: No, (if firewall rules disallow)
    2:(see answers above)

  • Does Cisco Media Services Interface mark RTP and Signaling packets regardless of Cisco Prime Collaboration/MediaNet Deployment?

    Hi there,
    I'm deploying Cisco UC Integration Lync 9.2(5). There's a QoS portion which states that you can install Cisco Media Services Interface on the user's PC and is to be used with Cisco Prime Collaboration or MediaNet:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucilync/9/CUCI_BK_C0545A41_00_cisco-uc-integration-for-microsoft/CUCI_BK_C0545A41_00_cisco-uc-integration-for-microsoft_chapter_010.html#CUCI_CN_IDBE72E9_00
    If we don't have Cisco Prime Collaboration or MediaNet, does Cisco Media Services Interface mark RTP and Siganling packets on the outbound regardless? Or do I have to manually set the DSCP values for the PC?
    Thanks,
    John

    When you were placing the internal test calls, where was your phone located?   The RTP streams are usually only set up between the two endpoints (assuming no transcoder or MTP is used).
    Have you have already checked calls between IP phones at your central site (where Unity is located) and IP Phones at site A?   Are these working fine?   If not, then it's likely you do have a QoS issue over the WAN to Site A.
    Have you confirmed whether or not calls from the PSTN gateway at site A experience any voice QoS issues when transferred to an IP Phone at the central site?
    Is the same codec is being used for the MGCP gateway as for IP Phones at that site (check the Region settings for the Device Pool it's in)?
    If these things have all been checked, then you may want to consider collecting a simultaneous sniffer trace from each end of a single call, and comparing what's seen at the two endpoints.
    Kind regards,
    Craig

  • The raw portion of a referenced master got separated from its jpeg pair when I was relocating originals.  Can I recombine the raw and jpeg pair?

    Hi, I'm a fairly new Aperture user and have just started storing my photos on an external hard drive. An error message appeared when I was relocating originals of a project. It stopped relocating at one image, saying that the jpeg file did not exist. I found the raw file name under the new project folder that I was relocating it to, but it's jpeg pair did not move. The file names look identical except one ends in .JPG and the other as .NEF. I tried to combine originals, but I got the same error message and when I looked at the files the raw now had (1) attached to it, whereas the jped didn't. The Aperture window started to close unexpectedly many times. I tried Repair Permissions and Repair Database and that seemed to stop Aperture from closing unexpectedly, but the raw and jpeg  pair are still in separate folders. How can I get them paired up again or does it matter? I'm using Mac OS X and Aperture version 3.4.5.
    Thanks,
    sophie

    If you don't take care when choosing the location for referenced images, you can create some problems for yourself.
    From an operational perspective 'Managed' images means Aperture will take care of the image file storage for you, 'Referenced' means you will take care of it yourself.
    There are a number of things that may have happened but this is what I think is most likely:
    If you shoot a lot of photos with the same brand of camera, eventually you'll end up with duplicate file names, for example two different files called DSC_1234.NEF. If you attempt to store these in the same folder yourself, worse case scenario is you may inadvertently overwite one of the files. If you use Aperture to relocate, you'll get one of the files with a new name of DSC_1234 (1).NEF.
    So your first step is to figure out what these files really are. Are they duplicates, or are they different files with the same name, and do they each have a matching .JPG
    Aperture has the tools to fix up the problem, but you need to confirm what the problem is first.
    If you don't have many of the (1) files, it may be worth continuing your 'relocate' to subfolders - making sure your subfolder hierarchy doesn't cause duplicate names to be stored together. Then when everything else is stored correctly, address the problem images by moving them to where they should be, with the right name and the JPG/NEF pairs together.
    You can then search for missing files in Aperture and use the 'Locate Referenced Images' to reconnect them with Aperture.
    Andy

  • Help with managing RAW and jpeg images and installing iphoto 9

    Greetings: Fist, let me make the neophyte apology and plea - I'm sorry, I should have come here first; I didn't and now I need your help.
    I have just purchased a macbook pro (still in its box) with updated software for my older imac os x. I have a number of Canon related photo editing programs (that came with my 40D digital SLR) and Adobe photo elements 6 for mac on the imac. Following some erroneous advice I have made a complete mess of the pictures folder's content by trying to delete images directly from that folder (there are now 6000+ images in the folder, many of which are duplicates(?). Most of the images are not tagged or labeled and some have been organized in/by iphoto (I corrupted the iphoto's library structure very early on by disrupting and editing its images - which might explain why iphoto had a difficult time 'finding' and displaying some of my photos). The picture folder now holds jpegs, smallRAW images (a Canon 40D photo format) and various duplicates of the orignal images - (some of the duplicates don't display as images, but as jpeg logos, which, when opened contain duplicate image or are completely black) The first time I downloaded RAW images into iphoto 6 the RAW data displayed as a black image. When shooting in smallRAW on the Canon 40D, the camera produces a jpeg image for 'easy viewing and editing in the camera' but it looks as though iphoto 6 made duplicates of the jpeg and the RAW data and stored them in different locals in the picture file. In an attempt to get the number of images down, I have been trying to delete them from the picture folder. (My daughters both download images rather indiscriminately in hopes of 'editing them on the computer' which inevitably does not happen) and there is a lot of experimental bracketing of images - shooting raw and different Camera formats etc., all of which need to be cleaned up before I proceed.
    Sometime in the not-too-distant future I would like to have iphoto 9 running on my imac with a clean library of images and a seamless way of downloading, editing and storing images (including the RAW data).
    The macbook pro is for my highschool-aged daughter, who will run iphoto 9 but not have any RAW image data on her system. She would like to copy some of the old iMac's images to put into her own iPhoto 9 library (probably using a disk, email or on-line photo service - ideally, I would like to be able to copy and remove a number of those images from my HD and give them to her for the macbook)
    A few questions and queries: Can I 'dis-able' iphoto 6, while I delete images (RAW and jpeg) from the picture file? (and is this even a good idea).
    Once I have edited the # of images down to a reasonable size, should I re-launch iphoto 6, rebuild the iphoto library and then update to iphoto 9 or skip v6 and rebuild with v9?
    And now for the 'how stupid is this guy question' - I really had planned to purchase an external backup; but between new the macbook, car repairs and braces it has never come to fruition. So, I have never properly backed up my images. What is the bare-bones, least expensive method for me to do this? I'd even consider burning everything to disks if that works. I can't afford the $ to purchase a new external hard drive right now (really). Budget is set aside mid-November for one though.
    I've been looking through some other discussion boards and it looks like I'm not the only one having RAW image issues. I know that shooting smallRAW with the companion jpeg is probably not helping things but I take my camera equipment on extended canoe trips - and we like the ease of on-the-spot editing with this format.
    Thanks in advance for your help - Mark

    Terence, Is the picture folder the primary source for the images or does that data reside somewhere else?
    If you gathered them there, then yes.
    I really don't want to have to go through 14,000 images looking for the pictures that I want to keep (or is that my only option?).
    Only you can decide what you want to keep.
    Why does the computer keep making copies of the images and filing them under date and events?
    That's how iPhoto works. It's not a problem usually, only you did go in there and make a problem, and now we are trying to fix it.
    You advise not to muck around in the picture file via preview,
    No I don't. I advise not to much around in the iPhoto Library Folder.
    but if I download images through a program other than iPhotos - image capture or adobe aren't I doing that anyway?
    Adobe what? Adobe is a software manufacturer who make many excellent applications, you need to be more precise. And no, if you import photos with Image Capture or “adobe” no you are not interfering with the iPhoto Library Folder.
    Can you edit a base image file somewhere and remove it from the HD without iphoto making a copy of it and storing it somewhere else?
    This is stunningly easy. Don't use iPhoto. Use an image editor.
    I want to look the negatives, decide which ones I want and throw the rest away. Can that be done or am I way off course?
    Yes, and iPhoto (or similar apps) make this really easy.
    Hook up your camera. Import the pics to iPhoto. Go through the imported pics. Trash the ones you don't want. Then process the ones you do. But you must learn how to use iPhoto to do this successfully
    To trash: put the pic in the iPhoto trash and empty it. This removes the file from iPhoto and the Hard Disk.
    Process it: If you want to use another editor: You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Regards
    TD

  • Colour colour profiles and JPEG compression mismatch

    In preparing images for iBooks I have noticed bizarre behaviours and a number of problems with matching colours.
    For example, if a JPEG image all one colour is placed in a gallery widget over a text box, and then the background colour of the textbox is set to the colour of the image by sampling the colour in the image using the colour picker, when downloaded to the iPad the colours will not match (although they appear to in iBooks Author). I presume this must be a bug with the encoding of the JPEG? Or is it a conversion issue between different colour profiles used for the solid colours in iBooks and the sRGB colours that Apple advises using for images?
    I have also noticed that if you download a book to an iPad the colour matching between solids and image colours changes radically depending on what monitor you have the computer running iBooks Author plugged into (ie depending on the monitor profile in use). What colour profile does iBooks author use for solids and what for images and why are they different? Is it conversing the solids but not the images, or vice versa, and between which colour spaces? What is the working colour space of iBooks Author? Does it differ depending on the monitor profile? If so, why does converting images to the monitor profile still not result in them matching the solids used in iBooks Author?
    In short, does anyone have a clue what is going on with the colour profiles and colour matching in iBooks Author and iBooks on the iPad? They certainly display the most perplexing behaviour I have ever come across.
    Giles Hudson

    Although you say there is no concept of a colour profile in iOS, the problem is that iBooks Author does recognize profiles, and appears to take them into consideration when downloading images to books on the iPad. For example, an image tagged with an sRGB profile placed in iBooks Author will appear differently from an identical image tagged with an Adobe RGB profile. The problem is, it is not at all clear what conversion is going on, especially when using a monitor with a different colour profile appears to cause radically different behaviour in the conversion. Is it being converted to "Device RGB" that the colour picker apepars to use? What is this Device RGB? The monitor RGB or the iPad RGB?
    I understand that iOS supports RGB and CMYK. However, the important question is, which working space does iBooks Author use? sRGB, GenericRGB, Device RGB (whatever that is), Apple RGB, Adobe RGB, the monitor RGB? Without knowing this it is difficult to match solid colours to colours in images (and even arguably impossible due to the JPEG encoding problem I mentioned above).
    All this vagueness in colour handling with OSX and iOS makes life very difficult, especially, as you suggest, when things have the potential to change at any minute, potentially wrecking months of painstaking work that has been put into designing books in iBooks Author.

  • HD video and Jpeg pics in the same project/sequence?

    I want to use both HD video (1929x1084;24bps) and Jpeg pictures from my DSLR camera in the same sequence. My problem is that when i choose the correct presets for the video (DSLR 1080p24) then the Jpegs gets cropped in the program monitor (I only see part of the picture). How can I fix this?
    It is probably a simple question but I haven't been able to find an answer. 
    Kind regards

    There are basically two ways (plus one variation) to address this.
    Your stills are overly-large, for the Project Preset's Frame Size. You can apply the fixed Effect>Motion>Scale to Scale them to the Frame Size (1920 x 1080), or can check Scale to Default Frame Size (that's the variation). Or, you use a program, like Photoshop, to Scale to 1920 x 1080.
    Until CS5, PrPro was not that good at Scaling, so PS was the way to go. Things changed with CS5, but one is still shoving around a bunch of pixels, that will not be needed, and this taxes the computer.
    Good luck,
    Hunt
    PS - This ARTICLE will give you some background, and tips on doing the Scaling in PS.

  • Premiere Elements 12 - The project stopped accepting new mp4 and jpeg clips onto the timeline.  There are several there but when adding new ones they appear to place properly then immediately disappear.  Any fix?

    Windows 8.1 elements 12 - I have a project underway that was operating fine as i built the video file, then stopped accepting new files, both mp4 and jpeg.  It appears to accept them when dragged onto the timeline but then they immediately disappear. Any solutions?

    boondocker
    That is an unusual situation that you are presenting.
    Have you updated from 12 to 12.1 via the project's Help Menu/Update? If not, please do so.
    Do you have the latest version of QuickTime installed on your computer with Premiere Elements 12 on Windows 8.1 presumed 64 bit?
    The usual drill
    a. What is your project preset? What are the properties of your sources media? What is the brand/model/settings of the camera recording your mp4 and jpeg.
    What are the pixel dimensions of these jpeg images and how many of them are there in the project (especially when the problems set in).
    b. What is the size/duration of your Timeline content when the program no longer accepts new files?
    c. Describe status of your computer resources. Also, where are the Scratch Disks directed and how much free hard drive space is at that location(s)?
    Troubleshooting for Unexpected/Unexplained project problems...Deletion of the Adobe Premiere Elements Prefs file and, if necessary, the whole 12.0 Folder in which it exists.
    Local Disk C
    Users
    Owner
    AppData
    Roaming
    Adobe
    Premiere Elements
    12.0
    and in the 12.0 Folder is the Adobe Premiere Elements Prefs file that you delete. If that does not work, then delete the whole 12.0 Folder in which the Adobe Premiere Elements Prefs file exists. Be sure to be working with Folder Option Show Hidden Files, Folders, and Drives active so that you can see the complete path cited.
    Let us start from the above and then decide what next.
    Thank you.
    ATR

  • Unable to export from the Book Module in LR-4.4 to Blurb, PDF and JPEG

    I have made a book in the book module and was really looking forward to send it to Blurb for printing. I push the "Send book to Blurb... " button but nothing happens. I have tried to export to PDF and JPEG aswell, but nothing. I am Connected to internet, I have an account at Blurb but no reaction. Are there any settings I have missed or are there any bugs that prevents me from exporting? Do Blurb ship to Norway or is that the problem? Please help!!!

    When you click on <Send Book to Blurb> a dialog should come up that asks for your ID and password for your Blurb account. I don't know if Blurb ships to Norway - you probably can find out at the Blurb website. But I don't think that this is the problem here since you also cannot export a PDF or JPGs.
    I don't know of any specifics why this is not possible for you but it's worth trying to replace the Preference File.
    This file can go "funny" and is then responsible for all kinds of strange behavior of Lr. The remedy is replacing the Preference File. 
    BTW: Re-installing Lr or updating / upgrading Lr does not replace the Preference File since it is designed to "survive" upgrades.
    See here for where to find the Preference file for your OS: http://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroo m-4.html
    See here for how to go about Replacing the Preference File: http://lightroomers.com/replacing-the-lightroom-preference-file/745/

Maybe you are looking for

  • Cannot link to FM document when starting new project

    Hi, We are using FM12 and RH HTML 11. We recently upgraded from TCS 4 to TCS 5. We would like to dynamically link our FM books in RH. However, the option is greyed out. We encountered the problem with TCS 4, so I don't think it is related to the upgr

  • Problem logical column calculation

    Hi, I've a logical table with 2 datasources DS1 and DS2 with this definition DS1: Physical table TABLE_A, where condition: TABLE_A.A_YEAR = EXTRACT(YEAR FROM CURRENT_DATE) DS2: Physical table TABLE_A, where condition: TABLE_A.A_YEAR = EXTRACT(YEAR FR

  • Do I have to update restore usb drive for every 10.7.x?

    Hello, my Mac is playing up and I've decided to reinstall OS X Lion. When Lion came out I created a USB drive (10.7.0) as per the instructions. Now I need to use the USB stick, whether I press the Option key on boot or look for it In Preferences/Star

  • The "pair a device icon" on my desktop is not showing ? How do I make it sow to pair with me Android Samsung s2

    To sync Samsung s2 Android phone with Desktop, the instruction is to go to Firefox home page and click on "pair a device" icon at bottom of page. This icon is not on my home page ? Where is it and how do I get it to show ?

  • Z3 compact radio not working

    The radio on my phone is not working and i dont know what is going on. The radio stations show when the earphones are connected, but no sound comes out in the earphone or speaker. My z3 compact (D5833) is running on lollipop. Solved! Go to Solution.