[issue2640] ff_fmt_convert_init_ppc not defined for powerpc only defined for altivec

2011-03-08 Thread Christian Marillat

Christian Marillat maril...@free.fr added the comment:

Thanks.


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2640



[issue2040] strange interaction of avfilter with ffmpeg multiple output stream ad different widths

2011-03-08 Thread Luca Barbato

Luca Barbato lu_z...@gentoo.org added the comment:

Sister issue being having partial transcoding of a multi video stream file
impossible

Input #0, nut, from 'out.nut':
  Metadata:
encoder : Lavf52.102.0
  Duration: 00:13:15.00, start: 0.00, bitrate: 63 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 352x288, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp2, 44100 Hz, 2 channels, s16, 64 kb/s
Stream #0.2: Video: flv, yuv420p, 35x28, 25 tbr, 25 tbn, 25 tbc

this breaks encoding:

ffmpeg -re -i out.nut out.flv -newvideo -vcodec copy
FFmpeg version git-6a7e074, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  8 2011 16:38:43 with gcc 4.5.2
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc
--enable-gpl --enable-version3 --enable-postproc --enable-avfilter
--disable-stripping --disable-debug --disable-doc --disable-vaapi
--disable-static --enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libfaac --enable-nonfree --enable-libdc1394
--disable-indev=oss --enable-x11grab --disable-outdev=oss --enable-pthreads
--enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libvpx
--enable-libopenjpeg --disable-altivec --disable-amd3dnow --disable-amd3dnowext
--cpu=core2 --enable-hardcoded-tables
  libavutil50. 39. 0 / 50. 39. 0
  libavcodec   52.113. 2 / 52.113. 2
  libavformat  52.102. 0 / 52.102. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[nut @ 0x10765b0] no index at the end
[nut @ 0x10765b0] Estimating duration from bitrate, this may be inaccurate
Input #0, nut, from 'out.nut':
  Metadata:
encoder : Lavf52.102.0
  Duration: 00:13:15.00, start: 0.00, bitrate: 63 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 352x288, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
Stream #0.2: Video: flv, yuv420p, 35x28, 25 tbr, 25 tbn, 25 tbc
File 'out.flv' already exists. Overwrite ? [y/N] y
[buffer @ 0x109f410] w:352 h:288 pixfmt:yuv420p
[scale @ 0x109f7f0] w:352 h:288 fmt:yuv420p - w:35 h:28 fmt:yuv420p
flags:0xa004
[buffer @ 0x10a28f0] w:35 h:28 pixfmt:yuv420p
Output #0, flv, to 'out.flv':
  Metadata:
encoder : Lavf52.102.0
Stream #0.0: Video: flv, yuv420p, 35x28, q=2-31, 200 kb/s, 1k tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 64 kb/s
Stream #0.2: Video: flv, yuv420p, 35x28, q=2-31, 200 kb/s, 1k tbn, 25 tbc
Stream mapping:
  Stream #0.0 - #0.0
  Stream #0.1 - #0.1
  Stream #0.2 - #0.2


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2040



[issue2040] strange interaction of avfilter with ffmpeg multiple output stream ad different widths

2011-03-08 Thread Luca Barbato

Luca Barbato lu_z...@gentoo.org added the comment:

As I said nothing, I debugged it and it's pretty much unrelated.


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2040



[issue455] Kandalu violates the GPL

2011-03-08 Thread Paolo Ceroni

Paolo Ceroni supp...@kandalu.net added the comment:

Hi Zakulec,
therefore, we can solve, or does not change anything?
We have answered all the questions and did everything possible. What we 
need to do?


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue455



[issue2651] fftruehd mixes up channels on 7.1 file.

2011-03-08 Thread shadowofdarkness

New submission from shadowofdarkness shadowofdarkn...@gmail.com:

I got a hold of a 7.1ch TrueHD channel check file from
www.demo-world.eu and when I play it using the fftruehd decoder some
channels are messed up whereas if I do a pass through it works right
which means it is in the decoder.


When decoding on my laptop the back left gets swapped with surround
back left and back right gets swapped with surround back right

When I do a hdmi passthrough by making a .spdif file with ffmpeg and
playing it with aplay all channels are correct.


The file I used is available at
http://www.demo-world.eu/trailers/high-definition-trailers.php and is
named Dolby TrueHD Channel Check (Lossless)

--
messages: 13836
priority: normal
status: new
substatus: new
title: fftruehd mixes up channels on 7.1 file.
type: bug


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2651



[issue2652] ARM optimized YUV2RGB converter?

2011-03-08 Thread Timo Juhani Lindfors

New submission from Timo Juhani Lindfors timo.lindf...@iki.fi:

