[issue2455] ffplay does not like ac3 in avi 384k

2011-01-01 Thread Selur

Selur 4se...@gmail.com added the comment:

Works here too! Thanks!


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



[issue2470] ffmpeg crashes on y4m with invalid header

2011-01-01 Thread Carl Eugen Hoyos

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

Please consider sending patches to ffmpeg-devel, they get more attention there.

--
status: new - open
substatus: new - open
type: bug - patch


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



[issue2469] Building with --disable-everything --enable-demuxer=avi fails

2011-01-01 Thread Carl Eugen Hoyos

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

Fixed by Peter Ross in r26182.

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


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



[issue2458] Gygan contains an extreme number of license violations

2011-01-01 Thread Vitaly

Vitaly vit...@gygan.com added the comment:

Hey Guys,

I'm going to be the Gygan contact for this issue.

My main developer is on vacation, but he's back this week.  I'm going to 
sit down with him and go over everything.

I found the FFmpeg license compliance list at 
http://www.ffmpeg.org/legal.html and we're going to work towards 
compliance.

I'll post back in a couple of days.

-Vitaly


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



[issue2458] Gygan contains an extreme number of license violations

2011-01-01 Thread Ronald S. Bultje

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

Hi Vitaly,

if your developer or yourself need legal guidance, I can also put you in 
touch with our lawyers who commonly assist in these cases. Let me know 
if you need such help.

Thanks for your cooperation!

Ronald


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



[issue2471] ffmpeg crashes on mkv files with invalid time stamps

2011-01-01 Thread Daniel Kang

New submission from Daniel Kang daniel.d.k...@gmail.com:

ffmpeg crashes on mkv files with invalid timestamps with the arguments ./ffmpeg
-i ../fuzzed.mkv del.mkv. The error is Floating point exception. This occurs
because a division by zero when the timestamp is invalid. The file was generated
with zzuf. 

I have attached a fix which does a sanity check on the timestamp. I will send
the patch to the ffmpeg-devel mailing list for comments.

gdb run:
(gdb) r -i ../fuzzed.mkv del.mkv
Starting program: ffmpeg/ffmpeg_g -i ../fuzzed.mkv del.mkv
[Thread debugging using libthread_db enabled]
FFmpeg version git-5414216, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  1 2011 14:05:31 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.101. 0 / 52.101. 0
  libavformat   52.91. 0 / 52.91. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbe90] time_base.den==0
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbe90] time_base.den==0
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbe90] time_base.den==0
[mpeg4 @ 0x11fbe90] header damaged
[mpeg4 @ 0x11fbe90] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbe90] my guess is 16 bits ;)
[mpeg4 @ 0x11fbe90] Error, header damaged or not MPEG4 header (f_code=0)
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbe90] time_base.den==0
[mpeg4 @ 0x11fbe90] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbe90] my guess is 16 bits ;)
[mpeg4 @ 0x11fbe90] looks like this file was encoded with
(divx4/(old)xvid/opendivx) - forcing low_delay flag
[mpeg4 @ 0x11fbe90] [IMGUTILS @ 0x7fffd010] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbe90] get_buffer() failed (-1 0 0 (nil))
Marker bit missing before time_increment
Last message repeated 1 times
[mpeg4 @ 0x11fbe90] [IMGUTILS @ 0x7fffd010] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbe90] get_buffer() failed (-1 0 0 (nil))
Marker bit missing before time_increment
[mpeg4 @ 0x11fbe90] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbe90] my guess is 13 bits ;)
Marker bit missing before time_increment
[mpeg4 @ 0x11fbe90] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbe90] my guess is 13 bits ;)
[mpeg4 @ 0x11fbe90] [IMGUTILS @ 0x7fffd010] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbe90] get_buffer() failed (-1 0 0 (nil))
[mpeg4 @ 0x11fbe90] [IMGUTILS @ 0x7fffd010] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbe90] get_buffer() failed (-1 0 0 (nil))
[mpeg4 @ 0x11fbe90] [IMGUTILS @ 0x7fffd010] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbe90] get_buffer() failed (-1 0 0 (nil))
[mpeg4 @ 0x11fbe90] [IMGUTILS @ 0x7fffd010] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbe90] get_buffer() failed (-1 0 0 (nil))
[mpeg4 @ 0x11fbe90] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbe90] my guess is 4 bits ;)
[mpeg4 @ 0x11fbe90] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbe90] my guess is 4 bits ;)
[mpeg4 @ 0x11fbe90] [IMGUTILS @ 0x7fffd010] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbe90] get_buffer() failed (-1 0 0 (nil))
[mpeg4 @ 0x11fbe90] illegal chroma format
[mpeg4 @ 0x11fbe90] only rectangular vol supported
[mpeg4 @ 0x11fbe90] Gray shape not supported
[mpeg4 @ 0x11fbe90] reduced resolution VOP not supported
Marker bit missing before time_increment_resolution
Marker bit missing before fixed_vop_rate
[mpeg4 @ 0x11fbe90] scalability not supported
[mpeg4 @ 0x11fbe90] load backward shape isn't supported
[mpeg4 @ 0x11fbe90] Error, header damaged or not MPEG4 header (qscale=0)
Marker bit missing before time_increment
[mpeg4 @ 0x11fbe90] load backward shape isn't supported
[m4v @ 0x11f9510] Estimating duration from bitrate, this may be inaccurate
Input #0, m4v, from '../fuzzed.mkv':
  Duration: N/A, bitrate: N/A
