LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2015, 03:15 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
What is the easy way converting .mov file to mp4


Hi all,

I have .mov files download from IPhone. Please advise the easy way converting them to .mp4

Thanks

Regards
satimis
 
Old 08-22-2015, 04:23 AM   #2
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
Code:
ffmpeg -i movie.mov -vcodec copy -acodec copy out.mp4
 
Old 08-22-2015, 06:14 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi,

I have been trying >1 hour to get ffmpeg installed on Ubuntu 14.04

Finally following commands worked for me

$ sudo add-apt-repository ppa:mc3man/trusty-media
$ sudo apt-get update
Code:
.....
Fetched 1,941 kB in 13s (141 kB/s)
W: Failed to fetch http://hk.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://hk.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://hk.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages  Hash Sum mismatch

W: Failed to fetch http://hk.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages  Hash Sum mismatch

W: Failed to fetch http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found
.....
$ sudo apt-get install ffmpeg gstreamer0.10-ffmpeg

$ which ffmpeg
Code:
/usr/bin/ffmpeg
Quote:
Originally Posted by ugjka View Post
Code:
ffmpeg -i movie.mov -vcodec copy -acodec copy out.mp4
Your advice works for me. Thanks

satimis
 
Old 08-22-2015, 08:59 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Out of curiosity why did you have to add a PPA to install a package that's in the Ubuntu repositories?
http://packages.ubuntu.com/search?su...searchon=names
 
Old 08-22-2015, 11:31 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by 273 View Post
Out of curiosity why did you have to add a PPA to install a package that's in the Ubuntu repositories?
http://packages.ubuntu.com/search?su...searchon=names
Hi,

Before adding PPA I couldn't install ffmpeg.

$ sudo apt-get install ffmpeg
Code:
package not found ....
something like that.

I have spent sometimes searching for a solution without result. Most threads found required adding PPA. But all suggestions didn't work until I found the solution mentioned in my previous posting

satimis
 
Old 08-22-2015, 11:36 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Ah, I see, it seems Ubuntu has moved to libav rather than ffmpeg so the Ubuntu equivalent is probably something like avconv from libav-tools.
 
Old 08-22-2015, 12:14 PM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by 273 View Post
Ah, I see, it seems Ubuntu has moved to libav rather than ffmpeg so the Ubuntu equivalent is probably something like avconv from libav-tools.
Yes, you're right.

When I tried sorting out my problem I found some articles suggesting me turning to avconv

satimis
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best for putting dvds on a Linux box? mkv, mov, mp4, vlc? yanfaun Linux - Software 5 02-04-2012 07:16 AM
for f in *.mp4,*.mov,*.ogv ?? how can you use multiple filetypes? shell script danpaluska Programming 7 02-14-2010 09:06 AM
Converting an mov file to jpgs apolinsky Linux - Desktop 2 07-06-2008 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration