From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 11:16:01 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36ADAE32 for ; Thu, 4 Sep 2014 11:16:01 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC62218B4 for ; Thu, 4 Sep 2014 11:16:00 +0000 (UTC) Received: from r56.edvax.de (port-92-195-111-1.dynamic.qsc.de [92.195.111.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2A82D3CD54; Thu, 4 Sep 2014 13:15:51 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s84BFoxL002243; Thu, 4 Sep 2014 13:15:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 4 Sep 2014 13:15:50 +0200 From: Polytropon To: Gary Aitken Subject: Re: convert for use on youtube (was: convert .mov to .avi?) Message-Id: <20140904131550.7fd40f1e.freebsd@edvax.de> In-Reply-To: <5407FEDA.1010206@dreamchaser.org> References: <54073D3E.9080808@dreamchaser.org> <540756C3.1060600@privatdemail.net> <5407FEDA.1010206@dreamchaser.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2014 11:16:01 -0000 On Wed, 03 Sep 2014 23:55:38 -0600, Gary Aitken wrote: > > >> Can anyone suggest an easy way to convert a .mov file to .avi? I > >> don't have much experience with video and shot some with my camera > >> when on a recent trip. My wife uses windoze to burn dvds and the > >> app she has access to (windows dvd maker) doesn't seem to support > >> .mov files. > > > > > I suppose "ffmpeg -i path/video1.mov path/movie2.avi" should do it > > for a fast and simple convertion. > > Thanks all; that and some reading of the ffmpeg man page helped. > > Now I'm trying to convert to something smallish that will play well on youtube. > According to youtube's analysis, my firefox supports > "HTMLVideoElement" and "WebM VP8". > I've tried converting to > .avi, .mp4, and .webm > but whenever I try to play them via youtube, I get the garbage about my > browser not currently recognizing any of the video formats available. AVI is just a container format. Which formats (video and audio) did you put in? For example, XVid for video + MP3 for audio, or MPEG for video and AC3 for audio? With mencoder, you have control over those formats and their options (for example quality, image size, audio sampling rate and how much compression should be used). You can test with "mplayer -identify " to check what is _actually_ in a file. The web browser only supports playing video content in few formats, and usually either through a "Flash" player or WebM standard, if the required plugins, libraries and codecs have been installed. Everything else requires an external player program (even though there are browser-plugins for some players). > I've tried switching the browser between HTML5 and the default player, > but no joy there. > The browser successfully plays .mov files previously uploaded, but they > are huge and I'm trying to save on bandwidth and storage. > I believe the > uploaded .mov files were converted by youtube anyway. YouTube converts them either into "Flash" video (flv) or whatever they currently use to deliver with HTML5 (VP8?), as far as I know. > All of the generated formats play fine through vlc. That's not a problem, because vlc and mplayer play everything. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...