Stream #0.0: Video: mpeg4, yuv420p, 4557x5885 [PAR 10:11 DAR 9114:12947],
53757 tbr, 1200k tbn, 53757 tbc
[buffer @ 0x12021c0] w:4557 h:5885 pixfmt:yuv420p
Output #0, matroska, to 'del.mkv':
  Metadata:
encoder : Lavf52.91.0
Stream #0.0: Video: mpeg4, yuv420p, 4557x5885 [PAR 10:11 DAR 9114:12947],
q=2-31, 200 kb/s, 1k tbn, 53757 tbc
Stream mapping:
  Stream #0.0 - #0.0
Press [q] to stop encoding
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbe90] time_base.den==0
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbe90] time_base.den==0
[mpeg4 @ 0x11fbe90] header damaged
Error while decoding stream #0.0
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbe90] time_base.den==0
[mpeg4 @ 0x11fbe90] hmm, seems the headers are not 

[issue2472] Joboshare violates the GPL

2011-01-01 Thread Carl Eugen Hoyos

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

Joboshare Video Converter for Mac (j-video-converter-for-intel-mac.dmg, size
9684548, md5sum b997a9d9ee639282f263e03bbcd27a83, will upload to
samples/ffmpeg-bugs/roundup/issue) costs ~25$, contains a GPL'd version of
libavcodec, no sources visible, incompatible EULA attached.
Contact: sa...@joboshare.com
whois information:
Administrative Name . Yang Shu
Administrative Organization . yangshu
Administrative Address .. Room 501,2rd Unit, Bldg. 7,No.6
Jia,Dayangfang,Chaoyang District, Beijing
Administrative City . Beijing
Administrative Province/State ... Beijing
Administrative Postal Code .. 100012
Administrative Country Code . CN
Administrative Phone Number . +86.01084920181 -
AAdministrative Email  supp...@joboshare.com

--
files: EULA.txt
messages: 13143
priority: normal
status: open
substatus: open
title: Joboshare violates the GPL
topic: (L)GPL violation


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2472
END USER LICENSE AGREEMENT
Joboshare Video Converter for Mac 

IMPORTANT READ CAREFULLY: This End-User License Agreement (EULA) is a legal 
agreement between you (either an individual person or a single legal entity, 
who will be referred to in this EULA as You) and the Licensor for the 
Joboshare that displays this EULA, including any associated media, printed 
materials and electronic documentation (the Software). The Software also 
includes any software updates, add-on components, web services and/or 
supplements that the Licensor may provide to You or make available to You after 
the date You obtain Your initial copy of the Software to the extent that such 
items are not accompanied by a separate license agreement or terms of use. By 
installing, copying, downloading, accessing or otherwise using the Software, 
You agree to be bound by the terms of this EULA. If You do not agree to the 
terms of this EULA, do not install, access or use the Software. 
For purposes of this EULA, the term Licensor refers to Joboshare, except in 
the event that You acquired the Software as a component of an Joboshare 
software product originally licensed from the manufacturer of your computer 
system or computer system component, then Licensor or refers to such hardware 
manufacturer. By installing, copying, downloading, accessing or otherwise using 
the Software, You agree to be bound by the terms of this EULA. If You do not 
agree to the terms of this EULA, Licensor is unwilling to license the Software. 
In such event, You may not install, copy, download or otherwise use the 
Software. 

NOTE: IF YOU DO NOT HAVE A VALID LICENSE FOR Joboshare Video Converter for Mac  
(A SOFTWARE PRODUCT), YOU ARE NOT AUTHORIZED TO INSTALL, COPY OR OTHERWISE 
USE THE SOFTWARE. 
 
