2010-10-14 5 views

Antwort

30

Mit ffmpeg installiert:

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

Dies wird eine exakte Kopie sowohl der Audio- und Video-Streams in die neue Datei auszuführen.

+0

Wie installiere ich ffmpeg? Ich habe die Dateien heruntergeladen, aber es gibt keine Installation. Es ist nur Bibliotheken für Entwickler – Pavan

+11

Die einfachste Möglichkeit ist, Homebrew (http://mxcl.github.com/homebrew/) installieren dann von der Befehlszeile, 'brew install ffmpeg' – Paul

+1

oder Sie können von Port installieren: $ port install ffmpeg –

7

Werfen Sie einen Blick auf ffmpeg:

http://ffmpeg.org/

+0

groß hatte ich einen Blick auf sie. Danke. Irgendein Code, den Sie posten konnten, also kann ich das in das Terminal eintippen und weg feuern? danke – Pavan

1

Ich glaube, ich bin etwas im Spiel, aber heute noch am gleichen Thema forschen, fand ich heute MacOS Schiffe mit 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 
Verwandte Themen