High Delay of MPEG-1 P-Frames first slices in RTP Streams

Hi,
I'm trying to implement a simple RTP server using JMF 2.1.1e (Windows Performance Pack). I started off with the sample application available at
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/ToolsTx.html
For receiving and displaying the MPEG-1 stream I'm using JMStudio. Basically, the transmission seems to work and JMStudio displays the video I'm transmitting from the server computer.
Unfortunately, the video does not display fluently / smoothly, the frame rate fluctuates between 10 and 30 fps for a video stream that was originally 25 fps.
Trying to track down the source of the problem, I used Etherreal to sniff the network traffic. According to this, the server seems to have problems espacially with the first slice / packet of most P-Frames. They are delayed for more than 0.1s (normal delay seems to be round about 0.0004s).
Using this insight, I tried MPEG-1 videos using other GOP structures.
1. IPPPPPPPPPPPPPP: As one would expect, using this GOP, the video displays even worse, since almost all frames are P-Frames.
2. I: Using only I-Frames, the problem almost disappears and the video displays very smoothly.
This leads me to the conclusion that inside JMF there seems to be a problem while packetizing the P-Frames.
Did anybody experience similar problems or maybe even has a solution for this problem?
Any help would be greatly appreciated!
Kind regards
Sebastian Seitz

Dag Norum:
First of all, thank you for your quicly reply ;-)
Second, I'm very sorry to make a reply almost a month after your answer. The reason is that I went on holidays without an opportunity to test your tip.
I used Harm's link and than reached to a Bitrate of 8.0000 for all three fields (Min., Target and Max.) and that makes all the difference. Now I have a video with very good quality.
But I haven't tested your tip yet to see if that improves the video final quality.
I want to work always with the maximum quality, no matter what time is needed to convert the video and no matter the length (GB) it costs.
Do you think I can export to an uncompressed file (avi for windows and compressor set to none) and than make the Menus with Encore? It wouldn't be better work on Encore with an MPEG2 file? The DV compressor is MPEG2, isn´t it?
And why you suggested to not have the "Optimize stills" checked? This is to optimize the frames without movement, isn´t it? Many times I use photos inserted in the movie. This option isn't good for that?
Your last suggestion, to go directly from timeline to the end target (MPEG2) is much different than that I use (DV compressor)?
If you could answer my questions I would appreciate.
Many thanks!
(sorry if my english isn't the better)
Message was edited by: Warlord_LA   (01-Oct-2009   23h51)
Sorry, I'd made a mistake.  When I answer to you I didn't realise that your sugestions was to AVI exportation and not to MPEG2.
Of course you are absolutely right: for an intermediate file, no compression is always better than some compression :-)
But my question about not have the "Optimize stills" checked remains. What does it makes, really?