SOFTWARE LICENSE 
The Software is protected by intellectual property laws and treaties. The 
Software is licensed, not sold. 

1) This EULA grants you the following rights: 
Systems Software - .
You may install and use one copy of the SOFTWARE PRODUCT on a single computer, 
including a workstation, terminal or other digital electronic device 
(COMPUTER).
Storage/Network Use - You may also store or install a copy of the SOFTWARE 
PRODUCT on a storage device, such as a network server, used only to install or 
run the SOFTWARE PRODUCT on your other COMPUTERS over an internal network; 
however, you must acquire and dedicate a license for each separate COMPUTER on 
or from which the SOFTWARE PRODUCT is installed, used, accessed, displayed or 
run. A license for the SOFTWARE PRODUCT may not be shared or used concurrently 
on different COMPUTERS. 

Restrictions:
* You may not sell, license or distribute copies of the Software on a 
stand-alone basis or as part of any collection, product or service where the 
primary value of the product or service are the Software. 
* You may not use or distribute any of the Software that include 
representations of identifiable individuals, governments, logos, initials, 
emblems, trademarks, or entities for any commercial purposes or to express or 
imply any endorsement or association with any product, service, entity, or 
activity. 
* You must indemnify, hold harmless, and defend Joboshare from and against any 
claims or lawsuits, including attorneys' fees, that arise from or result from 
the use or distribution of Software as modified by You. 
* Joboshare respects the rights of artists and film companies, and the proper 
use of the software does not violate those rights. You cannot copy DVDs in 
order to sell or give away copies, or for any commercial purpose.
* Joboshare discourages any attempt to copy rented DVDs. It is illegal to make 
a copy of a DVD for most purposes other than your own personal use. Joboshare 
respects the rights of artists and film 

[issue2473] Cucusoft is violating the GPL

2011-01-01 Thread Carl Eugen Hoyos

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

Cucusoft Video Converter Ultimate (ultimateconv.exe, size 9598104, md5sum
51584e74b7c1f3903c78317df33608b9, will upload to
samples/ffmpeg-bugs/roundup/issue) costs ~35$, contains a binary
distribution of libavcodec (GPL) and an incompatible EULA.
Contact: supp...@cucusoft.com

--
files: EULA.txt
messages: 13144
priority: normal
status: open
substatus: open
title: Cucusoft is violating the GPL
topic: (L)GPL violation


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2473
End-User License Agreement (EULA) for Cucusoft Software.
SOFTWARE PRODUCT: Cucusoft Ultimate Video Converter
LICENSES: Shareware

IMPORTANT--READ CAREFULLY
This CUCUSOFT EULA is a legal agreement between you (either an individual or a 
single entity) and CUCUSOFT for the CUCUSOFT SOFTWARE PRODUCT identified above. 
By installing, copying, or otherwise using the SOFTWARE PRODUCT, you agree to 
be bound by the terms of this EULA.
If you do not agree to the terms of this EULA, you are not authorized to 
install and/or use the SOFTWARE PRODUCT.


