From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 1 12:16:28 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A847EBD2 for ; Fri, 1 Feb 2013 12:16:28 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5DFC2CF for ; Fri, 1 Feb 2013 12:16:27 +0000 (UTC) Received: by mail-vb0-f42.google.com with SMTP id ff1so2415564vbb.1 for ; Fri, 01 Feb 2013 04:16:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=Oxla/7xc++hHT7jRajQTaiQt81LQfnHAYWR0AsOn6Io=; b=loT+25yDwmnKMJLCUoE7m7k4vxwOaTZvcfLPDn55Gv9siNdyp+j21OegBse2m12IXs U4BQYTDc9qOUEkJ1ItlBNML6sojf14YgObM3jFCyYBPpSCxNqpZRTk1O8VBVWhnDmF6N HMy0xMkxFTABL9tg8jERNvrvJOvLlp7XIy2hfZmC9of/zwuTpmOopjebhpgwT52fAInq 79PPklldqUicExU2+bs7YpQtdqdMS/s7in9GZxZdj/vSEXqUSaJcXJYITx1PSObaXwvv P5AE5C8xo4NZMgLU1AeP8T5n9NAQNH/hRQ/4tctf9/rKB56IOmJIcxG0ZXC8N1WhbNnR kvdA== MIME-Version: 1.0 X-Received: by 10.52.96.163 with SMTP id dt3mr6131396vdb.11.1359720981321; Fri, 01 Feb 2013 04:16:21 -0800 (PST) Received: by 10.58.209.167 with HTTP; Fri, 1 Feb 2013 04:16:21 -0800 (PST) In-Reply-To: <201301270057.02317.daeron@optushome.com.au> References: <201301270057.02317.daeron@optushome.com.au> Date: Fri, 1 Feb 2013 12:16:21 +0000 Message-ID: Subject: Re: avidemux 2.6 and TS recordings From: Tom Evans To: Andrew Johnson Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 12:16:28 -0000 On Sat, Jan 26, 2013 at 1:57 PM, Andrew Johnson w= rote: > Are there any tools left in the ports for re-muxing TS recordings? > I had visions of using GOPchop to quickly edit some recordings from the= digital TV but there seems to be no tools in the FreeBSD ports to either (= quickly) re-mux TS recordings into mpeg, or to (painfully slowly) convert (= decode & encode) TS recordings into mpeg. > > ffmpeg wants to decode & encode, but it doesn't seem to honour all the = error correction options in a TS steam and has trouble keeping audio sync. > > The Avidemux portal suggests they've kept working on the TS sync issue = with the 2.6 and 2.6.1 versions but its 2.5.6 that's in the ports. What went wrong with ffmpeg? ffmpeg -i stream.ts -c:v copy -c:a copy out.mp4 If you find a sample that does not keep audio sync, the ffmpeg developers would want to see it. Bear in mind that you cannot fix audio sync issues without re-encoding the audio, eg: ffmpeg -i stream.ts -c:v copy -c:a libfaac -filter:a asyncts out.mp4 Cheers Tom