View previous topic :: View next topic |
Author |
Message |
jevidl Tux's lil' helper
Joined: 22 Jul 2004 Posts: 111 Location: Ann Arbor, MI
|
Posted: Tue Nov 09, 2004 2:51 am Post subject: Video conversion help |
|
|
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 |
|
|
teknomage1 Veteran
Joined: 05 Aug 2003 Posts: 1239 Location: Los Angeles, CA
|
Posted: Tue Nov 09, 2004 3:09 pm Post subject: |
|
|
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 |
|
|
jevidl Tux's lil' helper
Joined: 22 Jul 2004 Posts: 111 Location: Ann Arbor, MI
|
Posted: Tue Nov 09, 2004 4:14 pm Post subject: |
|
|
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 |
|
|
woodmeister n00b
Joined: 17 Sep 2004 Posts: 39
|
Posted: Tue Nov 09, 2004 8:47 pm Post subject: |
|
|
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 |
|
|
ChojinDSL l33t
Joined: 07 Jul 2003 Posts: 784
|
Posted: Wed Nov 10, 2004 10:15 am Post subject: |
|
|
Have you tried avidemux? Its a lot like virtualdub. |
|
Back to top |
|
|
Nate_S Guru
Joined: 18 Mar 2004 Posts: 414
|
Posted: Wed Nov 10, 2004 7:32 pm Post subject: |
|
|
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 |
|
|
jevidl Tux's lil' helper
Joined: 22 Jul 2004 Posts: 111 Location: Ann Arbor, MI
|
Posted: Thu Nov 11, 2004 1:10 am Post subject: |
|
|
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 |
|
|
jevidl Tux's lil' helper
Joined: 22 Jul 2004 Posts: 111 Location: Ann Arbor, MI
|
Posted: Thu Nov 11, 2004 1:35 am Post subject: |
|
|
/me sighs.
It appears as though transcode does not support adding borders. Back to the drawing board... |
|
Back to top |
|
|
teknomage1 Veteran
Joined: 05 Aug 2003 Posts: 1239 Location: Los Angeles, CA
|
Posted: Thu Nov 11, 2004 1:51 am Post subject: |
|
|
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 |
|
|
jevidl Tux's lil' helper
Joined: 22 Jul 2004 Posts: 111 Location: Ann Arbor, MI
|
Posted: Thu Nov 11, 2004 2:42 am Post subject: |
|
|
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 |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Thu Nov 11, 2004 2:46 am Post subject: |
|
|
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 |
|
|
m707 Tux's lil' helper
Joined: 31 Oct 2003 Posts: 121 Location: Germany
|
Posted: Thu Nov 11, 2004 3:15 pm Post subject: |
|
|
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 |
|
|
mean Guru
Joined: 25 Sep 2002 Posts: 313
|
Posted: Thu Nov 11, 2004 4:38 pm Post subject: |
|
|
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 |
|
|
Nate_S Guru
Joined: 18 Mar 2004 Posts: 414
|
Posted: Thu Nov 11, 2004 9:05 pm Post subject: |
|
|
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 |
|
|
|