When I play ogg/theora+vorbis videos with mplayer on ARM I get

[swscaler @ 0x4f0600]No accelerated colorspace conversion found from yuv420p to
rgb565le.
[swscaler @ 0x4f0600]using unscaled yuv420p - rgb565le special converter
VO: [fbdev] 240x320 = 240x320 BGR 16-bit

and indeed ff_yuv2rgb_get_func_ptr in yuv2rgb.c (git from today, 6a7e074eb98c)
does not seem to contain any ARM optimized versions.

On such ARM optimized routine seems to be available from
http://wss.co.uk/pinknoise/yuv2rgb/ -- has this been considered for inclusion in
ffmpeg at some time? If not, I hope this bug report can be used to track its
suitability for this task.

Thanks for all the hard work so far!

--
messages: 13837
priority: normal
status: new
substatus: new
title: ARM optimized YUV2RGB converter?
type: feature_request


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2652



[issue2653] Memory access errors in aac encoder

2011-03-08 Thread Gian-Carlo Pascutto

New submission from Gian-Carlo Pascutto g...@sjeng.org:

I wanted to take a look why the AAC encoder performs so bad, but I didn't get 
far:

$ gdb ./ffmpeg_g.exe
GNU gdb (GDB) 7.2
...
Reading symbols from c:\Projects\ffmpeg/./ffmpeg_g.exe...done.
(gdb) run -i c:/work/samples/after.wav after.aac
Starting program: c:\Projects\ffmpeg/./ffmpeg_g.exe -i c:/work/samples/after.wav
 after.aac
[New Thread 896.0x1010]
FFmpeg version git-f1ef2cd, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar  8 2011 22:41:07 with gcc 4.5.2
  configuration: --disable-ffprobe --disable-ffserver --disable-everything --dis
able-network --enable-ffmpeg --enable-encoder='aac,pcm_f32le,pcm_f64le,pcm_s16le
,pcm_s24le,pcm_s32le,pcm_u16le,pcm_u24le,pcm_u32le,pcm_u8,aac,aac_ltm' --enable-
parser='aac,aac_ltm,flac' --enable-muxer='adts,aiff,mp4,pcm_f32le,pcm_f64le,pcm_
s16le,pcm_s24le,pcm_s32le,pcm_u16le,pcm_u24le,pcm_u32le,pcm_u8,wav' --enable-dem
uxer='aac,pcm_f32le,pcm_f64le,pcm_s16le,pcm_s24le,pcm_s32le,pcm_u16le,pcm_u24le,
pcm_u32le,pcm_u8.flac,wav' --enable-decoder='pcm_f32le,pcm_f64le,pcm_s16le,pcm_s
24le,pcm_s32le,pcm_u16le,pcm_u24le,pcm_u32le,pcm_u8,aac,aac_ltm,flac' --enable-p
rotocol='file,pipe' --enable-memalign-hack --disable-pthreads --disable-asm --di
sable-optimizations
  libavutil50. 39. 0 / 50. 39. 0
  libavcodec   52.113. 2 / 52.113. 2
  libavformat  52.102. 0 / 52.102. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale0. 12. 0 /  0. 12. 0
[wav @ 00dea9c0] max_analyze_duration reached
Input #0, wav, from 'c:/work/samples/after.wav':
  Duration: 00:00:29.09, bitrate: 1411 kb/s
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
File 'after.aac' already exists. Overwrite ? [y/N] y
Output #0, adts, to 'after.aac':
  Metadata:
encoder : Lavf52.102.0
Stream #0.0: Audio: aac, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 - #0.0
Press [q] to stop encoding