Similar Messages

  • NI-FBUS Configurator 4.1.0.49152 + USB-8486: High delay between consecutive write actions

    Hello,
    imagine a case where you have a (transducer) block with at least around 12 parameters all of which have both read and write access:
    PARAMETER_1
    PARAMETER_2
    PARAMETER_3
    PARAMETER_12
    PARAMETER_13
    When editing two of these parameters which do not "reside in close neighborhood" (like PARAMETER_1 and PARAMETER_12) and then writing them down via "Write Changes" in the block view I observe, that there is a high delay between the write access for the first and second parameter (up to several seconds).
    Since I am device developer I can see this during device debugging.
    Can this delay be avoided?
    Regards
    Mike
    Solved!
    Go to Solution.

    Hi Mike,
    1. Try to uncheck the "Period Update" box in the upper left conner of the Block view. It's possible that this caused a conflict with your read/write action.
    2. Which kind of device are you using that you are having this issue with? Have you try it on other devices? Just in case the extra long delay was caused by the device.

  • Settings for good/successful MPEG-2 I-frame encode

    I've been having problems with Lagarith throwing junk frames when trying to encode to an intermediary AVI; using Vista Business/Ultimate 64, DV sequence with mixed XDCAM EX and DVCAM footage and uncompressed AVI renders from AE. The bad frames happen randomly (though rather infrequently) and in any of the footage types, so it's hard to rule out any of them as the source of the problem. I'm just going to assume it's an issue between Lagarith and AME, and move on from there.
    Since I have quite a few timelines I'm exporting, and I'm doing all my end-product encoding in Squeeze as well as other apps, I need a good intermediary. I remember some talk on the board of using an MPEG-2 I-frame only 4:2:2 encode for this purpose; however, a search is not giving me much joy. So far, I'm having some inconsistent output issues with this format. Can anyone offer some advice as to good setting to use for this purpose?
    Thanks!

    Yes, I'm running 1.3.19. I thought it was happening on just my primary editing workstation, until I ran 10 encodes on my laptop and got the same random issue. I'll have to post a frame to show you what I mean. If it was repeatable, I could try and diagnose the issue, but the garbage happens randomly.
    I'm running the 64-bit version of the codec--at least I think I am. It seems to me that the installer copies the 64-bit version of the codec to the System32 folder, and the 32-bit version to the SysWOW64 folder. Also, if you right-click on the DLL and check the file properties, the version states as 1.3.18; the actual interface when you select Codec Settings in an app, however, shows 1.3.19. Very peculiar...
    Note that this only seems to be happening when exporting a timeline through AME. I can encode to an AVI from AE, and haven't been able to reproduce the bug.
    I'm trying to get some information together, and I'm going to try contacting the codec author. He seems very receptive to bug reports, based on the changelogs on the Lagarith website.

  • Where are my first photos in photo stream?

    I don't know where my first photos in photo stream are. Recently I took some pictures and and they are saved to photo stream. But there are not my first photos in photo stream. How can I return them?
    Please help me!

    http://support.apple.com/kb/HT4486
    As far as restoring goes, you will have to check itunes restore from a backup, or have imported them somewhere else.

  • [svn:osmf:] 14192: first checkin of http streaming live support

    Revision: 14192
    Revision: 14192
    Author:   [email protected]
    Date:     2010-02-16 10:43:11 -0800 (Tue, 16 Feb 2010)
    Log Message:
    first checkin of http streaming live support
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/AdobeFragmentRunTable.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Export MPEG Preview, I-frame codec

    I'm using Premiere Pro CS6 with a Creative Cloud subscription. I've set up a project to match the MPG settings of my NEX5N camera, IE MPEG I-Frame at 1440x1080, 25P. If I set up an export by "matching sequence settings", those same settings show up in the export, though they're grayed out and can't be modified. This gives me great speed for exporting, since everything stays native.
    I'd like to set up a similar export, but at 720P settings for the web. However, I can't find MPEG Preview as one of the export settings, even though it pops up when I match the sequence settings. How can I find this export setting? I'm on a Macbook Air with Mountain Lion, by the way. Thanks!

    Dont use Match Sequenc Settings it gives you a preview codec which you do not want.
    Best is to use a preset or set everything manually.
    Look under H.264 for a 720p25 preset.

  • IPad Delivery Delayed Twice - Ready To RMA At First Sight

    Does anyone know Apple's refund procedure for shipments that are delayed twice? I have no clue what is going on with this shipment and I'm tired of waiting for it. I t was ordered 6 days ago and went AWOL in China for a few days. Last night it mysteriously showed up in Anchorage and said it had cleared customs.... it was first due August 24th, then August 26th... but it has not left Anchorage as of 3:30am PST.
    I'm sorry for posting here, but the phone lines are not open for a couple hours yet, and I'm seriously grouchy. In all honesty, we did return an iPad earlier this month as it didn't seem to fit what we were looking for in certain areas. However, we discovered after looking at laptops that my spouse, who is permanently disabled, had problems with certain laptop aspects and the touch screen on the ipad was a better fit. So stupid me, I ordered another one.
    I'm semi-superstitious and think this is a bad omen as a first time Apple switch over from PCs. At this point, I will certainly RMA this iPad and be done, as it's not worth a possible 3rd delay. Can they stop this shipment somehow and issue a refund?

    I know it sounds impatient. It's not my critera, if someone says it's going to be here Aug 24, then oh no, now Aug 26, then oh no, now ... I don't know as this will be the third delay today - there really isn't a way it can be in Los Angeles by the end of the second delivery "deadline" this afternoon from Anchorage. Three delays is too much. As a plus, every Apple order from China has made it here in 3 days from shipment confirmation in the past with zero problems - a total of 8. We're going away in a week, and it's an awful lot of money for me to lose if this thing gets bounced back and forth and lost. We had sort of counted on it for the trip, but I can chalk it up to my own mistake and need to find something we can take with us to keep in touch with reality. The lack of touch screen isn't going to significantly hinder us, but it would have been a plus after all.
    Ps!! I'm not knocking the product, or Apple people. What are so many people doing up so early????

  • Animation effects not playing correctly in captivate 6 (playing last frame first?)

    Hi there,
    Currently in captivate 6 I have a problem where when an item is coming in using an animation effect the image is flashing up very breifly, dissapearing then playing the animation as it should. it is almost as if it is playing the last split second first then looping round. This only applies to some of the items and not all of them, I have tried redoing them only for the same problem to occur. There is only 1 entrance effect playing on each item and there are 4 items on screen, the second and third images are the ones causing problems although the text and fitst image is fine. I have tried toggling sync with project. This also occurs both in publish and in preview
    Any other ideas?

    Hi Vish,
    All of the items in question are set to display for the rest of the slide and the effect lasts less then a second where each item is on screen for 10+ seconds so there is plenty of the for the entrance effect to play out.
    I have noticed however if I set all of the items with effects to start on the start of the slide the effect plays correctly but that means it isnt synced to the voiceover.

  • High delay in deserializing soap message in Flex 3.0

    We are developing a middle sized application using Flex and Axis Webservices. On the client side we AS code generated using Flex Builder 3.0 and the WSDL. On the server side we have Java  code generated with Axis 1.3 using the same WSDL. The problems occurs when the server sends a 290Kb response to the Client. Flex spends 10 seconds (obtained from mx.rpc.* log facility) in deserialing this SOAP message. My question is:
    ¿Could I improve the performance of the deserialization?
    Due to the fact that this is an unaceptable delay and that we have a code of 70.000 lines ¿what choices we have? ¿Should we use remote objects?
    Thank you

    Yes I think your app will perform better using remote objects, there's 
    a great app to test that named Census you can get it and do your own 
    tests or play with it on James Ward's blog.
    Sincerely,
    Michael
    El 22/04/2009, a las 12:24, ijmarrero <[email protected]> escribió:
    >
    We are developing a middle sized application using Flex and Axis 
    Webservices. On the client side we AS code generated using Flex 
    Builder 3.0 and the WSDL. On the server side we have Java  code 
    generated with Axis 1.3 using the same WSDL. The problems occurs 
    when the server sends a 290Kb response to the Client. Flex spends 10 
    seconds (obtained from mx.rpc.* log facility) in deserialing this 
    SOAP message. My question is:
    >
    ¿Could I improve the performance of the deserialization?
    >
    Due to the fact that this is an unaceptable delay and that we have a 
    code of 70.000 lines ¿what choices we have? ¿Should we use remote ob
    jects?
    >
    Thank you
    >

  • Delay when typing in Safari, the first character is always missing.

    Recently when I go to type in a address or text in the search window, the first first character is always gone. Resulting in me having to back space to the beginning to re-type the first character.
    My father is a Mac user too and he experiences the same thing.
    Any suggestions?

    Hi,
    The problem you described sounds reminiscent of a problem many MacBook, MacBook Pro and even PowerBook G4 users have been experiencing. If you do a Discussions-wide search for the phrase "first key" in quotation marks, you'll get an idea of how wide-spread the problem is. Apple recently released a firmware update for the MacBook and MacBook Pros, but reports of first-key-unrecognition persists.
    While I hope your problem isn't of this variety, the point I'm trying to illustrate is that if it is, Apple has yet to pin down a proper fix for it. Until they do though, perhaps some workarounds you can try are banging on a modifier key before typing anything, or clicking twice to ensure focus has been given to a window element and not just the window.
    Yang

  • Imported MPEG has red frames, how do I solve this?

    Hi,
    I've been playing with Premiere and just create the final movie on something I'm working and I happened to notice that almost at the end, there's a red frame in the video. What's up with that?
    I play the original MPEG2 file in Windows Media Player (it was created with muvee Autoproducer and I'm doing editing in Premiere) and there's no red frame at all. But after importing it into Premier, there's a red frame.
    Possibly more... How do I find all these red frames and what should I do to fix them?
    I don't understand why they are red if the original doesn't have any...

    Well, I read something about it that it was some kind of error yes and that I could see it on the events window, however, no errors were reported.
    I found another document page at the Adobe site that talked about 3.2.0 update to Premiere (which I though I had, but I didn't) and that this update introduced these red frames and bla bla (but I has having them before the update). Anyway, I did the update, deleted all the cache files, opened the project, the files index was recreated and the red frame gone (at least on the frame I saw it before).
    I'm going to produce a new output and then I'll just have to check for those red frames.
    Maybe with this update and if the events window is really empty, maybe there are no errors (red frames) at all.
    I hope...
    Thanks for the input though.

  • High delay when traffic passes through the tunnel

    Hello,
    i have a dmvpn topology, .
    When i try to ping the real ip on the hub's outside interface from the spoke, the delay is approximately 100ms, but when i ping the tunnel ip address the delay becomes 4000ms.
    Your help is really appreciated

    Can you post the configuration?
    Did you set the MTU of the tunnel interface correctly?
    Also check the switching (CEF/Process Switching) configuration.
    Regards
    Farrukh

  • Lightroom and/or iPhoto with Apple TV (first 1st generation) integration/streaming

    As a hobby Photographer I love using lightroom, Many times, I want to use apple tv to show the photos, or even just randomly browse them. Now the problem is, there isnt any (or I dont know about one, thats why im here ) easier or more automatic or integrated way to stream the library into the apple tv i have (first generation apple tv) than through iPhoto.
    Now, I WANT to use lightroom for handling and editing photos (the editting options and organization/sorting of photos is just somewhere in different dimensions to iphoto)
    But, I HAVE to use iPhoto for streaming to Apple TV.
    Any Idea how I could do all this without manual import export between the LR and iPhoto?
    I know lightroom can watch a folder and use automatic import but is that really the best way?
    Thank you so much! Please let me know of any idea that pops into your head!
    Thanks!
    Ondrej

    Sorry but you'll need to go back and forth: out of Lightroom and into iPhoto. Setting up a workflow of flagging and using Smart albums can make this easier. But basically, those images need to get into iPhoto to work with Apple TV. Have you considered using Apple's Aperture? Aperture integrates nicely with Apple TV. That's what I use. However, be warned that Aperture is a resource hog and requires more of the higher end processes to work really well, especially if you have large photo libraries. You'll want 8GB of RAM and a newer graphics card (basically a newer Mac) and higher end CPU. The minimum requirements that Apple says Aperture needs are minimal at best.

  • Can PQA use a single reference frame against a test video stream?

    For R&D testing of video "set-top" devices I want to initiate some internal processing on our UUT, then using a PXI-1491 analyze the digital (HDMI) video output of the UUT for some large number of seconds (180 seconds or more for example).
    The video that is being analyzed will have static image content. The amount of time I want to analyze the test stream after doing some stuff on the UUT is variable, but I always anticipate it being fairly long.
    It currently appears that I have to have a reference stream that contains exactly the same number of frames as the test stream.
    This makes the reference vbf files very large. My test requirements include a large number of resolutions that must be tested through the UUT. Having an extensive library of very large vbf files is logistically difficult, it would much easier to maintain such a library made up of single "golden" frame reference files instead.  Additionally, since my analyze time needs to be variable depending on test setup and UUT processing options, it would be better for me to have a single golden reference frame and validate alot of test frames against it.
    Since the analyzed video will have static images, is it possible to run a test video stream against a single reference frame (reduced reference) instead of having a full reference stream frame by frame?
    Solved!
    Go to Solution.

    Doing exactly what you are asking is not within the design of PQA.  Of course, the best option that we would recommend when working with video test is a large capacity hard drive, probably in a RAID configuration for more space and better performance, and then just taking a golden reference with 10k frames, and doing what you originally suggested.  
    One method of achieving what you are looking for without using a large reference file is through offline processing.  This would allow you to acquire 10,000 consecutive frames, which I understand is one of your concerns, and then after the fact run them back through the analyzer.  You would still be performing a looping type of action in TestStand or LabVIEW.  The process would be:
    1) Acquire your source from your 1491 provider with no processors, and saving the media stream to disk.
    Loop:
    2) Load PQA with the disk buffer provider instead of the 1491, the disk buffer file will be the acquisition from above
    3) Point the start frame to your current location.
    4) Perform your processor with the results.
    5) Repeat and iterate to a new start frame location
    This process is going to be much slower as you load and unload resources every time.  If you choose to go this way, a better implementation would be to maybe consider doing 100 frames at a time, or some number larger than 1, because the processing time of handling the extra frames is going to be less than loading/unloading PQA.
    Your second option is going to require more work outside of PQA to implement custom functionality through a Custom User Processor.  Effectively this allows you to come up with a way to process incoming data in ways that you'd like.  To do this you will need:
    1) LabVIEW 2011 - Custom User Processors for PQA can only be developed in LabVIEW 2011.  If you are under a SSP agreement with NI and only have LabVIEW 2012 currently, you still have access to older versions.
    2) Vision Development Module - To perform your image processing
    3) An unencrypted video source - Due to limitations of HDCP we can not expose the raw video feed to user processors.
    In this user processor you would:
    1) Load your static image/frame in directly, you wouldn't need to use the Media Ref input
    Loop
    2) Load the current frame from the incoming video array
    3) Perform your video measurement with the Vision function, likely PNSR or SSIM since these are currently the only 2 referenced measurements in PQA.
    To learn more about Custom User Proessor's, in the PQA help check out: NI PQA Executive and the NI PQA Configuration Panel>NI PQA Tabs>Processors tab>Customizable Output Processors>User Processor  as well as: http://digital.ni.com/public.nsf/allkb/514058CC830D86EE86257881004CB45F
    Paul Davidson
    Sound and Vibration Software Staff Product Support Engineer
    National Instruments

  • Issue in viewing video from AMS on flash's default player for first click of play stream on player

    FMLE is streaming to AMS and Adobe default flash player is trying to view stream from AMS - i need to hit "Play Stream" button for 2-3 times to view video on Default adobe's flash player.
    This issue is 100% reproducing every time.
    please help to resolve this issue.
    regards,
    SJ

    Any one has such problem.
    Every time i play stream in flash player i have to hit play stream botton 2-3 times, this issue can be reproduced with default videoplayer.html.

