During playback of a video stream is it possible....

To capture a sub-segment of the video? I have not started my project and I just wanted to check to see if it can be done before proceeding. I assume pausing the video will be trivial; setting the start and end points will be a bit harder (will have to draw on the progress bar); and doing the actual capture will be the most difficult. Having perused the API I did see the Processor and DataSink classes which look like they get me most of the way there (with the setStopTimeand start methods respectively. What I did not see was a way to tell the Processor only push from time x to the DataSink. Is this possible and if so could I have a couple of pointers to get me on my way?
Respectfully,

http://classic-web.archive.org/web/20080216001555/http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Cut.html

Similar Messages

  • Changing subtitle stream during playback of Video track

    Hi all,
    Can someone please help me out with changing the subtitle stream during playback of a video track? The subtitle button doesn't seem to cycle through the 4 languages we have on the track.
    thanks!

    hey nipponese (great name)
    when you press the subtitle button, does it restrict you, or does it not go through all 4 subs, or maybe even, does it go through more than your original 4?
    do you have a menu, or is it just the video, audio and subs?
    Mike

  • Playback of Multiple Videos Simultaneously -- onCuePoint

    Hello AS3 Gurus!
    I have multiple instances of a video playback object (not an FLVPlayback component) on my stage (named "videoScreen1", "videoScreen2", etc...). I have separate NetConnections, NetStreams, and NetStatusEvent handlers set up for each of the video instances. Everything works fine (playback of each video in each instance happens as expected and the NetStatusEvent handlers fire off, as expected, for each of the video streams) except I cannot figure out how to separately keep track of the OnCuePoints events for each of the video streams.
    Right now, I have just one onCuePoint function that reacts to the cuepoint info for all the streams at once (with the following code). This misses some of the cuepoints since it seems that it gets a bit confused as to how to handle all the onCuePoint events that fire off from all of the video streams. What I would like is to have separate onCuePoint functions set-up that react to only one stream. That is, have one onCuePoint function react to the video streaming on my "videoScreen1" video object, another that is reacting to my "videoScreen2" video object, etc... How can I do this?
    function onCuePoint(cpInfo:Object):void {
         var key:String;
         for (key in cpInfo) {
             trace(key + ": " + cpInfo[key]);
    Or, should my question be: "What is the best way to handle the simultaneous playback of multiple video streams and keep track of onCuePoint (and onMetaData) events for each of the streaming videos?"
    Any input would, as always, be most appreciated.
    Regards,
    ropeGun

    Hi!
    I have had - and still seem to have the same problem. QuickTime 7 will start stuttering after the first change, ie. after the first movie. If you pause playback on and off, the current film will play perfectly - until the next change in the playlist. Then the problem reaccurs.
    I cured the situation by going back to QT 6.5.2, where everything works just fine... but you have to do without a lot of nice stuff that QT7 has.
    Also remember that QuickTime only supports a subset of SMIL, not all commands.
    MacMinis, XServe, Dual 867 G4, Dual 2.5 GHz G5   Mac OS X (10.4.2)  

  • Premiere Pro CC(V.8.0) sluggish and crashes during Playback

    Issue:
    Premiere Pro CC(V.8.0) extremely sluggish and crashes during Playback. My video won't play at all unless I render (which is no problem). I render all my clips and attempt to play it back. It usually will allow me to watch it the first time around. After that, the program freezes up or becomes extremely sluggish. I have even had a blank green screen pop up on my playback monitor. Sometimes the program will generate the message "A Serious Error has occurred" and will shut down. Other times, the program just locks up. I am not running any other programs except email.
    Here is what I've tried:
    Cleared all my cache files
    Set my Mercury Playback set to "Software only"
    Restarted the program and computer after doing the above.
    Made sure I had no RGB Curves as an effect (as I did see that was an issue from other threads)
    Deleted all unused footage
    Deleted all render files and re-rendered everything.
    I am editing footage that requires Ultra Key. I am using a Three-Way Color Corrector. My video isn't even 1 minute long, so I would think it would be easy to render and playback.
    Here is what I am working on (I know I need an upgrade - was hoping to after I finished this client's project):
    Macbook Pro 2008
    Processor  2.4 GHz Intel Core 2 Duo
    Memory  4 GB 667 MHz DDR2 SDRAM
    Graphics  NVIDIA GeForce 8600M GT 256 MB
    Software  OS X 10.9.3
    HELP! This is seriously slowing my workflow and my project is due tomorrow. Any advice would be appreciated.

    I am Windows but I have some saved Mac links that may help
    -next link says After Effects, but check YOUR permissions !!!
    -http://blogs.adobe.com/aftereffects/2014/06/permissions-mac-os-start-adobe-applications.ht ml
    -Mac 10.9.3 workaround https://forums.adobe.com/thread/1489922
    -more Mac 10.9.3 https://forums.adobe.com/thread/1491469
    -and https://forums.adobe.com/thread/1507936
    -Enable Mac Root User https://forums.adobe.com/thread/1156604
    -more Root User http://forums.adobe.com/thread/879931
    -and more root user http://forums.adobe.com/thread/940869?tstart=0

  • Mplayer and multiptle simultaneous video streams through xv

    While I was using nvidia drivers a while back, I could playback multiple simultaneous video streams through xv in mplayer without any problem. After recent change of video card and consequential move to open source radeon drivers, I've observed that I can play upmost one stream with gmplayer (it spits out an error about problems with opening the selected video out device - I can playback more files simultaneously using basic mplayer, although it spits the same error in console with every successive instance). Could someone enlighten me whether it's a standard behaviour of xv with radeon driver or maybe the problem lies elsewhere and it's omittable somehow?

    Tried it, but to the same result
    What I found out is that the user can play videos from console with framebuffer at least. Not that it helps..

  • Synchronizing streams during playback

    Hi does anyone know of a good way to synchronize separate
    (video/audio) recorded streams during playback?
    For example takea video conferencing app; I can can record
    each stream separately but during playback is there anything i can
    do force them to be synchronized? From reading around, it seems
    like the answer is "No".. Any thoughts?

    quote:
    Originally posted by:
    JayCharles
    Unfortunately, what you've found from your reading is pretty
    much it. There is no way to sync FMS streams reliably.
    Thats very interesting considering the effort Macromedia took
    to provide playback functionality in streams (video/audio and even
    data). It almost seems like an oversight that streams can't be
    synchronized.
    Thanks for the reply Jay.

  • Premiere Pro CC 2014 - Black flickering lines during playback and when exporting video

    I am fairly new to Premiere and have recently started using creative cloud on my new MacBook Pro retina - 2.3 GHz Intel Core i7 - 16GB Memory - OSX Version 10.9.4
    I shot a music video using my friends camera and all the shots were absolutely fine, I dropped them into Premiere and started editing the video together.
    Some of the clips are perfectly fine during playback, although sometimes my playback stutters a little, but some of the clips have strange horizontal lines that flash through them when I watch it back. I have only used basic things such as the highlight/shadow and sharpen tools in Premiere. I thought that it maybe fine once I exported the video but when I open up the exported file on my desktop in Quicktime the little black flashes/glitches are still there in some of the shots.
    Here is a screenshot you can see a line halfway between the top of my head and the top of the screen, when you watch the video there are lots of these flashing about.
    Could this be something that I have set up wrong?
    CPU/GPU related?
    Thanks,
    Jordan

    Hi there,
    thanks for the reply!
    GRAPHICS = NVIDIA GeForce GT 750M 2048 MB
    I tried that but it didn't work unfortunately, Mine was already set to the one you said, I tried the other but no change

  • Video downloaded directly to iPhone stops during playback

    I downloaded a video from the iTunes store directly to my iPhone 3Gs. Now during playback, it stops
    at a particular point and will not continue playing. Of I try to drag the scrubber forward in the video, it snaps back to the point where it stopped. What could be the problem with this?
    Thanks in advance for any assistance,

    find the file in iTunes (you may need to sync it if you downloaded directly to the iPhone), then click on it, and then click on "file -> get info" on the menu bar. go to the "options" tab and see if the "end time" is something besides the actual end time of the file. that's the only thing i can think of that would cause this issue.

  • NO AUDIO during playback after converting the VIDEO using Creative Video Conver

    I have a ZEN 2GB/4GB/8GB/6GB/32GB.
    I tried to convert video from a dvd using Creative Video Converter.
    The video is fine but there is no audio during playback.
    What am I doing wrong?

    "If this is the case, the original video file may be in a format that contains muxed (multiplexed) audio and video, and cannot be exported with audio."..."If the format is "MPEG1 Muxed" or "MPEG2 Muxed," the audio portion of the file may not be retained with QuickTime Pro or iMovie."
    I have read that article and I thought it ment that the sound will work after you convert to the MPEG4 format, which I did.
    Are you saying that if it starts out as "Muxed audio" then there is no way to convert it?
    If that is the case then in what situation would you need to use the Videora Converter?
    Thanks,
    Sean

  • Zoom in and pan trough video during playback?

    Hi,
    is it possible to zoom in and pan trough video files during playback on iphone 3gs? I know that there is a zoom inside accessibility inside settings but is it possible to use that during video playback? Sometimes during playback I need to enlarge some parts of video in a way to read numeric settings or something similar.
    Thanks

    I is it possible to zoom in and pan trough video files during playback on iphone 3GS?
    Yes.
    I know that there is a zoom inside accessibility inside settings but is it possible to use that during video playback?
    Yes. Three-fingered double-click to turn it on or off. Three-fingered drag to move the zoomed image.
    Sometimes during playback I need to enlarge some parts of video in a way to read numeric settings or something similar.
    The video will have been compressed for use on the iPhone, so zoom may help, but it won't be able to show detail that was lost in the compression.

  • Two Second Skip Switching Between Windowed and Full Screen Modes During Playback YouTube videos

    I am finding that every video I watch skips two seconds every time I switch back and forth from Full Screen mode. Happens mostly with 720p videos in YouTube.
    Can be replicated by pausing the video (also possible during playback, pausing it was just to determine how long the skip is), switching to Full Screen and back, noticing the two second change on the timer.
    Main operating environment is Opera browser on Windows 7 (x86), Flash ver.  11.1.102.55 and 12beta. I have also been able to replicate the problem on Internet Explorer ver. 9.0.8112.16421

    I see about 30-80 MB memory usage increase while switching to fullscreen and it is falling back while switching back to normal mode.
    I think the "freeing" of the memory is to agressive and produces such "lags."
    @Adobe: This should be optimized with the next versions.
    Update:
    With the Plash Player plugin (Firefox Nightly/Opera Next) it is worse and with Active-X (IE9) it seems to be ok.

  • Shaky video during playback

    I have some HD video I shot with my Cannon T1I that I converted to AIC files using MPEG Streamclip. After doing some editing in FCE, I used quicktime to view the files. During playback of the footage I noticed the footage was shaking quit bad, which made it hard to view. I've done this process before without the shaking, so I'm not sure what happened.
    I converted the files to AIC files and used 29.97 fps.
    Any help would be appreciated!
    Thanks,

    I wonder if this the case as I had the resolution qualities mazes out. I'll watch them again in full screen mode and my tv to compare.
    I do have perian installed. Not sure if I've updated it since snow leoppard.
    Thanks guys!!

  • IDVD slideshow DVD pauses video and audio during playback...messages about sleeping DVD player

    I have just burned a slideshow on iDVD from iPhoto book project. During playback, the DVD player pauses with photo visible and audio stops for same time, and then resumes after about 5 seconds. I thought the MP3 (purchased from Amazon because it was not in iTunes) format may have been the issue, so, I converted to AAC, and rebuilt slideshow from scratch using AAC music. During Preview playback, the problem does NOT exhibit...only when played from produced DVD on both computer or DVD player. I only have this one pause at same time on every DVD burned. Is AIFF a probable solution? I saw a message saying DVD player "Sleeping" or "DVD player waked from sleeping" at beginning and end of this pause.

    Whoa!!! I'd back up here and make sure you have your "T" s crossed before your continue with 10,000 discs! What were your bitrates for the main track and Bonus features? Did you use AC3 audio? DVD has a bitrate ceilings of 9.8 for video. Its also important you check your bitrates in a viewer to makes sure your OK.
    Bitrates are the most crucial part to control in DVD.
    http://www.videohelp.com/tools?toolsearch=bitrate+view&Submit=Search&s=&orderby= Name&hits=50&convert=&dvdauthorfeatures=

  • Video losing sync with audio during playback

    I am having a unique issue with FCP 6.0.6.
    We are using this version to log and capture a switched video feed with audio
    through a Black Magic DeckLink HD Extreme 3  PCI card.  Capture works fine. 
    But during playback the next day, the video seems to drop a frame, or lose sync
    (you can see it visually) then continues playing.  The result is the video is now
    out of sync with the audio.
    We do a weekly 3 camera shoot which is webcast, and then later uploaded to youtube.
    We have been running this setup for a number of years without issue, but this has started
    becoming an issue the last 3 weeks in a row with no change to our setup.
    The webcast does not experience this, which makes me think there is a sync issue
    between my switcher and my FCP machine.
    Any thoughts or ideas?
    Mac Pro
    3GHz Quad Core Intel
    16 GB Ram
    OS 10.6.8

    Are you ABSOLUTELY sure there was NO change? (All sorts of problems can occur if you haven't turned off automatic updates.)
    In any case, you might want to run Preference Manager from Digital Rebellion (free) to delete the FCP prefs. Sometimes they get corrupted and can cause some funky behaviors.
    Otherwise, sounds like a question for Blackmagic technical support.
    x

  • Clip's video momentarily freezes during playback

    When playing a clip from the Clip library or in the Project timeline the application will periodically freeze; any keyboard inputs (such as hitting 'K' or 'L' during playback) are buffered. Everything on the screen freezes but the audio continues to play. After a couple of seconds the application will unfreeze and the video will "catch up" with the audio. The buffered keystrokes will then take affect.
    (It's possible to skim the clip and it will not freeze during this. Skimming backwards and forwards at variable speeds works without a problem.)
    For example, I choose a clip that is 11:37:44 in length. The first time the clip is played it freezes about 6 seconds in, then unfreezes 3 seconds later. The second time it doesn't freeze at all but plays straight through. The third time the clip is played it freezes about 4 seconds in and then unfreezes.
    It's the random nature of the problem that is so vexing.
    I'm running FCPX Trial 10.6.0 on a MacPro 1,1 with 16GB of RAM, running 10.7.5 and using a 2TB eSATA-connected RAID 10 drive. The OWC enclosure is fed by a SeriTek/2ME4 PCI card and the MacPro has been upgraded to an NVIDIA GeForce 8800 GT graphics card. There is 584.29 GB available out of the 2TB.

    I logged out and logged in as a different user. I fired up FCPX and imported the same event file from the book.
    It did not freeze once during playback.
    I then imported one of the clips (.mov) I had imported from tape. Again, no problem whatsoever.
    I removed any applications launched during log-in and logged in as normal, launched FCPX and it still exhibited the same problem with freezing.
    Since all of the media is on the same (RAID 10) disk and the only difference is the account I've logged in with, it appears that there is a process running under one account that is responsible for the momentary freezing. If I find what it is I'll report back.

Maybe you are looking for

  • Ai read in while loop

    I am acquiring data from a DAQ e series card. i intialized the daq by using AI config out side while loop . i used AI start and AI read in while loop . iam acquiring data from 5 channels. the buffer size ia 1000 and so is the scan rate in AI start.I

  • Errors in oracle defined wrapped package procedure

    Hi, I am working on oracle 9i stream replication. While executing the following proc, ora-04068 is reported. SQL> EXECUTE DBMS_LOGMNR_D.SET_TABLESPACE('LOGMNRTS_DIGITE'); BEGIN DBMS_LOGMNR_D.SET_TABLESPACE('LOGMNRTS_DIGITE'); END; ERROR at line 1: OR

  • Solaris root password is working with extra char/chars appended with it

    Dear forum, In our production server, I can login as root with extra char appended end of the actual password Exmaple: Suppose my password is `hello123` But during login all below combinations are working and allowing to login hello123*456* hello123*

  • Consuming Third party website into ADF application

    Hi, We have a tabbed layout in our ADF application with following four tabs viz. Home, About Us, Contact Us and Search As per one of the use case We want to show the default google search page when ever user clicks the 'Search' tab Is it possible in

  • Having trouble with getting on messages and facetime

    having trouble with getting on messages and facetime.  Got two new ipods, one works fine, the other keeps giving us the error: iMessage Activation Could not sign in.  Please check your network connection and try again.  We have tried to reset the fac