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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-13-2006, 08:29 AM
|
#1
|
|
Senior Member
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,426
Rep:
|
video editing MOV files
I need a video editor like Kino, so that I can edit and trim some video to make it shorter. My videos are from a digital camera, and they are in .MOV format. Kino does not support that format. What can I do?
|
|
|
|
08-14-2006, 05:00 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,808
|
"mencoder input.mov -oac pcm -ovc raw -o output.avi"?
|
|
|
|
08-14-2006, 06:28 AM
|
#3
|
|
Senior Member
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,756
Rep: 
|
This format is well supported by Avidemux2.
|
|
|
|
08-14-2006, 09:08 PM
|
#4
|
|
Senior Member
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,426
Original Poster
Rep:
|
I did that with mplayer mencoder, and it worked. Thanks. The AVI movie I have now is about 25 times bigger than the MOV movie. After I edit it, what's a format to convert it to? I am looking for a format that will play in most web browsers without extra plugins that people do not already have, and a format that is compressed, so it is not so big. I haven't found a way to convert to SWF flash in Linux yet.
|
|
|
|
08-14-2006, 09:43 PM
|
#5
|
|
Senior Member
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,756
Rep: 
|
MOV is a container, the video is actually encoded in MPEG-4 format, the FourCC is usually set to DivX - for compatibility reasons. MPEG-4 is a lossy codec, meaning recoding is inevitable loss in quality. The audio may be encoded in ULAW, this is something you want to recode. The bottom line is you should leave the video alone, recode audio to mp3 (or ogg) and use a common container as avi (or ogm with ogg audio). As I mentioned before, Avidemux2 is a great tool for this. But you can use mencoder if you want to.
|
|
|
|
08-19-2006, 11:51 AM
|
#6
|
|
Senior Member
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,426
Original Poster
Rep:
|
I finally got Avidemux2 installed after much hell. I have no idea about most of the things you are talking to me about. What should I convert the huge AVI file to, so that it plays in most web browsers without being huge files?
|
|
|
|
08-19-2006, 12:02 PM
|
#7
|
|
Senior Member
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,756
Rep: 
|
Do not convert anything without a good reason. First, load your mov file. Then look at it's properties. Pay attention to audio and video codecs used. If video shows something like: Codec 4CC DIVX - set video to COPY (you do not want to re-code it). You want audio to be mp3, so set it to LAME (assuming it is not mp3 already). Finally, choose FORMAT - AVI. Now save the file. Done. 
|
|
|
|
12-13-2006, 12:16 PM
|
#8
|
|
Member
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331
Rep:
|
editing .mov files
I want to edit .mov files that I get from my Olympus camera and I've tried the mencoder command.
I now have a .avi file from the .mov but, when I open it in avidemux, I just get audio, no picture.
This is the command I used: mencoder /home/susemama/Pictures/PC071526.MOV -oac pcm -ovc raw -o /home/susemama/Pictures/PC071526.avi
And this is the message I got:
MEncoder 1.0rc1-SUSE Linux 10.0 (i686)-Packman-4.0.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0xa4872e
Quicktime/MOV file format detected.
VIDEO: [jpeg] 320x240 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x6765706A size:320x240 fps:15.00 ftime:=0.0667
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 7867 Hz, 1 ch, u8, 62.9 kbit/100.00% (ratio: 7867->7867)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
VDec: vo config request - 320 x 240 (preferred colorspace: Planar 422P)
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: vprp aspect is 4:3.
Writing header...
ODML: vprp aspect is 4:3.
Pos: 32.0s 480f ( 0%) 439.56fps Trem: 0min 0mb A-V:0.067 [18432:125]
Flushing video frames
Writing index...
Writing header...
ODML: vprp aspect is 4:3.
Video stream: 18432.000 kbit/s (2304000 B/s) size: 73728000 bytes 32.000 secs 480 frames
Audio stream: 125.872 kbit/s (15734 B/s) size: 503488 bytes 32.000 secs
MPlayer is the only player that can play this .avi file with both pictures and sound while my other players just have sound, no pictures.
Mplayer complains: New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.tff).
--------
Q:
What text file does it want?
What does text have to do with showing the pictures?
I've tried a search for the file named, subfont but got no results.
|
|
|
|
02-10-2008, 06:21 PM
|
#9
|
|
Member
Registered: Sep 2005
Location: macon, ga
Distribution: downgraded from rh9 to fc8
Posts: 56
Rep:
|
i get something similiar to this every time i run mplayer, but as long as i've got video and audio,i don't care. thinking it has something to do with subtitles, which i could never read quickly enough in the movies.
|
|
|
|
02-10-2008, 06:44 PM
|
#10
|
|
Member
Registered: Sep 2007
Posts: 152
Rep:
|
Quote:
Originally Posted by unSpawn
"mencoder input.mov -oac pcm -ovc raw -o output.avi"?
|
I think you really mean, something like:
mencoder input.mov -oac mp3lame -lameopts br=48:cbr -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=750:vhq -o output.avi
See: "MPlayer and MEncoder (DVD/Movie/Video/MP3 Player and Encoder)." at
http://linuxhelp.150m.com/installs/mplayer.htm
for a good article on how to compile and use MPlayer/MEncoder
|
|
|
|
02-12-2008, 02:25 PM
|
#11
|
|
Member
Registered: Sep 2007
Posts: 152
Rep:
|
Actually, it looks like I read the article wrongly.
If you want to edit the file, most editing tools need raw video and pcm.
So unSpawn was correct.
|
|
|
|
02-13-2008, 05:47 PM
|
#12
|
|
Member
Registered: Sep 2007
Posts: 152
Rep:
|
Does anyone know much about editing with mencoder?
|
|
|
|
02-14-2008, 09:42 PM
|
#13
|
|
Member
Registered: Sep 2007
Posts: 152
Rep:
|
Does anyone know much about editing with mencoder?
Any links?
|
|
|
|
02-15-2008, 11:17 AM
|
#14
|
|
Member
Registered: Sep 2005
Location: macon, ga
Distribution: downgraded from rh9 to fc8
Posts: 56
Rep:
|
link for mencoder
i just googled and this is the first entry
http://bro1.centras.info/mencoder_editing.html
i had been trying to clip a segment from a video with mplayer without success using -dumpstream. mplayer told me where to start and stop, so mencoder was the ticket. i did have to add some parms, but i was prompted each time.
|
|
|
|
02-15-2008, 05:51 PM
|
#15
|
|
Member
Registered: Sep 2007
Posts: 152
Rep:
|
Quote:
Originally Posted by dwpbike
|
Almost useless.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:19 AM.
|
|
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
|
|