From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 19 10:22:14 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 334DF16A4DF for ; Wed, 19 Jul 2006 10:22:14 +0000 (UTC) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id E207043D46 for ; Wed, 19 Jul 2006 10:22:13 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 218 invoked by uid 16563); 19 Jul 2006 10:22:11 -0000 Received: from unknown (HELO df1.marelmo.com) ([194.145.135.26]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 19 Jul 2006 10:22:11 -0000 Date: Wed, 19 Jul 2006 11:20:25 +0100 From: Steve O'Hara-Smith To: freebsd-multimedia@freebsd.org Message-Id: <20060719112025.474f54aa.steve@sohara.org> In-Reply-To: <44BDF0CB.7060503@one.com.au> References: <44BD5510.5030308@one.com.au> <20060719005630.473dbd24.steve@sohara.org> <44BDF0CB.7060503@one.com.au> X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.20; i386-pc-dragonfly) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX, Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: JVC Everio Camera and DVDs X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 10:22:14 -0000 On Wed, 19 Jul 2006 18:43:55 +1000 Ray Newman wrote: > I have a problem with the term "re-multiplex"; what does this mean? An mpeg2 stream contains audio and video streams (potentially several audio streams and perhaps subtitle streams too) each stream is split into packets and these packets are interleaved (or multiplexed) in the container file. DVDs require another set of packets in addition to the audio, video and subtitle packets called navigation packets or VOBUs. Few applications provide these (you might be lucky) - mpeg2 stream files with VOBUs are usually known as VOBs (from the extension seen in DVDs). To get a VOB from a plain mpeg file it is necessary to break the file into it's component parts (demultiplex it) using mpeg2desc this can be done like this: mpeg2desc < file.mod -a 0 -o audio -v 0 -o video Which produces files audio and video. These can then be (re-)multiplexed back into a VOB with mplex -f 8 -o file.vob video audio or tcmplex-panteltje -m d -i video -0 audio -o file.vob The -f 8 (-m d) tells mplex (tcmplex-panteltje) to build an mpeg2 stream with navigation packets. You can then use dvdauthor to assemble a DVD image and growisofs to burn it. It is also possible to do the same job with a recent version of ffmpeg (more recent than 0.49-pre1) in a single command. ffmpeg -i file.mod -vcodec copy -acodec copy -target pal-dvd file.vob > Also the transcode port won't build anyway. Oh dear. Ah well mpeg2desc from dvdauthor will probably do the job. > I guess my question should be: what is wrong with the MPEG2 files from > this camera? Nothing is likely to be wrong with them but they are almost certainly not VOBs :) -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/