LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 08-13-2006, 08:29 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
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?
 
Old 08-14-2006, 05:00 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,120
Blog Entries: 54

Rep: Reputation: 2788Reputation: 2788Reputation: 2788Reputation: 2788Reputation: 2788Reputation: 2788Reputation: 2788Reputation: 2788Reputation: 2788Reputation: 2788Reputation: 2788
"mencoder input.mov -oac pcm -ovc raw -o output.avi"?
 
1 members found this post helpful.
Old 08-14-2006, 06:28 AM   #3
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
This format is well supported by Avidemux2.
 
Old 08-14-2006, 09:08 PM   #4
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Original Poster
Rep: Reputation: 80
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.
 
Old 08-14-2006, 09:43 PM   #5
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
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.
 
Old 08-19-2006, 11:51 AM   #6
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Original Poster
Rep: Reputation: 80
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?
 
Old 08-19-2006, 12:02 PM   #7
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
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.
 
Old 12-13-2006, 12:16 PM   #8
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
Unhappy 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.
 
Old 02-10-2008, 06:21 PM   #9
dwpbike
Member
 
Registered: Sep 2005
Location: macon, ga
Distribution: downgraded from rh9 to fc8
Posts: 57

Rep: Reputation: 16
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.
 
Old 02-10-2008, 06:44 PM   #10
ComputerGreek
Member
 
Registered: Sep 2007
Posts: 152

Rep: Reputation: 30
Quote:
Originally Posted by unSpawn View Post
"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
 
Old 02-12-2008, 02:25 PM   #11
ComputerGreek
Member
 
Registered: Sep 2007
Posts: 152

Rep: Reputation: 30
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.
 
Old 02-13-2008, 05:47 PM   #12
ComputerGreek
Member
 
Registered: Sep 2007
Posts: 152

Rep: Reputation: 30
Does anyone know much about editing with mencoder?
 
Old 02-14-2008, 09:42 PM   #13
ComputerGreek
Member
 
Registered: Sep 2007
Posts: 152

Rep: Reputation: 30
Does anyone know much about editing with mencoder?

Any links?
 
Old 02-15-2008, 11:17 AM   #14
dwpbike
Member
 
Registered: Sep 2005
Location: macon, ga
Distribution: downgraded from rh9 to fc8
Posts: 57

Rep: Reputation: 16
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.
 
Old 02-15-2008, 05:51 PM   #15
ComputerGreek
Member
 
Registered: Sep 2007
Posts: 152

Rep: Reputation: 30
Quote:
Originally Posted by dwpbike View Post
Almost useless.
 
  


Reply

Tags
avi, avidemux, edit, editing, mencoder, mov, video


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound in .MOV files batev Linux - Software 1 10-30-2005 02:04 AM
No sound with *.mov files tredegar Linux - Software 6 08-29-2005 07:18 AM
Trouble getting .avi .mov .mov files to run redman13 Linux - Newbie 4 11-09-2003 01:46 PM
Playing .mov files ch4s3r Linux - Newbie 2 09-03-2003 09:17 AM
.mov files bear2x Linux - Software 2 06-24-2003 06:05 PM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration