3 Replies Latest reply: Apr 3, 2012 10:24 PM by Hikarusan21 RSS

    H264 MPEG AVI import video timeline problem

    Hikarusan21 Community Member



      I am a new user of Adobe Premiere CS4.  I am having a problem of importing H264 MPEG AVI files.  I set my project to be HDV 720p 30fps.  I grabbed Gspot and it has identify my video is a H264 codec name H.264/MPEG-4 AVC.  When I import the video I setup the timeline and when I do a playback review in the far left window (default setting).  It play the vido super fast, but the audio is playing normally.  I zoom in the timeline and it seems to think each second is one frame.  So it is playing the video like 30x speed(not 100% on how much faster, just lot).  What am I doing wrong?


      After playing around some more, it looks like the video are keyframes as the time jump from frame to frame is huge, not what it look like in a WMP.  Did I somehow imported and it stripped out the deltas?

        • 1. Re: H264 MPEG AVI import video timeline problem
          Jeff Bellune ACP

          Welcome to the forum.


          You're not doing anything wrong.  H.264 in an AVI file format isn't supported in Premiere Pro.  Try renaming the file extension to .mp4 -- if that doesn't work then you'll have to convert the video to another format.  The free program VirtualDub might do the conversion if you have an H.264 decoder on your system like x264vfw.



          • 3. Re: H264 MPEG AVI import video timeline problem
            Hikarusan21 Community Member

            I looked at the thread and tried it, I get this error.


            Microsoft Windows [Version 6.1.7601]

            Copyright (c) 2009 Microsoft Corporation.  All rights reserved.



            ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers

              built on Apr  3 2012 20:23:48 with gcc 4.6.2

              configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru

            ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope

            ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en

            able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -

            -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben

            c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-

            libxvid --enable-zlib

              libavutil      51. 44.100 / 51. 44.100

              libavcodec     54. 12.100 / 54. 12.100

              libavformat    54.  3.100 / 54.  3.100

              libavdevice    53.  4.100 / 53.  4.100

              libavfilter     2. 66.101 /  2. 66.101

              libswscale      2.  1.100 /  2.  1.100

              libswresample   0. 10.100 /  0. 10.100

              libpostproc    52.  0.100 / 52.  0.100

            [avi @ 0000000001E6EE40] max_analyze_duration 5000000 reached at 5024000

            Input #0, avi, from 'SG19.avi':


                encoder         : VirtualDubMod (build 2540/release)

              Duration: 01:04:56.39, start: 0.000000, bitrate: 3426 kb/s

                Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x720 [SAR

            1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc

                Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, s16, 384 kb


            [mp4 @ 0000000004490A60] track 1: codec frame size is not set

            Output #0, mp4, to 'SG19.mp4':


                encoder         : Lavf54.3.100

                Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 D

            AR 16:9], q=2-31, 29.97 fps, 2997 tbn, 29.97 tbc

                Stream #0:1: Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, stereo, 384 kb/


            Stream mapping:

              Stream #0:0 -> #0:0 (copy)

              Stream #0:1 -> #0:1 (copy)

            Could not write header for output file #0 (incorrect codec parameters ?)




            I did not use the 32 bit one, but the 64bit.  I will try the 32bit one now.  Neither one worked.  I also went back to an older build that maybe got farther but still failed somewhere else.