SOFTWARE PRODUCT LICENSE
The SOFTWARE PRODUCT is protected by copyright laws and international copyright 
treaties, as well as other intellectual property laws and treaties. The 
SOFTWARE PRODUCT is licensed, not sold.
1. GRANT OF LICENSE.
This EULA grants you the following rights with respect to the SOFTWARE PRODUCT:
CUCUSOFT grants you an individual, personal, nonexclusive license to make and 
use copies of the SOFTWARE PRODUCT for the sole purpose of using it. You may 
install copies of the SOFTWARE PRODUCT on an unlimited number of computers 
provided that you are the only individual using the SOFTWARE PRODUCT. If you 
are an entity, CUCUSOFT grants you the right to designate one individual within 
your organization to have the right to use the SOFTWARE PRODUCT in the manner 
provided above.
2. UPGRADES/UPDATES
If the SOFTWARE PRODUCT is an upgrade from another product, whether from 
CUCUSOFT or another supplier, you may use or transfer the SOFTWARE PRODUCT only 
in conjunction with that upgraded product, unless you destroy the upgraded 
product. If the SOFTWARE PRODUCT is a CUCUSOFT product, you now may use that 
upgraded product only in accordance with this EULA. If the SOFTWARE PRODUCT is 
an upgrade of a component of a package of software programs which you licensed 
as a single product, the SOFTWARE PRODUCT may be used and transferred only as 
part of that single product package and may not be separated for use on more 
than one computer.
3. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.
- Limitations on Reverse Engineering, Decompilation, and Disassembly.
You may not reverse engineer, decompile, or disassemble the object code 
portions of the SOFTWARE PRODUCT, except and only to the extent that such 
activity is expressly permitted by applicable law notwithstanding this 
limitation.
- Software Transfer.
You may permanently transfer all of your rights (not a part of them) under this 
EULA, provided the recipient agrees to the terms of this EULA.
- Termination.
Without prejudice to any other rights, CUCUSOFT may terminate this EULA if you 
fail to comply with the terms and conditions of this EULA. In such event, you 
must destroy all copies of the SOFTWARE PRODUCT and all of its component parts.
4. COPYRIGHT.
All title and copyrights in and to the SOFTWARE PRODUCT (including but not 
limited to any images, photographs, animations, video, audio, music, and text 
incorporated into the SOFTWARE PRODUCT), the accompanying printed materials, 
and any copies of the SOFTWARE PRODUCT are owned by CUCUSOFT or its suppliers. 
The SOFTWARE PRODUCT is protected by copyright laws and international treaty 
provisions. Therefore, you must treat the SOFTWARE PRODUCT like any other 
copyrighted material.
LIMITED WARRANTY
NO WARRANTIES.
CUCUSOFT expressly disclaims any warranty for the SOFTWARE PRODUCT. The 
SOFTWARE PRODUCT and any related documentation is provided as is without 
warranty of any kind, either express or implied, including, without limitation, 
the implied warranties or merchantability, fitness for a particular purpose, or 
noninfringement. The entire risk arising out of use or performance of the 
SOFTWARE PRODUCT remains with you.
NO LIABILITY FOR DAMAGES.
In no event shall CUCUSOFT or its suppliers be liable for any damages 
whatsoever (including, without limitation, damages for loss of business 
profits, business interruption, loss of business information, or any other 
pecuniary loss) arising out of the use of or inability to use this CUCUSOFT 
product, even if CUCUSOFT has been advised of the possibility of such damages.
MISCELLANEOUS
1. 

[issue2474] 3herosoft violates the GPL

2011-01-01 Thread Carl Eugen Hoyos

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

3herosoft Video Converter (video-converter.exe, size 5707375, md5sum
d2a90d4a5ba2d87be1d21e5599aa5fb3, will upload to
samples/ffmpeg-bugs/roundup/issue) is sold for ~25$, contains a GPL'd
version of libavcodec and shows attached incompatible EULA.
Contact: supp...@3herosoft.com sa...@3herosoft.com

--
files: EULA.txt
messages: 13145
priority: normal
status: open
substatus: open
title: 3herosoft violates the GPL
topic: (L)GPL violation


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2474
END USER LICENSE AGREEMENT
3herosoft Video Converter

IMPORTANT READ CAREFULLY: This End-User License Agreement (EULA) is a legal 
agreement between you (either an individual person or a single legal entity, 
who will be referred to in this EULA as You) and the Licensor for the 
3herosoft Software Studio that displays this EULA, including any associated 
media, printed materials and electronic documentation (the Software). The 
Software also includes any software updates, add-on components, web services 
and/or supplements that the Licensor may provide to You or make available to 
You after the date You obtain Your initial copy of the Software to the extent 
that such items are not accompanied by a separate license agreement or terms of 
use. By installing, copying, downloading, accessing or otherwise using the 
Software, You agree to be bound by the terms of this EULA. If You do not agree 
to the terms of this EULA, do not install, access or use the Software. 
For purposes of this EULA, the term Licensor refers to 3herosoft Software 
Studio, except in the event that You acquired the Software as a component of an 
3herosoft Software Studio software product originally licensed from the 
manufacturer of your computer system or computer system component, then 
Licensor or refers to such hardware manufacturer. By installing, copying, 
downloading, accessing or otherwise using the Software, You agree to be bound 
by the terms of this EULA. If You do not agree to the terms of this EULA, 
Licensor is unwilling to license the Software. In such event, You may not 
install, copy, download or otherwise use the Software. 

NOTE: IF YOU DO NOT HAVE A VALID LICENSE FOR 3herosoft Video Converter (A 
SOFTWARE PRODUCT), YOU ARE NOT AUTHORIZED TO INSTALL, COPY OR OTHERWISE USE 
THE SOFTWARE. 
 
