From nobody@FreeBSD.org  Sun Feb  3 16:09:23 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id B52EE674
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  3 Feb 2013 16:09:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 94CB1DFE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  3 Feb 2013 16:09:23 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r13G9MIh003058
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 3 Feb 2013 16:09:22 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r13G9Mun003057;
	Sun, 3 Feb 2013 16:09:22 GMT
	(envelope-from nobody)
Message-Id: <201302031609.r13G9Mun003057@red.freebsd.org>
Date: Sun, 3 Feb 2013 16:09:22 GMT
From: Dimitri Semitsoglou-Tsiapos <kmhzsem@lavabit.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mplayer2-2.0.20121103 cannot play .flac files.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175800
>Category:       ports
>Synopsis:       multimedia/mplayer2 2.0.20121103 cannot play .flac files.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gblach
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 03 16:10:00 UTC 2013
>Closed-Date:    Tue Feb 05 22:00:49 UTC 2013
>Last-Modified:  Tue Feb 05 22:00:49 UTC 2013
>Originator:     Dimitri Semitsoglou-Tsiapos
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD fbsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
mplayer2-2.0.20121103 is not able to play .flac files or embedded flac audio.

#mplayer -v "01 - filename.flac"
Reading config file /usr/local/etc/mplayer/mplayer.conf
: No such file or directory
get_path('') -> '/home/username/.mplayer/'
get_path('config') -> '/home/username/.mplayer/config'
Reading config file /home/username/.mplayer/config
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Athlon(tm) II X4 640 Processor (Family: 16, Model: 5, Stepping: 3)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
Compiled against libavutil version 51.73.101
Compiled against libavcodec version 54.59.100
Compiled against libavformat version 54.29.104
Compiled against libswscale version 2.1.101
get_path('codecs.conf') -> '/home/username/.mplayer/codecs.conf'
No optional codecs config file: /home/username/.mplayer/codecs.conf
No optional codecs config file: /usr/local/etc/mplayer/codecs.conf
163 audio & 362 video codecs
Using built-in default codecs.conf.
Configuration: --cc=cc --extra-cflags=-I/usr/local/include/ffmpeg1  -I/usr/local/include/portaudio2 --extra-ldflags=-L/usr/local/lib/ffmpeg1  -L/usr/local/lib/portaudio2 --mandir=/usr/local/man --disable-alsa --disable-liba52 --disable-directfb --disable-faad --disable-mng --disable-libdca --disable-xvid --disable-mpg123 --disable-musepack --disable-gif --disable-mad --disable-libdv --disable-speex --disable-jack --disable-pulse --disable-portaudio --disable-bluray --enable-dvdread --disable-smb --disable-libcdio --disable-ladspa --disable-win32dll --disable-qtx --disable-real --disable-tv-v4l1 --disable-tv-v4l2 --disable-gl --disable-xinerama --disable-vdpau --disable-rtc --disable-caca --disable-lirc --disable-joystick
CommandLine: '-v' '01 - filename.flac'
get_path('fonts') -> '/home/username/.mplayer/fonts'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/username/.mplayer/fonts'
[ass] Raster: FreeType 2.4.11
[ass] Shaper: FriBidi 0.19.2 (SIMPLE)
[ass] Initialized
get_path('fonts') -> '/home/username/.mplayer/fonts'
get_path('subfont.ttf') -> '/home/username/.mplayer/subfont.ttf'
[ass] Updating font cache
Using nanosleep() timing
get_path('input.conf') -> '/home/username/.mplayer/input.conf'
[file] File size is 27 bytes
STREAM: [file] /home/username/.mplayer/input.conf
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Parsing input config file /home/username/.mplayer/input.conf
Input config file /home/username/.mplayer/input.conf parsed: 2 binds
get_path('01 - filename.flac.conf') -> '/home/username/.mplayer/01 - filename.flac.conf'

Playing 01 - filename.flac.
get_path('sub/') -> '/home/username/.mplayer/sub/'
[file] File size is 23341933 bytes
STREAM: [file] 01 - filename.flac
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: raw FLAC
Detected file format: raw FLAC (libavformat)
[flac @ 0x8038beda0]max_analyze_duration 5000000 reached at 5015510
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 61868 (0xF1AC)
Channels: 2
Samplerate: 44100
avg byte/sec: 0
Block align: 1
bits/sample: 0
cbSize: 34
Unknown extra header dump: [10] [0] [10] [0] [0] [0] [10] [0] [30] [b1] [a] [c4] [42] [f0] [0] [b0] [f2] [f8] [96] [7d] [4e] [1a] [57] [72] [b5] [c8] [e9] [7d] [c2] [de] [51] [a9] [13] [67] 
==========================================================================
[lavf] stream 0: audio (flac), -aid 0
LAVF: 1 audio and 0 video streams found
[ass] Raster: FreeType 2.4.11
[ass] Shaper: FriBidi 0.19.2 (SIMPLE)
[ass] Initialized
get_path('fonts') -> '/home/username/.mplayer/fonts'
get_path('subfont.ttf') -> '/home/username/.mplayer/subfont.ttf'
[ass] Updating font cache
Clip info:
 ARTIST: artistname
 TITLE: filename
 ALBUM: albumname
 DATE: 2004
 track: 01
 GENRE: genrename
