[issue2523] ffmpeg doesn't check for invalid sym values in indeo decoder

2011-01-15 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Fixed in r26360.

--
status: open - closed
substatus: reproduced - fixed


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



[issue2548] Crash in vorbis decoder

2011-01-15 Thread Carl Eugen Hoyos

New submission from Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at:

Original report:
http://code.google.com/p/chromium/issues/detail?id=68115
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/122724
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/122703

(gdb) r -i out.webm.68798.1929 -f null -
Starting program: ffmpeg_g -i out.webm.68798.1929 -f null -
[Thread debugging using libthread_db enabled]
FFmpeg version SVN-r26359, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 15 2011 11:15:45 with gcc 4.5.2
  configuration: --cc=/usr/local/gcc-4.5.2/bin/gcc
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 1 /  0.16. 1
  libavcodec52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter1.73. 1 /  1.73. 1
  libswscale 0.12. 0 /  0.12. 0
[matroska,webm @ 0x117f510] Unknown entry 0x1C53D36B
[matroska,webm @ 0x117f510] Estimating duration from bitrate, this may be 
inaccurate
Input #0, matroska,webm, from 'out.webm.68798.1929':
  Duration: 00:00:01.17, start: 0.00, bitrate: N/A
Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16
Stream #0.1: Video: vp8, yuv420p, 200x600, PAR 1:1 DAR 1:3, 25 fps, 25 tbr,
1k tbn, 25 tbc
[buffer @ 0x1217360] w:200 h:600 pixfmt:yuv420p
Output #0, null, to 'pipe:':
  Metadata:
encoder : Lavf52.93.0
Stream #0.0: Video: rawvideo, yuv420p, 200x600 [PAR 1:1 DAR 1:3], q=2-31,
200 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0.1 - #0.0
  Stream #0.0 - #0.1
Press [q] to stop encoding
[matroska,webm @ 0x117f510] Unknown entry 0x1C53D36B
frame=   30 fps=  0 q=0.0 Lsize=  -0kB time=0.58 bitrate=  -0.3kbits/s dup=0
drop=5
video:0kB audio:100kB global headers:0kB muxing overhead -100.021484%

Program received signal SIGSEGV, Segmentation fault.
0x76d754f8 in ?? () from /lib64/libc.so.6
(gdb) bt
#0  0x76d754f8 in ?? () from /lib64/libc.so.6
#1  0x76d789fc in free () from /lib64/libc.so.6
#2  0x00890861 in av_free (ptr=value optimized out) at 
libavutil/mem.c:146
#3  av_freep (ptr=value optimized out) at libavutil/mem.c:153
#4  0x0071e723 in vorbis_free (vc=0x11bc090) at 
libavcodec/vorbis_dec.c:195
#5  0x00721325 in vorbis_decode_close (avccontext=value optimized out)
at libavcodec/vorbis_dec.c:1663
#6  0x00703513 in avcodec_close (avctx=0x11834b0) at 
libavcodec/utils.c:762
#7  0x0040b247 in transcode (nb_output_files=1, nb_input_files=1,
stream_maps=0x0,
nb_stream_maps=9, input_files=0xc3bbc0, output_files=0xc3b8a0) at
ffmpeg.c:2686
#8  0x0040f91f in main (argc=value optimized out, argv=value
optimized out) at ffmpeg.c:4361

--
messages: 13439
priority: normal
status: open
substatus: open
title: Crash in vorbis decoder
topic: avcodec
type: bug


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



[issue2548] Crash in vorbis decoder

2011-01-15 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Sample uploaded to /samples/ffmpeg-bugs/roundup/issue2548

--
priority: normal - important


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



[issue2531] Lagarith solid color decoding produces green frames

2011-01-15 Thread Reimar Döffinger

Reimar Döffinger b...@reimardoeffinger.de added the comment:

Applied (and thus issue fixed) in SVN r26363.

--
status: open - closed
substatus: reproduced - fixed


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



[issue2547] H.264 decoder x86 asm bug

2011-01-15 Thread Vitor

Vitor vitor1...@gmail.com added the comment:

Reproduced and regressions are important. Also attached a cut of this file that
is small enough to be suitable for fate. The output of ffmpeg -i a.mkv -f
framecrc - differs between r25108 and r26168.
File 'a.mkv' not attached - you can download it from 
https://roundup.ffmpeg.org/file1308.