SOFTWARE LICENSE 
The Software is protected by intellectual property laws and treaties. The 
Software is licensed, not sold. 

1) This EULA grants you the following rights: 
Systems Software - .
You may install and use one copy of the SOFTWARE PRODUCT on a single computer, 
including a workstation, terminal or other digital electronic device 
(COMPUTER).
Storage/Network Use - You may also store or install a copy of the SOFTWARE 
PRODUCT on a storage device, such as a network server, used only to install or 
run the SOFTWARE PRODUCT on your other COMPUTERS over an internal network; 
however, you must acquire and dedicate a license for each separate COMPUTER on 
or from which the SOFTWARE PRODUCT is installed, used, accessed, displayed or 
run. A license for the SOFTWARE PRODUCT may not be shared or used concurrently 
on different COMPUTERS. 


Restrictions:
* You may not sell, license or distribute copies of the Software on a 
stand-alone basis or as part of any collection, product or service where the 
primary value of the product or service are the Software. 
* You may not use or distribute any of the Software that include 
representations of identifiable individuals, governments, logos, initials, 
emblems, trademarks, or entities for any commercial purposes or to express or 
imply any endorsement or association with any product, service, entity, or 
activity. 
* You must indemnify, hold harmless, and defend 3herosoft Software Studio from 
and against any claims or lawsuits, including attorneys' fees, that arise from 
or result from the use or distribution of Software as modified by You. 
* 3herosoft Software Studio respects the rights of artists and film companies, 
and the proper use of the software does not violate those rights. You cannot 
copy DVDs in order to sell or give away copies, or for any commercial purpose.
* 3herosoft Software Studio discourages any attempt to copy rented DVDs. It is 
illegal to make a copy of a DVD for most purposes other than your own personal 
use. 3herosoft Software Studio respects the rights of artists and film 
companies, and asks that You do the same.
* Using the SOFTWARE will create backup copies of DVDs. The copy will be an 
archival backup copy of a DVD, created solely for the private and personal use 
of the owner of the DVD from which it was made. Federal copyright laws prohibit 
the unauthorized reproduction, distribution, or exhibition of copyrighted 
materials, if any, contained in the 

[issue2471] ffmpeg crashes on mkv files with invalid time stamps

2011-01-01 Thread Aurelien Jacobs

Aurelien Jacobs au...@gnuage.org added the comment:

You should probably fix this in the matroska demuxer itself.
(have a look around the av_set_pts_info() call).

