Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

All of these converted, but Premiere Pro only loads the audio. I use Ctrl-I to import the videos, and they come up as waveforms, and can only be placed on audio tracks.

These examples use avconv, but I also have ffmpeg, and don't really care which as long as it works :-)

avconv -i v1raw.AVI  -c:a copy -c:v mpeg2video  v1conv.mpeg
avconv -i v1raw.AVI  -c:a copy -c:v mpeg2video  v1conv.avi
avconv -i v1raw.AVI  -c:a copy -c:v mpeg4  v1conv.m4v
avconv -i v1conv.avi  -c:a copy -c:v copy  v1conv_copy.mpeg

Here's the data for my input file (incase it helps).

Input #0, avi, from 'v1raw.AVI':
  Duration: 00:05:28.53, start: 0.000000, bitrate: 9592 kb/s
    Stream #0.0: Video: h264 (Main), yuv420p, 1920x1080, 30 fps, 30 tbr, 30 tbn, 60 tbc
    Stream #0.1: Audio: adpcm_ms, 44100 Hz, 1 channels, s16, 176 kb/s

And my available video encoding formats from avconv.

a64multi, a64multi5, asv1, asv2, bmp, cljr, dnxhd, dpx, 
dvvideo, ffv1, ffvhuff, flashsv, flv, gif, h261, h263, h263p, 
huffyuv, jpegls, libdirac, libschroedinger, libtheora, libvpx, 
libx264, libxvid, ljpeg, mjpeg, mpeg1video, mpeg2video, 
mpeg4, msmpeg4, msmpeg4v2, pam, pbm, pcx, pgm, pgmyuv, png, 
ppm, qtrle, rawvideo, roqvideo, rv10, rv20, sgi, snow, svq1

see full codec info

I'd be happy to post anything else that has the slightest chance of helping.

share|improve this question
    
Which version of Premiere Pro? Why not import v1raw.AVI into Premiere? –  LordNeckbeard Nov 26 '12 at 22:33
    
It's CS5. The raw (original from camear) doesn't work either. –  FakeRainBrigand Nov 27 '12 at 0:48
add comment

1 Answer

up vote 4 down vote accepted

Premiere Pro CS5 should be able to import H.264 video, IIRC, however it may be having trouble with the audio and/or container format. With ffmpeg try re-muxing the video stream without the audio:

ffmpeg -i input -an -codec:v copy output.mp4 -an -codec:v copy output.avi

If both output.mp4 and output.avi work then we know that the issue lies with the audio (although H.264 with b-frames in AVI probably isn't a great idea). You can re-encode the audio and keep the video:

ffmpeg -i input -codec:v copy -codec:a pcm_s16le output.avi

If the first command does not work with Premiere, then you may need to re-encode. This is a good use case for an editor friendly, lossless intermediate file:

ffmpeg -i input -codec:v utvideo -codec:a pcm_s16le output.avi

Close Premiere, install Ut Video (scroll to the bottom of the page), open Premiere, and import your video. You can do your editing, and then export to your final format using the crappy Adobe Media Encoder, or export to another lossless file, and then use ffmpeg to provide whatever you need. Alternatively, if you're using Windows you can use Debugmode FrameServer and encode directly with ffmpeg from Premiere. See How to encode with ffmpeg from Adobe Premiere Pro for instructions.

If you need a recent ffmpeg for Windows see Zeranoe FFmpeg builds.

share|improve this answer
    
Thanks, the MP4 worked for me. I can just grab one of the audios from the videos that were only giving me audio, and call it a day. Btw, I had to change -codec:v to -vcodec, and I don't have utvideo; any idea why? –  FakeRainBrigand Nov 27 '12 at 12:08
    
Your ffmpeg is old. –  LordNeckbeard Nov 27 '12 at 18:47
    
@FakeRainBrigand I added a link to the frameserving guide. –  LordNeckbeard Nov 27 '12 at 21:51
    
Okay, thanks for all the help. I'll get the newest ffmpeg. I assume utvideo comes with the default build? –  FakeRainBrigand Nov 27 '12 at 22:31
    
@FakeRainBrigand Yes, the native utvideo encoder and decoder is included with ffmpeg, but usage of libutvideo is also an option if included with a build. –  LordNeckbeard Nov 27 '12 at 23:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.