Load subtitles in .
get_path('sub/') -> '/home/username/.mplayer/sub/'
Opening audio decoder: [ffmpeg] libavcodec audio decoders
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
INFO: libavcodec "flac" init OK!
Unsupported sample format
Unsupported sample format
#<Few thousand lines of this message>
Unsupported sample format
Unsupported sample format
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ad_ffmpeg: initial decode failed
ADecoder init failed :(
Audio decoder init failed for codecs.conf entry "ffflac".
Opening audio decoder: [ffmpeg] libavcodec audio decoders
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
INFO: libavcodec "flac" init OK!
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
ad_ffmpeg: initial decode failed
ADecoder init failed :(
Audio decoder init failed for codecs.conf entry "lavc".
Cannot find codec for audio format 0xF1AC.
Audio: no sound
Freeing 0 unused audio chunks.
Video: no video
Freeing 0 unused video chunks.


Exiting... (End of file)
>How-To-Repeat:
Attempt to play any .flac file.
>Fix:
An mplayer2 developer informed me that releases from that timeframe contained a bug which prevented mplayer2 from playing flac without libavresample.
Although this is no longer neccessary, he suggested that it is recommended to
have it built.

A version bump should fix the issue.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gblach 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 4 10:10:44 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175800 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175800: commit references a PR
Date: Tue,  5 Feb 2013 21:56:33 +0000 (UTC)

 Author: gblach
 Date: Tue Feb  5 21:56:19 2013
 New Revision: 311735
 URL: http://svnweb.freebsd.org/changeset/ports/311735
 
 Log:
   - Update to 2.0.20130126
   - Fix flac playback
   
   PR:		ports/175800
   Approved by:	crees (mentor)
 
 Deleted:
   head/multimedia/mplayer2/files/extra-patch-base_system_log2f
   head/multimedia/mplayer2/files/patch-stream-tvi_v4l.c
 Modified:
   head/multimedia/mplayer2/Makefile
   head/multimedia/mplayer2/distinfo
 
 Modified: head/multimedia/mplayer2/Makefile
 ==============================================================================
 --- head/multimedia/mplayer2/Makefile	Tue Feb  5 21:42:24 2013	(r311734)
 +++ head/multimedia/mplayer2/Makefile	Tue Feb  5 21:56:19 2013	(r311735)
 @@ -43,7 +43,7 @@ CONFIGURE_ARGS=	--cc=${CC} \
  MAKE_ARGS+=	BINDIR=${PREFIX}/bin \
  		CONFDIR=${PREFIX}/etc/mplayer
  
 -MPLAYER2_SNAPSHOT_DATE=	2012-11-03
 +MPLAYER2_SNAPSHOT_DATE=	2013-01-26
  MPLAYER2_PORT_VERSION=	2.0.${MPLAYER2_SNAPSHOT_DATE:S/-//g}
  
  MAKE_JOBS_SAFE=	yes
 @@ -85,10 +85,6 @@ CONFLICTS=	mplayer-1.*
  BROKEN=		Does not compile on sparc64
  .endif
  
 -.if ${OSVERSION} < 802502
 -EXTRA_PATCHES+=	${FILESDIR}/extra-patch-base_system_log2f
 -.endif
 -
  .if ${OSVERSION} < 803000
  CONFIGURE_ARGS+=	--disable-ssse3
  .endif
 @@ -216,10 +212,10 @@ CONFIGURE_ARGS+=	--disable-real
  .if ${PORT_OPTIONS:MV4L}
  BUILD_DEPENDS+=		${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
  LIB_DEPENDS+=		v4l2:${PORTSDIR}/multimedia/libv4l
 -CONFIGURE_ARGS+=	--enable-tv-v4l1 --enable-tv-v4l2
 -EXTRA_LIBS+=		-lv4l1 -lv4l2
 +CONFIGURE_ARGS+=	--enable-tv-v4l2
 +EXTRA_LIBS+=		-lv4l2
  .else
 -CONFIGURE_ARGS+=	--disable-tv-v4l1 --disable-tv-v4l2
 +CONFIGURE_ARGS+=	--disable-tv-v4l2
  .endif
  
  .if defined(EXTRA_LIBS)
 
 Modified: head/multimedia/mplayer2/distinfo
 ==============================================================================
 --- head/multimedia/mplayer2/distinfo	Tue Feb  5 21:42:24 2013	(r311734)
 +++ head/multimedia/mplayer2/distinfo	Tue Feb  5 21:56:19 2013	(r311735)
 @@ -1,2 +1,2 @@
 -SHA256 (mplayer2-2.0.20121103.tar.xz) = 5d938f8068595977c6198adf21cd1b1ba924f33aa05488df1fb637ce9f8999cd
 -SIZE (mplayer2-2.0.20121103.tar.xz) = 1565152
 +SHA256 (mplayer2-2.0.20130126.tar.xz) = 2dc6f852d8fe09e90cc4d816fe91537b571132b91582b291bdaa072a67470f73
 +SIZE (mplayer2-2.0.20130126.tar.xz) = 1918172
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: gblach 
State-Changed-When: Tue Feb 5 22:00:47 UTC 2013 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175800 
>Unformatted:
