From owner-freebsd-multimedia@FreeBSD.ORG Tue Dec 11 14:02:55 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68CD516A417 for ; Tue, 11 Dec 2007 14:02:55 +0000 (UTC) (envelope-from heikorecktenwald@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id E049A13C442 for ; Tue, 11 Dec 2007 14:02:54 +0000 (UTC) (envelope-from heikorecktenwald@googlemail.com) Received: by nf-out-0910.google.com with SMTP id b2so1503388nfb for ; Tue, 11 Dec 2007 06:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=oL3Idd9CDcnQaOCtHd7za0nLocD6jpX4jjb4E1nBPbo=; b=EW5mY9O7nKpV1xrFmoIkor8IffaDXHaS9nH5+K79cRYaiTxybbT9RvDp9Xl1Ue2F9oUQxeWTg9Kaw1qjvZmxLRDEZ6I5zzgXiQvpd2uNIgjTeOn91BPC6pdLajvr2puNE3XrqSMDTPw4sNWRKCx7xnn0wclLeY0uhVoOxzvk5Gk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=Ul3o+QeEkCaBBInbRP4Ggag59RESB/GbjckJlbsshoauFZ4MHMOEgHplHuFWFr/VplIio3sCo3hlTtXjv0uP2BQXlrg1kZJTgq8A20ZLktYgD24xg4VsqVNkyxWGJxDtGuMdl7sriylmKttg1YkHuDckubaMGIHDGI05KdJtCNI= Received: by 10.86.51.2 with SMTP id y2mr6721512fgy.1197380193986; Tue, 11 Dec 2007 05:36:33 -0800 (PST) Received: from ?192.168.2.40? ( [84.186.85.140]) by mx.google.com with ESMTPS id e20sm870765fga.2007.12.11.05.36.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Dec 2007 05:36:32 -0800 (PST) Message-ID: <475E91AF.7030003@privacy.net> Date: Tue, 11 Dec 2007 14:33:35 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <4753F0F4.6040203@startatom.ru> <4755E395.2030408@tu-cottbus.de> In-Reply-To: <4755E395.2030408@tu-cottbus.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Heiko Recktenwald Subject: Re: AMR (3gpp audio) codec patch for multimedia/ffmpeg, multimedia/mpeg4ip 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: Tue, 11 Dec 2007 14:02:55 -0000 HeikoRecktenwald wrote: > Jeremy Messenger wrote: >> On Mon, 03 Dec 2007 06:05:08 -0600, alexander lunyov >> wrote: >> >>> Hello. >>> >>> multimedia/ffmpeg port does not include support for AMR audio codec >>> which is used in 3gpp video format, so here's the patch for Makefile. It >>> uses audio/libamrnb and audio/libamrwb ports. >> >> Please create a new PR with patch, that way we don't forget and lose >> this email during the freeze. Thanks! > > Does work with multimedia/mpeg4ip's mp4player too! > > mp4player bla.3gp did not work, the extension 3gp is probably not > hardcoded yet, This is another problem, the last output of mp4player before the loading stopped, in case somebody is interested: <...> 23:44:03.939-audiobuf-7: sample diff is 160 1600 23:44:03.940-audiobuf-7: freq_ts 320 next 160 23:44:03.942-audiobuf-6: Inserting 320 silence bytes at 20 (160) 23:44:03.942-audiobuf-7: jitter calc start 0 now 320 diff 320 23:44:03.942-audiobuf-7: ts start 20 now 0 diff 20 23:44:03.942-audiobuf-7: calc diff 40 add -20 23:44:03.942-audiobuf-7: resync - freq ts 320 should be 480 23:44:03.942-audiobuf-7: sample diff is 160 1600 23:44:03.942-audiobuf-7: freq_ts 640 next 480 23:44:03.942-audiobuf-6: Inserting 320 silence bytes at 40 (480) 23:44:03.942-audiobuf-7: jitter calc start 320 now 640 diff 320 23:44:03.942-audiobuf-7: ts start 40 now 20 diff 20 23:44:03.942-audiobuf-7: calc diff 40 add -20 23:44:03.943-audiosdl-7: Sample size is 256 23:44:03.943-audiosdl-6: requested f 8000 chan 1 format 8010 samples 1024 23:44:03.958-audiosdl-6: got f 8000 chan 1 format 8010 samples 1024 size 2048 ds 23:44:03.958-audiosdl-5: Using delay measurement from SDL 23:44:03.958-videosync-7: initializing with video perist of 0x80c8680 23:44:03.958-videosync-6: aspect ratio 1.09091 157.091 176 144 23:44:03.958-videosync-3: aspect ratio width less than orig 23:44:03.958-avsync-6: sync changed state Init to Wait Sync 23:44:03.958-avsync-3: Sync thread received message 12 H. > but mp4player rtsp://bla/bla.3gp is ok.