--
priority: normal - important
status: new - open
substatus: new - reproduced


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



[issue2549] something is wrong with transcode of qt to avi

2011-01-15 Thread ami_stuff

New submission from ami_stuff ami_st...@o2.pl:

it's painfully slow and the output avi file have insane big size

this happens for most of the codecs I have tested, here is a qt cinepak as an
axample

C:\ffmpeg -i C:\QT-Cinepak.mov -t 1 -an -vcodec copy C:\QT-Cinepak.avi
FFmpeg version SVN-r26325, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 13 2011 04:13:55 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libvorb
is --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg
 --enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb
--enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect -
-enable-libxvid --enable-libx264 --enable-librtmp --extra-libs='-lrtmp -lpolarss
l -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisynth --enable-w32threads --
cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack

  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 1 /  0.16. 1
  libavcodec52.108. 0 / 52.108. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter1.73. 1 /  1.73. 1
  libswscale 0.12. 0 /  0.12. 0

Seems stream 1 codec frame rate differs from container frame rate: 100.00 (1
00/1) - 24.00 (100/41667)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\QT-Cinepak.mov':
  Metadata:
creation_time   : 2002-10-02 22:28:55
  Duration: 00:00:05.95, start: 0.00, bitrate: 783 kb/s
Stream #0.0(eng): Audio: adpcm_ima_qt, 11025 Hz, 2 channels, s16
Metadata:
  creation_time   : 2002-10-02 22:28:55
Stream #0.1(eng): Video: cinepak, yuv420p, 192x128, 687 kb/s, 24 fps, 24 tbr
, 1000k tbn, 1000k tbc
Metadata:
  creation_time   : 2002-10-02 22:28:55
Output #0, avi, to 'C:\QT-Cinepak.avi':
  Metadata:
creation_time   : 2002-10-02 22:28:55
ISFT: Lavf52.92.0
Stream #0.0(eng): Video: cvid / 0x64697663, yuv420p, 192x128, q=2-31, 687 kb
/s, 1000k tbn, 1000k tbc
Metadata:
  creation_time   : 2002-10-02 22:28:55
Stream mapping:
  Stream #0.1 - #0.0
Press [q] to stop encoding
frame=   24 fps=  8 q=-1.0 Lsize=   22548kB time=0.96 bitrate=192739.6kbits/s

video:81kB audio:0kB global headers:0kB muxing overhead 27746.017656%
File 'QT-Cinepak.mov' not attached - you can download it from 
https://roundup.ffmpeg.org/file1309.

--
files: QT-Cinepak.mov
messages: 13443
priority: normal
status: new
substatus: new
title: something is wrong with transcode of qt to avi
type: bug


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



[issue2550] Further crash in vorbis decoder

2011-01-15 Thread Carl Eugen Hoyos

New submission from Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at:

(related to issue 2548)
Original report:
http://code.google.com/p/chromium/issues/detail?id=68115
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/122724
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/122703
(Fixed by the part of the patch not applied in r26365.)

(gdb) r -i out.webm.139771.2965 -f null -
Starting program: ffmpeg_g -i out.webm.139771.2965 -f null -
[Thread debugging using libthread_db enabled]
FFmpeg version SVN-r26363, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 15 2011 13:55:53 with gcc 4.5.2
  configuration: --cc=/usr/local/gcc-4.5.2/bin/gcc
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 1 /  0.16. 1
  libavcodec52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter1.73. 1 /  1.73. 1
  libswscale 0.12. 0 /  0.12. 0
[matroska,webm @ 0x117f510] Invalid track number 2050
[matroska,webm @ 0x117f510] Invalid stream 2050 or size 18378
[matroska,webm @ 0x117f510] Estimating duration from bitrate, this may be 
inaccurate
Input #0, matroska,webm, from 'out.webm.139771.2965':
  Duration: 00:00:01.17, start: 0.00, bitrate: N/A
Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16
Stream #0.1: Video: vp8, yuv420p, 200x600, PAR 1:1 DAR 1:3, 25 fps, 25 tbr,
1k tbn, 25 tbc
[buffer @ 0x1215ac0] w:200 h:600 pixfmt:yuv420p
Output #0, null, to 'pipe:':
  Metadata:
encoder : Lavf52.93.0
Stream #0.0: Video: rawvideo, yuv420p, 200x600 [PAR 1:1 DAR 1:3], q=2-31,
200 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0.1 - #0.0
  Stream #0.0 - #0.1