Program received signal SIGSEGV, Segmentation fault.
0x0047d1e7 in abs_pow34_v (out=0x0, in=0x1334610, size=1024)
at libavcodec/aaccoder.c:89
89  out[i] = sqrtf(a * sqrtf(a));
(gdb) print i
$1 = 0
(gdb) bt
#0  0x0047d1e7 in abs_pow34_v (out=0x0, in=0x1334610, size=1024)
at libavcodec/aaccoder.c:89
#1  0x0047ff6a in search_for_quantizers_twoloop (avctx=0xd8fc50, s=0xda2a80,
sce=0x1333160, lambda=120) at libavcodec/aaccoder.c:741
#2  0x00464c77 in aac_encode_frame (avctx=0xd8fc50, frame=0x13dd950 Ü,
buf_size=64584, data=0x13d10f0) at libavcodec/aacenc.c:573
#3  0x004381e4 in avcodec_encode_audio (avctx=0xd8fc50, buf=0x13dd950 Ü,
buf_size=64584, samples=0x13d10f0) at libavcodec/utils.c:593
#4  0x004032e6 in do_audio_out (s=0xda1940, ost=0xda28f0, ist=0xd1d690,
buf=0x13a22d0 û\377÷\377ø\377û\377ü\377ù\377ø\377ú\377ü\377ú\377ø\377ù\377ü
\377û\377ù\377ø\377û\377û\377ú\377ø\377ù\377û\377û\377ø\377ø\377ú\377ü\377ù\377ø
\377ù\377ü\377ú\377ù\377ø\377ú\377û\377ú\377ø\377ù\377û\377ú\377ø\377ú\377ú\377ù
\377ù\377ü\377ú\377÷\377ù\377þ\377ú\377ö\377ù\377þ\377û\377÷\377ø\377ü\377û\377ù
\377ø\377ú\377ú\377û\377ú\377ù\377÷\377û\377ý\377ù\377ö\377ú\377ý\377û\377ö\377ø
\377ü\377ü\377ø\377÷\377ú\377ý\377ú\377÷\377ø\377ý\377û\377÷\377÷\377ý\377ü\377÷
\377÷\377ý\377û\377÷\377ø\377ý\377û\377..., size=4096) at ffmpeg.c:947
#5  0x00405c35 in output_packet (ist=0xd1d690, ist_index=0,
ost_table=0xd005a0, nb_ostreams=1, pkt=0x27f510) at ffmpeg.c:1659
#6  0x004096b1 in transcode (output_files=0x4f5840, nb_output_files=1,
input_files=0x4f5040, nb_input_files=1, stream_maps=0x0, nb_stream_maps=0)
at ffmpeg.c:2629
#7  0x0040dd22 in main (argc=4, argv=0xde1878) at ffmpeg.c:4360
(gdb) up
#1  0x0047ff6a in search_for_quantizers_twoloop (avctx=0xd8fc50, s=0xda2a80,
sce=0x1333160, lambda=120) at libavcodec/aaccoder.c:741
741 abs_pow34_v(s-scoefs, sce-coeffs, 1024);
(gdb) print s
$2 = (AACEncContext *) 0xda2a80
(gdb) print s-coder
Display all 13555 possibilities? (y or n)
(gdb) print s-scoefs
$3 = (float *) 0x0
(gdb)

So, the buffer that should contain the quantized spectrum coefficients is zero.
Where is it allocated? I can only find:

aacenc.c: 601:
for (j = 0; j  chans; j++) {
s-cur_channel = start_ch + j;
s-scoefs = cpe-ch[j].ret;
encode_individual_channel(avctx, s, cpe-ch[j],
cpe-common_window);
}

But this won't be reached before the search_for_quantizers runs.

This is a (completely breaking!) regression introduced by commit 2790d7. It
should probably be reverted.

--
messages: 13838
nosy: aconverse
priority: normal
status: new
substatus: new
title: Memory access errors in aac encoder
topic: avcodec
type: bug


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2653



[issue2654] qcelp 'blank frame handling'

2011-03-08 Thread Bill McGonigle

New submission from Bill McGonigle bill-roundup.ffmpeg@bfccomputing.com:

creating feature request, per response to ffmpeg-devel posting.

 ftp://upload.ffmpeg.org:/MPlayer/incoming/pinkpinkpink

 [qcelp @ 0xb523e0]Buffer is too small for the claimed bitrate.
 [qcelp @ 0xb523e0]Frame #1, IFQ: bitrate cannot be determined.
 [qcelp @ 0xb523e0]Buffer is too small for the claimed bitrate.
 [qcelp @ 0xb523e0]Frame #2, IFQ: bitrate cannot be determined.
 [qcelp @ 0xb523e0]'Blank frame handling is experimental. If you want to
 help, upload a sample of this file to
 ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel
 mailing list.

--
messages: 13841
priority: normal
status: new
substatus: new
title: qcelp 'blank frame handling'
topic: ffmpeg
type: feature_request


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2654



[issue2654] qcelp 'blank frame handling'

2011-03-08 Thread Bill McGonigle

Bill McGonigle bill-roundup.ffmpeg@bfccomputing.com added the comment:

ffmpeg -i:

FFmpeg version SVN-r24044, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jan  9 2011 18:54:37 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg
--incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man
--arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
--extra-version=rpmfusion --enable-bzlib --enable-libdc1394 --enable-libdirac
--enable-libfaac --enable-nonfree --enable-libgsm --enable-libmp3lame
--enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf
--enable-postproc --enable-pthreads --disable-static --enable-shared
--enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64
--enable-runtime-cpudetect
  libavutil 50.20. 0 / 50.20. 0
  libavcodec52.79. 1 / 52.79. 1
  libavformat   52.73. 0 / 52.73. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.20. 1 /  1.20. 1
  libswscale 0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2654