Reaching any frame of a typical H264 video file

Take an typical MPEG4/H264 video with a keyframing of 24 to
48. Distribute it in progressive download (over http).
Is it possible with Flash, without any re-encoding, to access
any frame of the video (and of course a 40 ms precision will be
fine as well) ?
If it is the case, could anybody direct me to a demo ?
From what I've understood/seen so far, it is only possible to
reach I-frames of the video, meaning that in the case of a
GOP/keyframing of 48 and a video of 24fps you would only be able to
jump from image to image every 2 seconds !
A trick consist to re-encode the video with a keyframing of 1
(which is not really good for the bandwidth). This is not what I
want to do : I need to be able to use the video without re-encoding
If you are ready to access to some provoking thoughts you may
want to have a look at my blog where I say that QuickTime is better
than Flash (I told you it was provoking :-) and where I demonstrate
what can be done with QuickTime + Javascript to reach any frame of
an MPEG4 video :
http://blog.vrarchitect.net/post/2008/04/18/challenge-to-the-flash-community-Quicktime-is- better-than-Flash

Pascal,
> A trick consist to re-encode the video with a keyframing
of
> 1 (which is not really good for the bandwidth). This is
not
> what I want to do
That's your only bet with non-streaming video. Streaing
server
software, such as Flash Media Server, allows you to seek any
frame in the
video, but progressive download (aka http) allow allows you
to seek to video
keyframes.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • Quicktime Update No Longer Plays Any of My MP4 or M4V Video Files!?

    Hi there everyone. I am absolutely desperate to find a solution to my problem now, so I was hoping someone on here might be able to help me out. I have a G4 that I use as a media center via frontrow to play my huge collection of MP4 and M4V video files that are local and streamed from the library on my main intel mac. This has been working fine for some time and I haven't had any problems playing files.
    However, when iTunes 9 came out, I ran software update and updated iTunes and Quicktime to 7.6.4, as well as updating the OS to 10.5.8. As soon as I did this, all the MP4 and M4V files that had worked fine up until that point stopped being playable by frontrow/itunes/quicktime. A lot of these are movies that I bought from the iTunes store, and it will not even play those now. It is definitely not a video format problem. When I try to play them in quicktime, I get the error "file is not a video file". This applies to all old files, plus new ones I have attempted to add. Also, frontrow WILL play video files streamed from my main computer, but not local ones (same files). I did the exact same updates on my main mac, and all the files will play perfectly fine on that machine, it is only this one that won't play.
    I have tried everything I can think of, I have reinstalled both apps several times. I have also checked the System/Library/Quicktime components and they are all intact, exactly the same as on my other machine. Now it looks as though my only option is to start again from scratch and reinstall the operating system - a time consuming option as I do not back up this secondary machine..
    Does anyone have any suggestions of what I can do to fix the Quicktime installation? Any help would be much appreciated.
    Thank you

    Ok well if you want to go about it down and dirty you can try this. Take a file that does copy over correctly, for my purposes I had a Rocky and Bullwinkle episode that if I changed the file extension to .m4v it would add correctly through iTunes. From Terminal search /Volumes/youripodname/iPod_Control/Music/ for any file with the m4v extension and take note of them. Now add the "supported" file through iTunes then after it finishes do another search from Terminal and see which file with an m4v extension wasn't there before. Now from Terminal copy the "unsupported" file over to the same location with the same name. Here's what mine looked like cp /Volumes/harddrivename/Video/MUTEMATH.mp4 /Volumes/youripodname/iPod_Control/Music/F12/SJXB.m4v Now in iTunes change the Info for that file with the "Get Info" menu and your set. Mine now plays a video file that it wouldn't let me add through iTunes after the 9.0 update.
    I'm sure there's a better way and when I figure out a quick script to do this by directly modifying the itunes database I'll try and repost a solution.
    Message was edited by: Eli Barb

  • Closed Captons in a h264 video file

    I am using Premiere CS6. I know how to import a closed caption file onto the time line and output the video to tape with the closed caption imbedded, however, what I want is a h264 mp4 file with the closed captions imbedded.  How can I do this?

    Who said anything about copyrighted material. I am a video producer and author dvd's with surround sound at times. In an effort to quickly make H264 and Mpeg4 files I use elemental streams from my authoring dvd's rather than reconstructing video projects in Avid or Final Cut Pro.
    So I'll ask the question again...

  • Still frame not included in rendered video file

    I've been working on a video project for the last couple of days, and have run into a puzzling issue. My video ends with a still frame that lasts about 3 seconds, with text on top of the image. When I share my video to iTunes and select the "Mobile" size option, the still image shows up fine. When I share my video to iTunes with the "Large" size option, the still image no longer appears under the text. Does anybody know why this would occur? Any help would be much appreciated!

    Oddly enough, I went through the whole delete-reinsert routine just before I did the mobile-sized render where the still image showed up. Of course, when I did the large-sized render immediately afterwards, the image was gone. I just went through the whole rigamarole again and am currently rendering an HD version, so we'll see if it works. I figure if I get a successful HD copy of my project, I can always use that to create smaller versions rather than rendering those from iMovie itself. Right now I'm just in wait & see mode.
    Unfortunately, adding a few seconds of black after the still frame spoils the effect I'm going for with my project, so it's not a feasible solution in this instance.
    EDIT: So the HD version finished rendering, and no still image, sigh. What the heck is going on?
    Message was edited by: Jen D.

  • Any way to load/buffer a video file without playing it?

    I want to play an f4v file in flash, however when I play it I want it to already be loaded and buffered before I send the commands to play it.
    is there an example anyone an hand me of doing this?
    my purpose is to have some events going on in the SWF movie then it immediately switches to playing a video but it has to be very synchronised. I dont want to play the video and have the person waiting ont he video to load.. I want to load the video in the background beforehand... then when it's time for the video sequence I send the commands to play it and everything is good to go.
    Any of you have any helpful suggestions or examples on how to do this?

    Assuming we are talking about progressive playback: Try to set large bufferTime on NetStream. Also, if you want entire file to be loaded, call pause() right after play(), again, on NetStream instance and monitor bytesLoaded.
    Just a note: it is extremely difficult (if impossible) to synch Flash scripts with video playback via NetStream with razor sharp precision because video is played independent of Flash frames.

  • Will I need any codec to import a FLV video file in PPro CS4?

    Will it import the FLV natively?  thanks..

    In most cases, it should work fine, without the need for any additional codecs. I've successfully imported FLVs containing both Sorenson Spark and On2 VP6-encoded video, and MP4/F4Vs containing H.264-encoded video. I've had no issues doing basic editing on these sources and exporting them to a new destination, with the obvious caveat that you're (usually) dealing with highly-compressed video, and the quality will drop in varying degrees.

  • Video file size in Zen Moz

    I recently bought a Zen Mozaic and I've stored some avi movies in it. As avi videos can take many disc space ( up to 700 MB) I tried to shrink the video size (by lowering the resolution). Although in my computer, these files have shrunken in size, when I converted them to my Zen, they still take as many disc space as the original files.
    Is there any way I can shrink avi video file size in my Zen Mozaic?

    Try changing the files to wmv format , it worked for me .....

  • How to play SCM video file on Mac

    is there any way i can play scm video file to the macbook? please help me out

    Never heard of an scm video-so I googled it.
    It is either a console video game ROM emulator, a superchain video file(which means DRM) or a Starcraft map file.
    Only hint for playing the superchain one was use a windows machine, windows media player with some obscure plugin for .scm playback.
    I'm afraid since this is a very obscure format/codec-you may be out of luck.

  • Video files - can email them but can't play them...

    So, any advice on how to get video files created on the BB to play in Windows?  I took a video and that I want to email to someone so they can view it, but this 3MG file format doesn't play on any video player that I know of.  How can I get around this?

    Hi and Welcome to the Forums!
    There are a few video conversion programs out there that will do the transcoding (to avi, mpg, etc.). You should research them and choose the one that fits your needs. I found a free one (just by doing a google search) that did a fine job of it for me.
    Best!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Sync video files (MOV) not sourced from iTunes

    Hi, I would appreciate any advice on how to Sync video files (MOV) not sourced from iTunes, to my iPad. The files are stored in my iPhoto library on iMac.Thanks.

    OK, solution found. I changed the iPad Photos Sync setting to include videos. Thank you.

  • Encode and broadcast from video file

    Hi guys, sorry if this has been asked before I did some quick searches and didn't find anything.
    Is there any way to use a static video file as supposed to a camera as the source for the flash media live encoder? This is for the production office I work at - a lot of the videos we make take a long time to encode to flv so it would be great if we could broadcast a video as it is being encoded.
    Thanks in advance.

    I use the Black Media Intensity Pro Pcie capture card and a Panasonic HDC-SD10 cam. The Black Magic card show up in FMLE so I can play back video from the cam. In fact even my cheap Easycap USB capturecard works to capture my cam, though it does´nt give the same quality as the BM card but still pretty ok.

  • Photoshop CC will not import any video files when I try Video Frame to Layers and New Video Layer from File

    Specifically I'm trying to import a .MOV I made in Quicktime. The file opens up everywhere else so it's not an issue with the file being corrupted. The error message I get from CC is
    "Could not complete command _____________ because the video file could not be opened."
    As far as I know I didn't save the .MOV with any permissions, but then again I have very limitted understanding of Quicktime. Originally the file was a .GIF that I converted to an .MOV because I wanted to edit the GIF using the video timeline instead of the animation timeline.
    Thanks for the help.
    Also, as an aside since I know a lot of Adobe employees are on here, the animation timeline is pretty crummy, there should be a way that you can open a .GIF into the video timeline as a video layer.

    Did the back and forth between PC and Mac file systems screw up my files somehow?
    Yes. Unfortunately the move has almost certainly caused the loss of the resource data that would have been (invisibly) attached to those files.
    By adding a specific .mov extension after the fact you will have helped the Mac correctly identify the file type / asscoiations but also significantly you will have physically changed the filename eg from "clip" to "clip.mov". This means that when you come to reconnect the media in FCP , then FCP will be looking for files that no longer exist at the given path eg when specifically looking for our example clip called "clip" of course it won't find it.
    Try this as a test... first remove the ".mov" extension from one or more of the clips, select those clips and press Cmd-Opt-I to open an Info window for the selection. You'll see an "Open with:" popup and in that popup you should choose QuickTime Player (if its a Unix Executable then it will initially list Terminal as the appropriate app, you have to choose Other... then in the open dialog choose Enable > All Applications and then navigate to and select the Quicktime Player app as the appropriate app). After you've done that restart FCP and see if you can now reconnect to those clips.

  • Encore CS6 always transcodes 1440x1080 h264 video imports

    If I encode an interlaced 1920x1080 files with x264 I can import it into encore and it will not transcode. If I import a 1440x1080 file into encore it always wants to re-transcode. The only clue I have is that it does not get the pixel aspect ratio right and I have to force it to be 4:3. Unfortunatly Encore does not re-evaluate for transcode when I do this. If I import the file into premiere pro the correct par is detected. So there seems to be a difference between how premiere and encore determine the par.
    The file is a raw h264 video 1440x1080i50 with the sar set to 4:3.
    If I use the premiere pro encoder that works correctly. Please can someone tell me how I can correct for this problem. I want to use x264 as it is the most superior encoder on the planet.
    Regards Trevor

    Please note the tool I used was h264info to fix the file.
    I did try the revert to original but that did not work.
    Mediainfo:
    General
    Complete name                            : C:\Users\trevor\bluray\stockholm\stockholm5.264
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    File size                                : 213 MiB
    Overall bit rate mode                    : Variable
    Video
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : [email protected]
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Bit rate mode                            : Variable
    Bit rate                                 : 30.0 Mbps
    Maximum bit rate                         : 35.0 Mbps
    Width                                    : 1 440 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 25.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : MBAFF
    Bits/(Pixel*Frame)                       : 0.772
    Writing library                          : x264 core 125 r2200 999b753
    Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=36 / lookahead_threads=6 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=tff / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=0 / keyint=25 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=25 / rc=2pass / mbtree=1 / bitrate=30000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=35000 / vbv_bufsize=30000 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
    Color primaries                          : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
    Transfer characteristics                 : BT.709-5, BT.1361
    Matrix coefficients                      : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
    x264 declares scan type as MBAFF but mainconcept sets it to Interlaced. Mainconcept also has a scan order: Top Field First. I have not found any way to change these in the file. I notice that there is a x286Pro plugin for Premiere which seems to have fixed alot of problems in Premiere.

  • Problem exporting Premiere Pro CS5.5 projects with still photos and h264 video

    I'm a longtime Final Cut Pro user and evaluating Premiere Pro for my workplace before making the switch. I have been running into several problems when I try to export raw h264 video from a Canon 5D combined with still images on a Macbook Pro. Either I receive an error in Premiere Pro saying, "Error compiling movie. Unknown error." or Adobe Media Encoder appears to continue exporting (the time elapsed bar continues to move) even though the time remaining stays frozen once it hits a photo it doesn't like. It's not always the same photo.
    I've spent several days trying to troubleshoot the issue, including batch resizing all photos to 1920 wide (to match the video settings), and it hasn't work. The sequence is currently set to render in ProRes 422. I've also tried HDV 1080p30 and MPEG-4. I cannot find any consistency with the errors. Occasionally an export will work, but every couple still photos will look like green static. I've also tried batch converting the photos in Photoshop to PNG and GIF without any luck. I'd include my default export settings but I've pretty much tried it all. I'm just trying to figure out what's causing the error since the message is very vague.
    Couple other notes:
    There's plenty hard drive space available for export
    I can export the DSLR video (h264, 1080p30) without still photos no problem
    I can edit the same still photos and video in Final Cut with no problem
    I have the same problem with auto-save on and off
    I tried re-installing production premium, deleting the preference files and cleaning the media cache - no luck. I also tried exporting under a different user account and it wouldn't work.
    This is driving absolutely crazy. I'm affraid to use PP on deadline because I don't see any issues until it's time to export. Any ideas would be greatly appreciated. Thanks!
    - McKenna

    Thanks Todd. Your questions were actually very helpful. I'm using a Macbook Pro with an Intel Core i7 processor and NVIDIA GeForce GT 330M graphics card. I'm running OS 10.6.8 and have the latest updates installed.
    When I disabled the GPU acceleration, I was able to render and export without a problem. The problem only occured when using the GPU acceleration and mixing h264 with still photos. It also affected both rendered previews and the final export. I'm assuming its a support issue with the graphics cards, but it would be great if you had any other ideas. I appreciate your help.

  • How do i make a still image (photo) fit the length of the music? I record music and want to put the tracks to a video file with a still image of my business logo in the background. Any help?

    How do I make a still image (photo) fit the length of the music? I record music and want to convert the tracks to a video file with a still image of my business logo in the background. On windows movie maker you could just select "fit to music" but this program isnt as easy to figure out! Any help?

    Double-click on the still image in the project timeline to open the Inspector. In the Inspector, adjust the duration by typing in a new duration to match the length of your music. I think the limit for a still image is 10 minutes. If you need more than this, simply drag the image into the timeline again then adjust its duration. The two images will play seamlessly (no gap will be visible).
    See this iMovie Help topic:
    http://help.apple.com/imovie/#mov3a883915
    You can achieve more precision when entering durations by changing a preference in the menu item iMovie Preferences. Check (tick) the preference for Show Time As HH:MM:SS:frames. This will enable you to enter the duration of stills down to the frame level, rather than full seconds (NTSC is 30 frames per second; PAL is 25 fps). When entering times, type a colon between each time segment, such as 2:50:15, which represents 2 minutes 50 seconds and 15 frames. For 5 seconds 20 frames you would enter 5:20 and so forth.
    Note that the music will only run to the length of the video in the timeline (in your case, the still images). So, after increasing the stills duration you will need to drag the end of the music track as far as required. The stills can be dragged inwards to reduce the duration if necessary.
    John
    Message was edited by: John Cogdell - added Note

Maybe you are looking for