Press [q] to stop encoding
[vp8 @ 0x11862d0] Invalid start code 0xde019d
Error while decoding stream #0.1
[vp8 @ 0x11862d0] Discarding interframe without a prior keyframe!
Error while decoding stream #0.1
Error while decoding stream #0.1s

Program received signal SIGSEGV, Segmentation fault.
av_interleaved_write_frame (s=0x11c0900, pkt=0x7fffcc10) at
libavformat/utils.c:3062
3062if(st-codec-codec_type == AVMEDIA_TYPE_AUDIO  pkt-size==0)
(gdb) bt
#0  av_interleaved_write_frame (s=0x11c0900, pkt=0x7fffcc10) at
libavformat/utils.c:3062
#1  0x00405f2d in write_frame (s=0x11c0900, pkt=0x7fffcc10,
avctx=0x11bd950, bsfc=0x0) at ffmpeg.c:760
#2  0x00408060 in do_audio_out (size=4096, buf=value optimized out,
ist=0x1215a20, ost=0x11a88a0, s=0x11c0900) at ffmpeg.c:1007
#3  output_packet (size=4096, buf=value optimized out, ist=0x1215a20,
ost=0x11a88a0, s=0x11c0900) at ffmpeg.c:1667
#4  0x0040b08c in transcode (nb_output_files=1, nb_input_files=1,
stream_maps=0x0, nb_stream_maps=0, input_files=0xc3bbc0, output_files=0xc3b8a0)
at ffmpeg.c:2636
#5  0x0040f91f in main (argc=value optimized out, argv=value
optimized out) at ffmpeg.c:4361
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x4afc49 to 0x4afc89:
0x004afc49: (bad)
0x004afc4a: test   %al,(%rax)
0x004afc4c: add%al,(%rax)
0x004afc4e: add%al,(%rax)
0x004afc50 av_interleaved_write_frame+0:  push   %r13
0x004afc52 av_interleaved_write_frame+2:  push   %r12
0x004afc54 av_interleaved_write_frame+4:  mov%rsi,%r12
0x004afc57 av_interleaved_write_frame+7:  push   %rbp
0x004afc58 av_interleaved_write_frame+8:  push   %rbx
0x004afc59 av_interleaved_write_frame+9:  mov%rdi,%rbx
0x004afc5c av_interleaved_write_frame+12: sub$0x58,%rsp
0x004afc60 av_interleaved_write_frame+16: movslq 0x1c(%rsi),%rax
0x004afc64 av_interleaved_write_frame+20: mov   
0x30(%rdi,%rax,8),%rsi
0x004afc69 av_interleaved_write_frame+25: mov0x8(%rsi),%rax
0x004afc6d av_interleaved_write_frame+29: cmpl   $0x1,0x108(%rax)
0x004afc74 av_interleaved_write_frame+36: je 0x4afd50
av_interleaved_write_frame+256
0x004afc7a av_interleaved_write_frame+42: mov%r12,%rdx
0x004afc7d av_interleaved_write_frame+45: mov%rbx,%rdi
0x004afc80 av_interleaved_write_frame+48: callq  0x4a7750
compute_pkt_fields2
0x004afc85 av_interleaved_write_frame+53: test   %eax,%eax
0x004afc87 av_interleaved_write_frame+55: js 0x4afd80
av_interleaved_write_frame+304
End of assembler dump.
(gdb) info registers
rax0x1  1
rbx0x11c090018614528
rcx0x0  0
rdx0x11bd95018602320
rsi0x41004100   4683743613555834880
rdi0x11c090018614528
rbp0x0  0x0
rsp0x7fffc730   0x7fffc730
r8 0xc32540 12789056
r9 0xfff0   -16
r100x1  1
r110x1000   4096
r120x7fffcc10   140737488342032

[issue2550] Further crash in vorbis decoder

2011-01-15 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Sample uploaded to /samples/ffmpeg-bugs/roundup/issue2550

--
priority: normal - important


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



[issue2548] Crash in vorbis decoder

2011-01-15 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Fixed for mentioned sample in r26365.
Issue 2550 contains the remaining part of the original issue that is not yet
fixed in svn.

--
status: open - closed
substatus: open - fixed


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



[issue2543] wmapro: unsupported channel transform type

2011-01-15 Thread Sascha Sommer

