LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 02-17-2011, 08:54 PM   #1
crosstalk
Member
 
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Rep: Reputation: 35
Using ffmpeg to convert to .mov with h264 encoding.


I am attempting to convert an existing .mov file to one that uses h.264 encoding for the video with ffmpeg. The following command line gets ffmpeg to execute.

Code:
ffmpeg -i /media/Lexar/Team_957.mov -vcodec libx264 -vpre medium ~/team957.mov
However, when I use mplayer to play team957.mov, I get:
Code:
MPlayer SVN-r29796-4.4.4 (C) 2000-2009 MPlayer Team

Playing /home/ryan/team957.mov.
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9d485f0]moov atom not found
LAVF_header: av_open_input_stream() failed
ISO: File Type Major Brand: Original QuickTime
MOV: missing header (moov/cmov) chunk! Maybe broken file...
Seek failed
libavformat file format detected.
LAVF_header: av_open_input_stream() failed


Exiting... (End of file)
Thanks for any help.

EDIT: I've gotten the conversion to work (it has to finish entirely before the file is readable), but now it has Lavf52.64.2 as the "muxer" (according to mplayer). How can I get rid of this?

EDIT2: Hmm... I think the issue is that Quicktime can't read lossless files. Problem solved (hopefully.)

Last edited by crosstalk; 02-18-2011 at 12:21 AM.
 
Old 02-18-2011, 12:14 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

You marked your thread as solved, mentioning what you did, thanks for that. Did you however get an answer to your last question? If so, would you mind sharing that with us?

Kind regards,

Eric
 
Old 02-18-2011, 12:24 AM   #3
crosstalk
Member
 
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Original Poster
Rep: Reputation: 35
Sorry... I was slow to edit my post.

I haven't verified this yet, but I don't think Quicktime could open the file I had created because it was lossless (I tried the one with "-vpre medium" with mplayer, but a lossless one with quicktime). I'm still working on this.

Sorry for the extraneous topic -- I usually don't ask questions I know I can answer, but I'm on a time limit right now, so I thought it was worth it to try.
 
Old 02-18-2011, 12:36 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

No problem at all Thank you for the update.

Kind regards,

Eric
 
  


Reply


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
convert mp3 to mov using ffmpeg kirukan Linux - Newbie 4 09-17-2009 12:29 AM
ffmpeg encoding help SentralOrigin Linux - Software 5 04-23-2008 10:35 AM
ffmpeg to convert QuickTime mov-file into dv file arkadig Linux - Software 1 04-16-2008 09:31 AM
Convert mov files hraposo Debian 1 02-02-2007 02:17 AM
ffmpeg with -sameq form .mov produces huge files ziocicion Linux - Software 2 06-01-2006 10:07 AM


All times are GMT -5. The time now is 11:14 AM.

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