Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

convert .mov to .m4v with mac terminal

Tags:

terminal

macos

What do I need to type into the mac terminal to be able to convert my .mov files to .m4a?

like image 448
Pavan Avatar asked Oct 14 '10 11:10

Pavan


People also ask

Can I convert a MOV file to MP4 on Mac?

Change MOV to MP4 on Mac using iMovieYou can convert your MOV to MP4 on a Mac using iMovie. This is an Apple-made app for more advanced video editing. If you look in the app settings, you might not be able to intuitively find a way to convert, as just like QuickTime, iMovie only has the export option.

How do I convert MOV to MP4 media encoder?

iMovie. iMovie can be used to convert video files just like Premiere. All that you have to do is import your MOV, add it to the timeline, and export it as an MP4. Pretty much any type of video editing application can be used in this way—AVID, Final Cut, you name it.


2 Answers

With ffmpeg installed:

ffmpeg -i input.mov -acodec copy -vcodec copy output.m4v

This will perform an exact copy of both the audio and video streams into the new file.

like image 100
Paul Avatar answered Sep 28 '22 02:09

Paul


I guess I am little late in the game, but researching on the very same topic today, I found nowadays MacOS ships with avconvert:

AVCONVERT(1)              BSD General Commands Manual             AVCONVERT(1)

NAME
     avconvert -- movie conversion tool

SYNOPSIS
     avconvert [-hvq] --p <preset_name> --s <source_media> --o <output_movie>

DESCRIPTION
 avconvert can be used to compress video media to different types for sharing on the
 web or loading onto devices.

 -h       prints usage information and available presets

 -v       sets the console output to verbose

 -q       sets the console output to quiet

 -prog    shows progress during the export (default with -v)

 -p | --preset name
          converts the source media to an output file using the specified preset. Use
          --listPresets to get the full list. Common presets are:

          PresetAppleM4VCellular
          PresetAppleM4ViPod
          PresetAppleM4VWiFi
          PresetAppleM4VAppleTV
          PresetAppleM4V480pSD
          PresetAppleM4V720pHD
          PresetAppleM4V1080pHD
          PresetAppleM4A
like image 21
dariod Avatar answered Sep 28 '22 00:09

dariod