Sascha Sommer saschasom...@freenet.de added the comment:

In revision 26367 the unsupported channel transform type and frame[400] would
have to skip 34587 bits messages are no longer printed.

Now [wmapro @ 0x8a42cc0]Packet loss detected! seq 9 vs f
is printed instead as the file seems to miss a few wma packets.

--
status: open - closed
substatus: open - fixed


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



[issue2465] streamid does not work with newaudio, newvideo, newsubtitle

2011-01-15 Thread scheutzo

scheutzo mike.scheut...@alcatel-lucent.com added the comment:

A patch to fix this bug is attached (streamid_fix_v1). ffmpeg behavior is
changed so that user-specified streamid values apply to all following output
files on the command line (rather than just the next output file.)


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


streamid_fix_v1.patch
Description: Binary data


[issue2550] Further crash in vorbis decoder

2011-01-15 Thread Michael Niedermayer

Michael Niedermayer michae...@gmx.at added the comment:

need valgrind output

[...]
-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle


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



[issue2550] Further crash in vorbis decoder

2011-01-15 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

==15670== Memcheck, a memory error detector
==15670== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==15670== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==15670== Command: ffmpeg_g -i out.webm.139771.2965 -f null -
==15670==
FFmpeg version SVN-r26367, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 15 2011 18:11:40 with gcc 4.5.2
  configuration: --cc='/usr/local/gcc-4.5.2/bin/gcc -m32'
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 1 /  0.16. 1
  libavcodec52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter1.73. 1 /  1.73. 1
  libswscale 0.12. 0 /  0.12. 0
[matroska,webm @ 0x7bd97b0] Invalid track number 2050
[matroska,webm @ 0x7bd97b0] Invalid stream 2050 or size 18378
[matroska,webm @ 0x7bd97b0] Estimating duration from bitrate, this may be 
inaccurate
Input #0, matroska,webm, from 'out.webm.139771.2965':
  Duration: 00:00:01.17, start: 0.00, bitrate: N/A
Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16
Stream #0.1: Video: vp8, yuv420p, 200x600, PAR 1:1 DAR 1:3, 25 fps, 25 tbr,
1k tbn, 25 tbc
[buffer @ 0x7e255b0] w:200 h:600 pixfmt:yuv420p
Output #0, null, to 'pipe:':
  Metadata:
encoder : Lavf52.93.0
Stream #0.0: Video: rawvideo, yuv420p, 200x600 [PAR 1:1 DAR 1:3], q=2-31,
200 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0.1 - #0.0
  Stream #0.0 - #0.1