Also could you please make the fuzzed.mkv file available (have a look at the
guide about Submitting Sample Media on http://ffmpeg.org/bugreports.html ). This
will help to check if your fix is correct.

--
substatus: open - needs_more_info


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



[issue2475] ffmpeg fails assertion on wav files with invalid sample rates

2011-01-01 Thread Daniel Kang

New submission from Daniel Kang daniel.d.k...@gmail.com:

ffmpeg fails assertion ffmpeg: libavutil/mathematics.c:79: av_rescale_rnd:
Assertion `c  0' failed. for wav files with invalid sampling rates (e.g.
-2147461598 Hz). Adding a sanity check on the sample rate fixes the failed
assertion. The patch is attached.

The broken wav file was generated with zzuf.

This is the run with the sanity check:
./ffmpeg -i ../fuzzed.wav del.wav
FFmpeg version git-0a30723, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  1 2011 19:46:06 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.101. 0 / 52.101. 0
  libavformat   52.91. 0 / 52.91. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0
st:0 has too large timebase, reducing
[wav @ 0x11f9510] Estimating duration from bitrate, this may be inaccurate
Input #0, wav, from '../fuzzed.wav':
  Duration: 00:01:06.55, bitrate: 2802 kb/s
Stream #0.0: Audio: pcm_s16le, -2147461598 Hz, 2 channels, s16, 705 kb/s
File 'del.wav' already exists. Overwrite ? [y/N] y
[wav @ 0x11fa7f0] sample rate not set
Output #0, wav, to 'del.wav':
Stream #0.0: Audio: pcm_s16le, -2147461598 Hz, 2 channels, s16, 705 kb/s
Stream mapping:
  Stream #0.0 - #0.0
Could not write header for output file #0 (incorrect codec parameters ?)



This is the gdb run:
(gdb) r -i ../fuzzed.wav del.wav
Starting program: ffmpeg/ffmpeg_g -i ../fuzzed.wav del.wav
[Thread debugging using libthread_db enabled]
FFmpeg version git-0a30723, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  1 2011 19:46:06 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.101. 0 / 52.101. 0
  libavformat   52.91. 0 / 52.91. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0
st:0 has too large timebase, reducing
ffmpeg_g: libavutil/mathematics.c:79: av_rescale_rnd: Assertion `c  0' failed.

Program received signal SIGABRT, Aborted.
0x76d09445 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x76d09445 in raise () from /lib/libc.so.6
#1  0x76d0a900 in abort () from /lib/libc.so.6
#2  0x76d02311 in __assert_fail () from /lib/libc.so.6
#3  0x0091a1e0 in av_rescale_rnd (a=value optimized out, b=value
optimized out, c=140737353819904, rnd=value optimized out) at
libavutil/mathematics.c:79
#4  0x004d36df in compute_pkt_fields (s=0x11f9510, st=0x11fa5d0, pc=0x0,
pkt=0x7fffd570) at libavformat/utils.c:955
#5  0x004d3f06 in av_read_frame_internal (s=0x11f9510,
pkt=0x7fffd570) at libavformat/utils.c:1087
#6  0x004d4c65 in av_find_stream_info (ic=0x11f9510) at
libavformat/utils.c:2287
#7  0x004301db in opt_input_file (filename=0x7fffdcbd
../fuzzed.wav) at ffmpeg.c:3211
#8  0x0043a70c in parse_options (argc=4, argv=0x7fffd938,
options=value optimized out, parse_arg_function=0x437260 opt_output_file) at
cmdutils.c:204
#9  0x004363a2 in main (argc=4, argv=0x7fffd938) at ffmpeg.c:4330
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x76d09425 to 0x76d09465:
0x76d09425 raise+21:  mov$0xf00,%edx
0x76d0942a raise+26:  add$0x8964c689,%eax
0x76d0942f raise+31:  add$0x25,%al
0x76d09431 raise+33:  rolb   (%rdx)
0x76d09433 raise+35:  add%al,(%rax)
0x76d09435 raise+37:  movslq %edi,%rdx
0x76d09438 raise+40:  movslq %esi,%rsi
0x76d0943b raise+43:  movslq %eax,%rdi
0x76d0943e raise+46:  mov$0xea,%eax
0x76d09443 raise+51:  syscall
0x76d09445 raise+53:  cmp$0xf000,%rax
0x76d0944b raise+59:  ja 0x76d09462 raise+82
0x76d0944d raise+61:  repz retq
0x76d0944f raise+63:  nop
0x76d09450 raise+64:  test   %eax,%eax
0x76d09452 raise+66:  jg 0x76d09435 raise+37
0x76d09454 raise+68:  test   $0x7fff,%eax
0x76d09459 raise+73:  jne0x76d0947b raise+107
0x76d0945b raise+75:  mov%esi,%eax
0x76d0945d raise+77:  nopl   (%rax)
0x76d09460 raise+80:  jmp0x76d09435 raise+37
0x76d09462 raise+82:  mov0x323b3f(%rip),%rdx# 
0x7702cfa8
End of assembler dump.
(gdb) info all-registers
rax0x0  0
rbx0x7fffdcb1   140737488346289
rcx0x   -1
rdx0x6  6
rsi0x6b96   27542
rdi0x6b96   27542
rbp0x76df706f   0x76df706f
rsp0x7fffd018   0x7fffd018
r8 0x77fb2700   140737353819904
r9 0x7341203a646e725f   8304954623013057119
r100x8  8
r110x206518
r120xa54523 10831139
r130xa54860 10831968

[issue2475] ffmpeg fails assertion on wav files with invalid sample rates

2011-01-01 Thread Daniel Kang

Daniel Kang daniel.d.k...@gmail.com added the comment:

I have uploaded a sample to /MPlayer/incoming/roundup_2475_wav_crash. I
accidentally also uploaded it to /MPlayer/incoming/. Can someone delete that 
file?


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



[issue2470] ffmpeg crashes on y4m with invalid header

2011-01-01 Thread Daniel Kang

Daniel Kang daniel.d.k...@gmail.com added the comment:

I have uploaded a sample to /MPlayer/incoming/roundup_2470_y4m_crash.


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



[issue2470] ffmpeg crashes on y4m with invalid header

2011-01-01 Thread Carl Eugen Hoyos

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

Moved first 1024 bytes to samples/ffmpeg-bugs/roundup/issue2470

Fixed in r26188.

--
priority: normal - important
status: open - closed
substatus: open - fixed
topic: +avformat


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



