• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Convert .mov to .mp4 (other?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert .mov to .mp4 (other?)


  • Subject: Re: Convert .mov to .mp4 (other?)
  • From: James Yost <email@hidden>
  • Date: Wed, 23 Dec 2015 21:29:50 +0000
  • Thread-topic: Convert .mov to .mp4 (other?)

You might try avconvert from within Automator. Sal at macosxautomation has some tutorials on the site:

http://macosxautomation.com/automator/

The manual page for avconvert:

NAME

avconvert — movie conversion tool

SYNOPSIS

avconvert [ −hvq] −−preset <preset_name> −−source <source_media> −−output <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) −−preset name

Mac OS X

December 14, 2011 1

−−source file

−−output file

−−listPresets

converts the source media to an output file using the specified preset. Common presets are:

PresetAppleM4A PresetAppleM4VCellular PresetAppleM4ViPod PresetAppleM4VWiFi PresetAppleM4VAppleTV PresetAppleM4V480pSD PresetAppleM4V720pHD

is the source media file
is the output movie 
file
lists all of the presets avconvert supports

−−listTracks lists the available tracks in the source media. Must be used with the source flag

OPTIONS

Optional flags to configure the audio export settings

−adr number −af fourCC −sr number −cc number

a limit value for the data rate for the audio track in bits per second sets the format of the audio output using a fourCC eg. aac
con
figures the sample rate of the output in Hertz. eg. 44100
is the channel count of the output eg. 1 (for mono) 2 (stereo) 4 (quad)

Optional flags to configure the video export settings

−vdr number −th number −tw number −vc fourCC −fr number

a limit value for the video data rate in bits per second
sets the height of the output video in pixels
sets the width of the output video in pixels
sets the format of the video output using a fourCC eg. avc1 sets the frame rate of the output video in frames per second

AVCONVERT (1)

BSD General Commands Manual AVCONVERT (1)

−kr number −fr yes | no

specifies how often keyframes appear in the output video

sets whether or not to enable frame reordering (b-frames) Optional flags configuring track and metadata output

−ot name

−md file EXAMPLES

omits the listed track type from the exported movie Allowable track types are:

videoTrack audioTrack subtitleTrack chapterTrack thumbnailTrack closedcaptionTrack textTrack

sets the file from which the metadata for the export is found if that is different from the source movie

avconvert --listPresets
Lists the available presets that can be used for export

avconvert --preset AppleM4ViPod --source sample_movie.mov --output ipod_movie.m4v Exports the source movie "sample_movie.mov" to "ipod_movie.m4v" using the iPod encoding preset

avconvert --preset AppleM4VAppleTV --source sample_movie.mov --output appletv_movie.m4v -adr 128000 -sr 441000

Overrides the AppleTV defaults for audio data rate and sample rate in the output movie

avconvert --preset AppleM4VAppleTV --source sample_movie.mov --output appletv_movie.m4v -ot audioTrack

Omits the audio track from the output file "appletv_movie.m4v"

HISTORY

avconvert command first appeared in Mac OS X 10.7.

Mac OS X December 14, 2011 2 


J


On Dec 23, 2015, at 8:11 AM, Rick Scully <email@hidden> wrote:

Thanks, I will investigate those.  What I attempted -- and so far
appears to be working -- is:

Created a calendar alarm and...

1. Get specified items (Finder) - select the .mov created by EvoCam
2. Encode Media (480p/greater compatibility) - saves as .m4v
3. Synchronize (using Transmit) - uploads to my server
4. Get specified items (Finder) - find the m4v created above
5. Move Finder Items - move the m4v file to an archive so the link on
the website is always the same file name.

This worked viewing the movie on my Windows machine in both Firefox
and Chrome.  Goign to keep testing.

I will continue to monitor these replies too.

-Rick

On Wed, Dec 23, 2015 at 10:38 AM, Thomas Logan <email@hidden> wrote:
ffmpeg is the command line executable for this task.

This is my favorite Python scripting library that used ffmpeg under the hood.
http://zulko.github.io/moviepy/



On Dec 23, 2015, at 10:04 AM, Rick Scully <email@hidden> wrote:

Hi All

I have a webcam that uses EvoCam to stitch together still images (no
audio) and creates a .mov file each day.  Currently I use EvoCam to
upload that .mov each day and make it accessible on the web using
<video> tags.  Problem is that on some computers and browsers the
video isn't visible.  Perhaps due to plugin, etc.  I want to make the
daily videos as accessible as possible, and am wondering how to do so.
Perhaps there was a way to convert the .mov to a more accessible
format (mp4?).

I thought I could run a calendar workflow in Automator to do the
conversion each day and then upload using Transmit sync automator
library feature, but I am not sure how to do the conversion part -- or
if it is possible.

Or perhaps there are better ways to approach this?

Thanks
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Convert .mov to .mp4 (other?) (From: Rick Scully <email@hidden>)
 >Re: Convert .mov to .mp4 (other?) (From: Rick Scully <email@hidden>)

  • Prev by Date: Re: Convert .mov to .mp4 (other?)
  • Previous by thread: Re: Convert .mov to .mp4 (other?)
  • Index(es):
    • Date
    • Thread