Maybe you are looking for

  • BT Mobile - Problem with Erroneous Credit Score an...

    I have been a BT Customer for 35 years and have always paid my bills on time. I have a monthly direct debit for my landline and Broadband and have just added BT Mobile to my account. I have to say that I should have paid more attention when setting u

  • I recently found my old Ipod 4, I cant download apps

    I restarted it and removed all restrictions and it still refuses to work -.-, ive looked up EVERYTHING i have searche dover and over and it doesnt work WHAT THE **** IS WRONG WITH THIS STUPID ******* THING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :'(

  • Remote access issues in Windows 8.1

    I regularly carry out maintenance work on PCs connected to an SBS 2011 server using RWA followed by picking the required PC at the right hand side and logging in. If I use a Windows 7 workstation on my home network I get perfect RDP connections every

  • Macbook air HDMI

    Bought new macbook air and connected hdmi cable to thunderbolt port. Firstly, blue screen appears, but after 1-2 seconds screen comes back and nothing changes.Can't find how to connect tv to new macbook air. Any recommendations ? Thanks beforehand.

  • Fetching quantities for a PO

    Hi All, We have a scenarios in PO as follows - Total quantity ordered is 5, it is shipped in 2 lines 1,2 and on different dates 1st Dec 2011 and 5th Dec 2011 respectively. With Line 1 qty ordered was 5 but only 2 was received (on 1st Dec 2011 ), now