[issue2475] ffmpeg fails assertion on wav files with invalid sample rates

2011-01-01 Thread Carl Eugen Hoyos

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

First 1024 bytes moved to /samples/ffmpeg-bugs/roundup/issue2475.

To get a useful backtrace in this case, you have to set a breakpoint in
libavformat/utils.c:955

--
priority: normal - important
substatus: open - reproduced
topic: +avformat
type: patch - bug


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



[issue2471] ffmpeg crashes on mkv files with invalid time stamps

2011-01-01 Thread Carl Eugen Hoyos

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

Sorry, I deleted the sample, please upload again

--
priority: normal - important


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



[issue2450] ffmpeg is eating lots of memory on OSX for some conversions of ts streams

2011-01-01 Thread Carl Eugen Hoyos

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

If you think this is a regression, please find the version introducing it:
svn up --ignore-externals -r [2010-12-31}
svn up -r [2010-12-31} libswscale

--
status: new - open
substatus: new - needs_more_info


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



[issue2471] ffmpeg crashes on mkv files with invalid time stamps

2011-01-01 Thread Daniel Kang

Daniel Kang daniel.d.k...@gmail.com added the comment:

I have reuploaded the sample and attached a different fix. I'm not sure if this
a correct fix.

The output with the patch is:
./ffmpeg_g -i ../fuzzed/mkv_invalid_timestamp_crash.mkv del.mkv
FFmpeg version git-0a30723, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  1 2011 23:48:54 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.101. 0 / 52.101. 0
  libavformat   52.91. 0 / 52.91. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbeb0] time_base.den==0
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbeb0] time_base.den==0
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbeb0] time_base.den==0
[mpeg4 @ 0x11fbeb0] header damaged
[mpeg4 @ 0x11fbeb0] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbeb0] my guess is 16 bits ;)
[mpeg4 @ 0x11fbeb0] Error, header damaged or not MPEG4 header (f_code=0)
Marker bit missing before time_increment_resolution
[mpeg4 @ 0x11fbeb0] time_base.den==0
[mpeg4 @ 0x11fbeb0] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbeb0] my guess is 16 bits ;)
[mpeg4 @ 0x11fbeb0] looks like this file was encoded with
(divx4/(old)xvid/opendivx) - forcing low_delay flag
[mpeg4 @ 0x11fbeb0] [IMGUTILS @ 0x7fff16b36b40] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbeb0] get_buffer() failed (-1 0 0 (nil))
Marker bit missing before time_increment
Last message repeated 1 times
[mpeg4 @ 0x11fbeb0] [IMGUTILS @ 0x7fff16b36b40] Picture size 0x0 is invalid
[mpeg4 @ 0x11fbeb0] get_buffer() failed (-1 0 0 (nil))
Marker bit missing before time_increment
[mpeg4 @ 0x11fbeb0] hmm, seems the headers are not complete, trying to guess
time_increment_bits
[mpeg4 @ 0x11fbeb0] my guess is 13 bits ;)
[m4v @ 0x11f9510] max_analyze_duration reached
[m4v @ 0x11f9510] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 0.00 (0/1) -
1.00 (1/1)
Input #0, m4v, from '../fuzzed/mkv_invalid_timestamp_crash.mkv':
  Duration: N/A, bitrate: N/A
Stream #0.0: Video: mpeg4, yuv420p, 0.04 fps, 1 tbr, 1200k tbn
[buffer @ 0x1202360] w:0 h:0 pixfmt:yuv420p
[matroska @ 0x11fa7e0] dimensions not set
Output #0, matroska, to 'del.mkv':
Stream #0.0: Video: mpeg4, yuv420p, q=2-31, 200 kb/s, 90k tbn, 1 tbc
Stream mapping:
  Stream #0.0 - #0.0
Could not write header for output file #0 (incorrect codec parameters ?)


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


mkv_crash_fix2.diff
Description: Binary data


[issue2475] ffmpeg fails assertion on wav files with invalid sample rates

2011-01-01 Thread Daniel Kang

Daniel Kang daniel.d.k...@gmail.com added the comment:

Here is the backtrace with a breakpoint on libavformat/utils.c:955:

(gdb) break libavformat/utils.c:955
Breakpoint 1 at 0x4d36b0: file libavformat/utils.c, line 955.
(gdb) r -i ../fuzzed/wav_invalid_sample_rate_small.wav del.wav
Starting program: ffmpeg/ffmpeg_g -i ../fuzzed/wav_invalid_sample_rate_small.wav
del.wav
[Thread debugging using libthread_db enabled]
FFmpeg version git-0a30723, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  1 2011 23:48:54 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.101. 0 / 52.101. 0
  libavformat   52.91. 0 / 52.91. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0
