Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Encoding videos that behave nicely in windows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
JazzSax006
n00b
n00b


Joined: 03 Jun 2003
Posts: 38

PostPosted: Tue Dec 07, 2004 8:30 pm    Post subject: Encoding videos that behave nicely in windows Reply with quote

Hi, I've got a box with a tv tuner that I've been trying to use to capture some video feeds for my friend. He wants to be able to edit these videos in adobe premiere (he's using version 6), and so far every format I try to encode to is rejected by premiere. Does anyone have any suggestions? Here's what I've tried so far:

To grab the video:
Code:

mencoder -tv driver=v4l2:width=640:height=480:input=1:norm=ntsc:device=/dev/video0 -ovc raw -oac mp3lame -lameopts cbr:br=128 -o /mnt/store/tv/rawcap.avi tv://


To convert to a different format:
mpeg4
Code:

mencoder -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4000:v4mv -oac copy -o /mnt/store/tv/vidmpeg4.avi /mnt/store/tv/rawcap.avi


huffyuv
Code:

mencoder -ovc lavc -lavcopts vcodec=huffyuv -oac copy -o /mnt/store/tv/vidhuffy.avi /mnt/store/tv/rawcap.avi


Windows media
Code:

mencoder -ovc lavc -lavcopts vcodec=wmv2 -oac copy -o /mnt/store/tv/vid.wmv /mnt/store/tv/rawcap.avi


Motion Jpeg
Code:

mencoder -ovc lavc -lavcopts vcodec=mjpeg -oac copy -o /mnt/store/tv/vidmjpeg.avi /mnt/store/tv/rawcap.avi


Mpeg-1
Code:

mencoder -ovc lavc -oac copy -o /mnt/store/tv/vid.mpg /mnt/store/tv/rawcap.avi -fps 29.97 -of mpeg


Some of these play in real player on my friend's computer, but not a single one of them will import into premiere. The complaint is usually about an invalid compression format, but sometimes premiere will just crash without warning when trying to import. Any advice you guys could offer would be excellent, thank you in advance.
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Wed Dec 08, 2004 10:29 pm    Post subject: Reply with quote

I *think* IIRC that adobe premier uses it's own means by which to open video files rather than using the default means provided by the windowsOS. This means that if your friend already has the codecs installed that you are encoding with, then premier is probably getting hung up on something in the video file that it doesn't know how to handle.

You might want to have your friend open the files first with VirtualDub, resave them, and then try to open them with Premier.
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
Sipi
Guru
Guru


Joined: 03 Apr 2003
Posts: 406
Location: Hungary

PostPosted: Thu Dec 09, 2004 11:11 am    Post subject: Reply with quote

I think that if you capture in NTSC, you have to define the framerate, too.
I should have set to 25fps.

Sipi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum