Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Video conversion help
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
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Tue Nov 09, 2004 2:51 am    Post subject: Video conversion help Reply with quote

Because video conversion is the only thing keeping a windows install on my computer, I would love to find something in linux that will let me do the following tasks:


Must Haves
Ability to convert XviD or DivX codecs to (S)VCD compatible MPEG files.
Ability to resize files
Ability to add black borders


Would be Nice
Resizing using bilinear resizing
Additional filters to clean up the video
(think AVIsynth)
Batch encoding.

Dreaming
Ability to rip and include subs from OGM.

Any help that can be given would be great. I really would rather not have to use one of the non-linear editors because I really don't need editing cabailities at all, outside of what I included above. This is truly the only thing keeping me on windows...
Back to top
View user's profile Send private message
teknomage1
Veteran
Veteran


Joined: 05 Aug 2003
Posts: 1239
Location: Los Angeles, CA

PostPosted: Tue Nov 09, 2004 3:09 pm    Post subject: Reply with quote

mencoder which ships with mplayer is ll you need. It definitely does everything from the first category, is a command line program so it's batch friendly, and has some filters. I'm not sure subtitles-wise but you can alway try it out.
Back to top
View user's profile Send private message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Tue Nov 09, 2004 4:14 pm    Post subject: Reply with quote

I will have to take another look at mplayer/mencoder. I had used ffmpeg in the past with some issues, but when I get home I guess I will try slapping mencoder around a while. I will post back with how it goes.
Back to top
View user's profile Send private message
woodmeister
n00b
n00b


Joined: 17 Sep 2004
Posts: 39

PostPosted: Tue Nov 09, 2004 8:47 pm    Post subject: Reply with quote

I don't know if you have kdelibs installed, but if so take a look at konverter. It's just a gui for mencoder and I'm not sure if it allows batch encoding. However, it does make using mencoder a lot easier and allows cropping/scaling etc

mark
Back to top
View user's profile Send private message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Wed Nov 10, 2004 10:15 am    Post subject: Reply with quote

Have you tried avidemux? Its a lot like virtualdub.
Back to top
View user's profile Send private message
Nate_S
Guru
Guru


Joined: 18 Mar 2004
Posts: 414

PostPosted: Wed Nov 10, 2004 7:32 pm    Post subject: Reply with quote

Transcode will also do all that and more. It's also CLI and can be scripted. I'd recommend you search around as some scripts have been written to do pretty much exactly what you want with transcode, and it can be confusing to try to learn transcode from it's man pages.

-Nate
Back to top
View user's profile Send private message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Thu Nov 11, 2004 1:10 am    Post subject: Reply with quote

teknomage1 wrote:
mencoder which ships with mplayer is ll you need. It definitely does everything from the first category, is a command line program so it's batch friendly, and has some filters. I'm not sure subtitles-wise but you can alway try it out.


Unfortunately, mencoder cannot encode to an MPEG stream:

Mencoder Docs wrote:

7.2. Encoding to MPEG format

MEncoder can create MPEG (MPEG-PS) format output files. It's probably useful only with libavcodec's mpeg1video codec, because players - except MPlayer - expect MPEG1 video, and MPEG1 layer 2 (MP2) audio streams in MPEG files.

This feature is not very useful right now, aside that it probably has many bugs, but the more importantly because MEncoder currently cannot encode MPEG1 layer 2 (MP2) audio, which all other players expect in MPEG files.

To change MEncoder's output file format, use the -of mpeg option.

Example:

mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy other_options media.avi -o output.mpg


Alas.

I will check out transcode.
Back to top
View user's profile Send private message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Thu Nov 11, 2004 1:35 am    Post subject: Reply with quote

/me sighs.

It appears as though transcode does not support adding borders. Back to the drawing board...
Back to top
View user's profile Send private message
teknomage1
Veteran
Veteran


Joined: 05 Aug 2003
Posts: 1239
Location: Los Angeles, CA

PostPosted: Thu Nov 11, 2004 1:51 am    Post subject: Reply with quote

going out on a limb, assuming you have enough hd space, why not output uncompressed with borders from mencoder, then compress it with transcode?
Back to top
View user's profile Send private message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Thu Nov 11, 2004 2:42 am    Post subject: Reply with quote

Interesting idea, if I can't get ffmpeg to do what I want I might have to do that. I would really prefer something a little more streamlined.

In essence, avisynth did that. It would serve frames to the encoder after running the appropriate filters, without the middle man. I might be able to setup some kind of an mplayer frameserver as well... wow. interesting, very interesting... I don't know how well it would work out in practice, and I am still going for ffmpeg first - but thanks for the inspiration!
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Thu Nov 11, 2004 2:46 am    Post subject: Reply with quote

I don't know if the said software supports it, but if you use pipes instead of actual files, you wouldn't even need the hd space! :)
_________________
"...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
m707
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2003
Posts: 121
Location: Germany

PostPosted: Thu Nov 11, 2004 3:15 pm    Post subject: Reply with quote

jevidl wrote:
/me sighs.

It appears as though transcode does not support adding borders. Back to the drawing board...


No transcode can add black borders, of course.

Just pass negative values to -Y.
_________________
bye maik
Back to top
View user's profile Send private message
mean
Guru
Guru


Joined: 25 Sep 2002
Posts: 313

PostPosted: Thu Nov 11, 2004 4:38 pm    Post subject: Reply with quote

Try avidemux2
It may not be as powerful as transcode/mencoder but you will do what you want with less than 6 mouse clicks.

/end of shameless self promotion.
Back to top
View user's profile Send private message
Nate_S
Guru
Guru


Joined: 18 Mar 2004
Posts: 414

PostPosted: Thu Nov 11, 2004 9:05 pm    Post subject: Reply with quote

Yes transcode can add black borders. Also, for some GUI tools, look into avidemux2 and lve. (I perfer CLI myself.)

You also might read some of the scripts mythtv uses. (usefull even if you don't use mythtv) As of right now, there is very little transcode support buildt into mythtv, so most everything is done with external perl/bash scripts. So for some good examples, emerge nuvexport, and check out some of the scripts on the mythtv wiki at mythtv.info.
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