st:0 has too large timebase, reducing

Breakpoint 1, compute_pkt_fields (s=0x11f9510, st=0x11fa5f0, pc=0x0,
pkt=0x7fffd560) at libavformat/utils.c:955
955 pkt-duration = av_rescale_rnd(1, num *
(int64_t)st-time_base.den, den * (int64_t)st-time_base.num, AV_ROUND_DOWN);
(gdb) bt
#0  compute_pkt_fields (s=0x11f9510, st=0x11fa5f0, pc=0x0, pkt=0x7fffd560)
at libavformat/utils.c:955
#1  0x004d3f06 in av_read_frame_internal (s=0x11f9510,
pkt=0x7fffd560) at libavformat/utils.c:1087
#2  0x004d4c65 in av_find_stream_info (ic=0x11f9510) at
libavformat/utils.c:2287
#3  0x004301db in opt_input_file (filename=0x7fffdc9f
../fuzzed/wav_invalid_sample_rate_small.wav) at ffmpeg.c:3211
#4  0x0043a70c in parse_options (argc=4, argv=0x7fffd928,
options=value optimized out, parse_arg_function=0x437260 opt_output_file) at
cmdutils.c:204
#5  0x004363a2 in main (argc=4, argv=0x7fffd928) at ffmpeg.c:4330
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x4d3690 to 0x4d36d0:
0x004d3690 compute_pkt_fields+1536:   lock add (%rax),%eax
0x004d3693 compute_pkt_fields+1539:   add%al,(%rcx)
0x004d3695 compute_pkt_fields+1541:   jg 0x4d3136
compute_pkt_fields+166
0x004d369b compute_pkt_fields+1547:   nopl   0x0(%rax,%rax,1)
0x004d36a0 compute_pkt_fields+1552:   test   %edx,%edx
0x004d36a2 compute_pkt_fields+1554:   je 0x4d3136
compute_pkt_fields+166
0x004d36a8 compute_pkt_fields+1560:   test   %eax,%eax
0x004d36aa compute_pkt_fields+1562:   je 0x4d3136
compute_pkt_fields+166
0x004d36b0 compute_pkt_fields+1568:   movslq 0x40(%rbp),%rcx
0x004d36b4 compute_pkt_fields+1572:   movslq %eax,%rsi
0x004d36b7 compute_pkt_fields+1575:   movslq 0x44(%rbp),%rax
0x004d36bb compute_pkt_fields+1579:   movslq %edx,%rdx
0x004d36be compute_pkt_fields+1582:   mov$0x1,%edi
0x004d36c3 compute_pkt_fields+1587:   mov%r8b,0x8(%rsp)
0x004d36c8 compute_pkt_fields+1592:   mov%r9d,0x10(%rsp)
0x004d36cd compute_pkt_fields+1597:   imul   %rcx,%rdx
End of assembler dump.
(gdb) info all-registers
rax0x3f91017
rbx0x7fffd560   140737488344416
rcx0x20 32
rdx0x80005622   2147505698
rsi0x11fa5f018851312
rdi0x1  65536
rbp0x11fa5f00x11fa5f0
rsp0x7fffd1d0   0x7fffd1d0
r8 0x0  0
r9 0x0  0
r100x0  0
r110xfe04064
r120x0  0
r130x11fbee018857696
r140x0  0
r150x11f951018846992
rip0x4d36b0 0x4d36b0 compute_pkt_fields+1568
eflags 0x206[ PF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0  0
es 0x0  0
fs 0x0  0
gs 0x0  0
st00(raw 0x)
st10(raw 0x)
st20(raw 0x)
st30(raw 0x)
st40(raw 0x)
st50(raw 0x)
st60(raw 0x)
st70(raw 0x)
fctrl  0x37f895
fstat  0x0  0
ftag   0x   65535
fiseg  0x0  0
fioff  0x0  0
foseg  0x0  0
fooff  0x0  0
fop0x0  0
xmm0   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0},
  v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 =
0x}
xmm1   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
v16_int8 = {0x25 repeats 16 times}, v8_int16 = {0x2525, 0x2525, 0x2525,
0x2525, 0x2525,
---Type return to continue, or q return to quit---
0x2525, 0x2525, 0x2525}, v4_int32 = {0x25252525,