Press [q] to stop encoding
[vp8 @ 0x7bf16d0] Invalid start code 0xde019d
Error while decoding stream #0.1
==15670== Invalid read of size 4
==15670==at 0x83860F9: vorbis_decode_frame (get_bits.h:609)
==15670==  Address 0x7d8c6e8 is 56 bytes inside a block of size 59 alloc'd
==15670==at 0x78B9E9E: memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x78B9EFB: posix_memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x84FD9D0: av_malloc (mem.c:83)
==15670==
==15670== Invalid read of size 4
==15670==at 0x8385EB9: vorbis_decode_frame (get_bits.h:609)
==15670==  Address 0x7d8c6e8 is 56 bytes inside a block of size 59 alloc'd
==15670==at 0x78B9E9E: memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x78B9EFB: posix_memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x84FD9D0: av_malloc (mem.c:83)
==15670==
==15670== Invalid read of size 4
==15670==at 0x838623F: vorbis_decode_frame (get_bits.h:609)
==15670==  Address 0x7d8c6e9 is 57 bytes inside a block of size 59 alloc'd
==15670==at 0x78B9E9E: memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x78B9EFB: posix_memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x84FD9D0: av_malloc (mem.c:83)
==15670==
[vp8 @ 0x7bf16d0] Discarding interframe without a prior keyframe!
Error while decoding stream #0.1
==15670== Invalid read of size 4
==15670==at 0x8386140: vorbis_decode_frame (get_bits.h:611)
==15670==  Address 0x7d8cb83 is 3 bytes inside a block of size 32 free'd
==15670==at 0x78BAD82: realloc (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x808178E: ff_dynarray_add (cutils.c:38)
==15670==
==15670== Invalid read of size 4
==15670==at 0x83860CD: vorbis_decode_frame (vorbis_dec.c:1370)
==15670==  Address 0x7ed9620 is 0 bytes after a block of size 8,192 alloc'd
==15670==at 0x78B9E9E: memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x78B9EFB: posix_memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x84FD9D0: av_malloc (mem.c:83)
==15670==
==15670== Invalid write of size 4
==15670==at 0x83860CF: vorbis_decode_frame (vorbis_dec.c:1370)
==15670==  Address 0x7ed9620 is 0 bytes after a block of size 8,192 alloc'd
==15670==at 0x78B9E9E: memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x78B9EFB: posix_memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x84FD9D0: av_malloc (mem.c:83)
==15670==
Error while decoding stream #0.1
==15670== Invalid read of size 4
==15670==at 0x8385F22: vorbis_decode_frame (vorbis_dec.c:1385)
==15670==  Address 0x7ed9620 is 0 bytes after a block of size 8,192 alloc'd
==15670==at 0x78B9E9E: memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x78B9EFB: posix_memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x84FD9D0: av_malloc (mem.c:83)
==15670==
==15670== Invalid write of size 4
==15670==at 0x8385F24: vorbis_decode_frame (vorbis_dec.c:1385)
==15670==  Address 0x7ed9620 is 0 bytes after a block of size 8,192 alloc'd
==15670==at 0x78B9E9E: memalign (in
/usr/lib64/valgrind/vgpreload_memcheck-x86-linux.so)
==15670==by 0x78B9EFB: 

[issue1017] FFplay don't open SDL window with -nodisp option

2011-01-15 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

Implemented by Stefano in r26371.

--
status: open - closed
substatus: open - implemented


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



[issue2551] DTS reencode to AAC 2ch/AC3 6ch

2011-01-15 Thread mt

New submission from mt m...@nef.wh.uni-dortmund.de:

When I try to reencode some DTS audio track first to AAC 2 channel and 
AC3 6 channel, I get an error Resampling with input channels greater 
than 2 unsupported. Can not resample 6 channels @ 48000 Hz to 2 channels 
@ 48000 Hz.
First AC3 6 channel and then AAC 2 channel works.
AFAIK some devices like AppleTV require the AAC track first.

ffmpeg -i input.mkv -y -map 0:0 -vcodec copy -map 0:1 -acodec aac -ab 
128k -ac 2 -strict experimental output.m4v -map 0:1 -acodec ac3 -ab 448k 
-ac 6 -newaudio
produces the error.

ffmpeg -i input.mkv -y -map 0:0 -vcodec copy -map 0:1 -acodec ac3 -ab 
448k -ac 6 output.m2v -map 0:1 -acodec aac -ab 128k -ac 2 -strict 
experimental -newaudio
works.

--
messages: 13452
priority: normal
status: new
substatus: new
title: DTS reencode to AAC 2ch/AC3 6ch
type: bug


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



[issue2547] H.264 decoder x86 asm bug

2011-01-15 Thread Ronald S. Bultje

Ronald S. Bultje rsbul...@gmail.com added the comment:

The problem is in 8x8 predict functions (16x16 are fine), working on a fix 
now...


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



[issue2551] DTS reencode to AAC 2ch/AC3 6ch

2011-01-15 Thread Carl Eugen Hoyos

Carl Eugen Hoyos ceho...@rainbow.studorg.tuwien.ac.at added the comment:

You can either wait until issue 185 is fixed or just use an additional call to
ffmpeg to encode audio prior to encoding video and muxing.

(invalid because needed information is missing, it is also possible that this
can be fixed by using -ac differently)

--
status: new - closed
substatus: new - invalid


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



[issue2547] H.264 decoder x86 asm bug

2011-01-15 Thread Ronald S. Bultje

Ronald S. Bultje rsbul...@gmail.com added the comment:

I was wrong, it was the 16x16, there was an overflow in one of the 
functions. Attached patch fixes it. I've rearranged the calls a little so 
that it hopefully doesn't get slower. I haven't benchmarked the change, 
but effect should be minimal (if any).


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2547
Index: libavcodec/x86/h264_intrapred.asm
===
--- libavcodec/x86/h264_intrapred.asm   (revision 26343)
+++ libavcodec/x86/h264_intrapred.asm   (working copy)
@@ -344,28 +344,6 @@
 %endif
 paddwm0, m1   ; sum of H coefficients
 
-%ifidn %3, h264
-pmullw   m0, [pw_5]
-paddwm0, [pw_32]
-psrawm0, 6
-%elifidn %3, rv40
-pmullw   m0, [pw_5]
-psrawm0, 6
-%elifidn %3, svq3
-movdr3d, m0
-movsxr3, r3w
-test r3, r3
-lea  r4, [r3+3]
-cmovsr3, r4
-sar  r3, 2   ; H/4
-lea  r3, [r3*5]  ; 5*(H/4)
-test r3, r3
-lea  r4, [r3+15]
-cmovsr3, r4
-sar  r3, 4   ; (5*(H/4))/16
-movd m0, r3d
-%endif
-
 lea  r4, [r0+r2*8-1]
 lea  r3, [r0+r2*4-1]
 add  r4, r2
@@ -468,8 +446,30 @@
 movzxr3, byte [r3+r2*2   ]
 lea  r3, [r3+r4+1]
 shl  r3, 4
+
 movdr1d, m0
 movsx   r1d, r1w
+%ifnidn %3, svq3
+%ifidn %3, h264
+lea r1d, [r1d*5+32]
+%else ; rv40
+lea r1d, [r1d*5]
+%endif
+sar r1d, 6
+movd m0, r1d
+%else ; svq3
+test r1, r1
+lea  r4, [r1+3]
+cmovsr1, r4
+sar  r1, 2   ; H/4
+lea  r1, [r1*5]  ; 5*(H/4)
+test r1, r1
+lea  r4, [r1+15]
+cmovsr1, r4
+sar  r1, 4   ; (5*(H/4))/16
+movd m0, r1d
+%endif
+
 add r1d, r5d
 add r3d, r1d
 shl r1d, 3


[issue421] Support for WMA lossless

2011-01-15 Thread Dennis

Dennis dfrati...@hotmail.com added the comment:

Attached is a sample (32 seconds) of WMA Lossless 9.2:
Quality 100, 96KHz, 2 channel, 24-bit
File '25 - Preview 1.wma' not attached - you can download it from 
https://roundup.ffmpeg.org/file1312.


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



[issue2547] H.264 decoder x86 asm bug

2011-01-15 Thread Ronald S. Bultje

Ronald S. Bultje rsbul...@gmail.com added the comment:

Fixed in r26381.

--
status: open - closed
substatus: reproduced - fixed


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



[issue2547] H.264 decoder x86 asm bug

2011-01-15 Thread Rodeo

Rodeo tdskywal...@gmail.com added the comment:

That patch works for me too (FWIW). Thanks!


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



[issue2552] Unable to play some applehttp streams

2011-01-15 Thread Kyle

New submission from Kyle kyl...@aol.com:

Some applehttp streams cannot be recieved with ffmpeg while my iPod Touch can
play them fine.

The url:
http://olga.tc2.triple-it.nl/tiss/httpstreaming/playlist.m3u8?resource=npo_3fm_vsr_3g.sdp

ffmpeg -i
http://olga.tc2.triple-it.nl/tiss/httpstreaming/playlist.m3u8?resource=npo_3fm_vsr_3g.sdp
FFmpeg version SVN-r26380, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 15 2011 16:24:54 with gcc 4.4.5
  configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree
--enable-shared --enable-postproc --enable-libx264 --enable-frei0r
--enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libdc1394 --enable-libmp3lame --enable-libtheora --enable-libopenjpeg
--enable-libdirac --enable-libvpx --enable-libgsm --enable-libschroedinger
--enable-libspeex --enable-libvorbis --enable-libxvid --enable-libfaac
--cpu=amdfam10 --arch=x86_64 --enable-x11grab --enable-libxavs --enable-libnut
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 1 /  0.16. 1
  libavcodec52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter1.74. 0 /  1.74. 0
  libswscale 0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
http://olga.tc2.triple-it.nl/tiss/httpstreaming/playlist.m3u8?resource=npo_3fm_vsr_3g.sdp:
Input/output error

--
messages: 13459
priority: normal
status: new
substatus: new
title: Unable to play some applehttp streams
type: bug


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



[issue2540] yadif results in ripples - parity problem?

2011-01-15 Thread Baptiste Coudurier

Baptiste Coudurier baptiste.coudur...@gmail.com added the comment:

-vf scale must be used instead of -s

--
status: open - closed
substatus: needs_more_info - invalid


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