Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-19-2006, 02:39 PM
|
#1
|
Member
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403
Rep:
|
what software allows me to edit exisiting *.avi files?
Hi, I got a brunch of tv shows I wanna burn on my cd, but their size is 351mb, 352mb respectively (I want to burn 2 shows per cd)...
I wanna trim a mb out of my file (maybe take off the opening preview, or the ending message screen).
Any suggesting on softwares allowed me to do that?
Thank you
|
|
|
02-19-2006, 03:45 PM
|
#2
|
Member
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298
Rep:
|
You may find this info helpful in your endeavors to rung video editing in your box:
http://www.robfisher.net/video/
|
|
|
02-19-2006, 04:45 PM
|
#3
|
Member
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141
Rep:
|
Mencoder is good for choping the start and end off video files.
the command looks like
//will take off the first 30 sec
mencoder /path/file.avi -vo copy -ao copy -ss 00:00:30 -o ath/file_chop.avi
//will only copy the first 25 min
mencoder /path/file.avi -vo copy -ao copy -endpos 00:25:00 -o ath/file_chop.avi
|
|
|
02-20-2006, 05:50 PM
|
#4
|
Member
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403
Original Poster
Rep:
|
thanks for the reply guys.
Simon_6162, I use mplayer to watch avi files, and I notice my mplayer has Mencoder. Is the Mencoder that uses in mplayer is the same thing?
does it mean I can use the same shell command to get things done without download/install additional software?
Thank you
|
|
|
02-21-2006, 04:43 AM
|
#5
|
Member
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141
Rep:
|
Quote:
does it mean I can use the same shell command to get things done without download/install additional software?
|
Yes.
Also there are allot of gui's available for mencoder. If you want to do more complex things. There is A list of them on the mplayer homepage.
Simon.
|
|
|
02-22-2006, 11:51 PM
|
#6
|
Member
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403
Original Poster
Rep:
|
Simon_6162,
thank you very much for your input, I've been to mplayer's site a few times in the past couple days, seems their Document link are broken?
I'm can't figure out how to delete the last 30 sec of the tv show, would you please show me how?
here's the example of my directory as well as my files:
[tux@localhost 24 Season 3]$ pwd
/home/tux/download/tv/24 Season 3
[tux@localhost 24 Season 3]$ ls
24.S03E01.01pm-02pm.XviD.avi
I'd like to trim out the last 30 sec (or a min) of this file...
again, thank you very much 
|
|
|
02-23-2006, 01:04 AM
|
#7
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
Kino only works with DV files. Cinelerra is buggying and works with motion JPEG codecs. Try avidemux. It works with almost all video and audio codecs. I have not tested how well avidemux is with video and audio sync, but mencoder has poor audio and video sync.
|
|
|
02-23-2006, 02:59 PM
|
#8
|
Member
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141
Rep:
|
If you are just chopping files (audio stream copy + video stream copy) mencoder wont touch the sync, but It does screw up allot on reencode!
To chop the end of a file you have to copy the whole file upto the point you want to chop.
So if you have a 30 min file and only want the first 25 (chop last 5 use the line below).
mencoder /home/tux/download/tv/24\ Season\ 3/24.S03E01.01pm-02pm.XviD.avi -vo copy -ao copy -endpos 00:25:00 -o /home/tux/download/tv/24\ Season\ 3/24.S03E01.01pm-02pm.XviD_cut.avi
the cut file being named 24.S03E01.01pm-02pm.XviD_cut.avi and then check all is ok and remove the origional one.
-endpos 00:25:00 this is the amount of time you want it to copy. it's in the format hours:minutes:seconds
You can use "man mencoder" to see the docs on your own PC. and remember to backslah spaces in your file path or use quotes.
Simon
|
|
|
02-25-2006, 04:08 PM
|
#9
|
Member
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403
Original Poster
Rep:
|
Hi Simon,
I used the following comment:
Code:
mencoder 24\ Season\ 2\ Episode\ 01\ -\ 8am-9am.avi-vo copy -ao copy -endpos 00:49:04 -o test/s2ep1.avi
and I get the following respond:
Quote:
MEncoder 1.0pre7try2-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
File not found: 'frameno.avi'
Failed to open frameno.avi
vo is not an MEncoder option
Exiting... (error parsing cmdline)
|
does it mean my mencoder doesn't support avi output?
|
|
|
02-25-2006, 05:01 PM
|
#10
|
Member
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141
Rep:
|
Sorry it should be -ovc and -oac
Code:
mencoder 24\ Season\ 2\ Episode\ 01\ -\ 8am-9am.avi -ovc copy -oac copy -endpos 00:49:04 -o test/s2ep1.avi
|
|
|
02-25-2006, 08:12 PM
|
#11
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
Use double quotes instead of backslashes because double quotes are a lot easier.
Quote:
does it mean my mencoder doesn't support avi output?
|
It means you did not read the manual. When someone gives you a command, you should check what the options will do before running the command.
removed inappropriate command
Last edited by rshaw; 03-03-2006 at 02:42 PM.
|
|
|
02-25-2006, 09:51 PM
|
#12
|
Member
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669
Rep:
|
try avidemux2.
|
|
|
02-26-2006, 09:16 AM
|
#13
|
Member
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403
Original Poster
Rep:
|
Simon,
The mencoder trick works like champs. I was able to archive all my tv shows. Thank you.
Electro,
rm -Rf / doesn't do anything, it complains Permission denied what should I do?
(aahh...just in case if you don't believe I actually did it, here's the screen print)
Code:
[tux@localhost tv]$ rm -rf /
rm: cannot remove `//bin': Permission denied
rm: cannot remove `//dev': Permission denied
rm: cannot remove `//etc': Permission denied
rm: cannot remove `//lib': Permission denied
rm: cannot remove `//mnt': Permission denied
rm: cannot remove `//opt': Permission denied
rm: cannot remove `//srv': Permission denied
rm: cannot remove `//tmp': Permission denied
rm: cannot remove `//sys': Permission denied
rm: cannot remove `//var': Permission denied
rm: cannot remove `//usr': Permission denied
rm: cannot remove `//boot': Permission denied
rm: cannot remove `//home': Permission denied
rm: cannot remove `//proc': Permission denied
rm: cannot remove `//sbin': Permission denied
rm: cannot remove `//root': Permission denied
rm: cannot remove `//media': Permission denied
rm: cannot remove `//initrd': Permission denied
rm: cannot remove `//.autofsck': Permission denied
some posts are just not as constructive then others....
|
|
|
02-26-2006, 04:07 PM
|
#14
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
sirpelidor, you ran it! The command that I gave you was a test which actually deletes all your files and directories that you have write access to. You should have first looked through the manual about what it does.
You got an A+ on well did as an lemming.
A definition of a lemming taken from wikipedia is someone mindlessly follow the crowd, even if destruction is the result.
|
|
|
02-28-2006, 01:06 AM
|
#15
|
Member
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403
Original Poster
Rep:
|
Of course i ran it. I knew for fact that I hardly login as root. Why would I afraid of such retarded trick?
Reading a manual of rm command is one thing, reading and 3k + lines of mencoder manual and understand it is another thing.
Just like trying to settle a divoce case at court. Anyone can do it, all they need to do is "read" the law book at their local law library. Why would anyone needs a lawyer for it?
Everyone here is good at something. Someone is good at using mencoder, while others maybe good at compile a kernel. At the same time, someone else could be good at manage their stupid exchange server for all I care.
While recongizing each other strength and share it through a media such as LQ forum is the best way keep this community growing. No some arrogance a$$ trying run around and tell people to "read" instead of posting anything productive.
arrogance, defined at Dictionary.com as "overbearing pride evidenced by a superior manner toward inferiors" But I figured you probably rather go "read" it from your Oxford dictionary (if you have one).
|
|
|
All times are GMT -5. The time now is 11:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|