[issue2389] ffplay cannot seek in WMV file

2011-01-04 Thread Martin Lambers

Martin Lambers mar...@marlam.de added the comment:

I just tested again with SVN-r26207, and it now works a lot better.

Seeking generally works, but sometimes ffplay seeks to a non-key-frame,
resulting in visible artifacts.

FFplay version SVN-r26207, Copyright (c) 2003-2011 the FFmpeg developers
  built on Jan  4 2011 10:23:50 with gcc 4.4.5
  configuration: --prefix=/home/martin/install
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.101. 0 / 52.101. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0


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



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

2011-01-04 Thread Carl Eugen Hoyos

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

Why?

(Moved 1024 bytes to samples/ffmpeg-bugs/roundup/issue2475)


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



[issue2485] ovg Theora and Vorbis gives problems when playing from specific software

2011-01-04 Thread Carl Eugen Hoyos

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

Sorry, but even if I installed Blender, I wouldn't know how to reproduce this.

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


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



[issue2389] ffplay cannot seek in WMV file

2011-01-04 Thread Carl Eugen Hoyos

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

The problem explained in issue 1730 (that seeking before the beginning prints an
error, and later, the file restarts surprisingly) is still reproducible with 
r26207.

--
status: open - closed
substatus: open - duplicate
superseder: +WMV - error while seeking + restart of the playback


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



[issue2484] WMS Compatibility Suggestions

2011-01-04 Thread Ronald S. Bultje

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

My idea for MMS is indeed to try RTSP, then HTTP/MMS (and I do prefer a 
fallback to mmst, just because some old servers still use that, even 
though it's not used a lot). Lack of time is the main reason that we 
haven't done it yet.

The HTTP - MMSH forward is an interesting idea and should probably be 
done, but I'd need to look some more into this. You could help here by 
writing a good check in http.c that tries to detect MMSH input, and then 
I'll add the magic code to make it forward to MMSH for those streams.

--
priority: normal - wish


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



[issue2484] WMS Compatibility Suggestions

2011-01-04 Thread Dennis

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

Thanks,
That sounds great, right on the money.

Any thought to the ASX part?

I am sorry I am unable to contribute to the actual 
programming though. I am not familiar with C or any 
of the functions of FFmpeg (let alone compiling). I 
am more of a VB/VB.net guy...Microsoft as you can 
tell ;)

I can help with any of the server testing though. If 
you need a Server 2003 WMS box to test or another WMS 
2008 stream, I can do that.

P.S.
I was not able to set the priority to Wish, it 
forced to Normal.


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



[issue2486] MPEG-TS video not recognized with large GOP

2011-01-04 Thread aviad rozenhek

New submission from aviad rozenhek avia...@gmail.com:

when reading MPEG-TS over UDP, the stream often does not begin with a 
keyframe. it can therefore take some time until video information such 
as resolution and pixel format is discovered.

I noticed that some times video resolution detection fails completely 
and thus the video cannot be decoded. I have found a way to reproduce it 
every time, by using a very large GOP.

# start ffmpeg encoder
 ffmpeg -i file -b 2k -f mpegts -keyint_min 500 -g 1000 
udp://localhost:1234

# start ffplay to read the same stream
 ffplay -loglevel debug udp://localhost?localport=1234
FFplay version SVN-r26095, Copyright (c) 2003-2010 the FFmpeg developers
  built on Dec 26 2010 04:15:49 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
 --enable-shared --disable-static
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.100. 0 / 52.100. 0
  libavformat   52.89. 0 / 52.89. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.70. 0 /  1.70. 0
  libswscale 0.12. 0 /  0.12. 0
[NULL @ 0078bd80] Probed with size=2048 and score=100
[mpegts @ 0078bd80] Unable to seek back to the start
[mpegts @ 0078bd80] stream=0 stream_type=2 pid=100 prog_reg_desc=
[mpegts @ 0078bd80] stream=1 stream_type=3 pid=101 prog_reg_desc=
[mp3 @ 0078cd20] Header missing
[mpeg2video @ 0078ed30] mpeg_decode_postinit() failure
Last message repeated 57 times
[mpegts @ 0078bd80] max_analyze_duration reached
[mpegts @ 0078bd80] Estimating duration from bitrate, this may be 
inaccurate
Input #0, mpegts, from 'udp://localhost?localport=1234':
  Duration: N/A, start: 6.12, bitrate: 64 kb/s
  Program 1 Service01
Metadata:
  name: Service01
  provider_name   : FFmpeg
Stream #0.0[0x100], 67, 1/9: Video: mpeg2video, 25 tbr, 90k tbn, 
90k tbc

Stream #0.1[0x101](eng), 211, 1/9: Audio: mp2, 48000 Hz, 2 
channels, s16
, 64 kb/s
[ffsink @ 01efa280] auto-inserting filter 'auto-inserted scaler 0' 
between the f
ilter 'src' and the filter 'out'
Impossible to convert between the formats supported by the filter 'src' 
and the
filter 'auto-inserted scaler 0'
[mp2 @ 0078cd20] Header missing
1357.46 A-V:-1294162282.047 s:0.0 aq=  329KB vq= 5747KB sq=0B f=0/0
Last message repeated 138 times

notice how resolution and pixel format information is missing and the 
problem of building the video scaling filter.

the same command line but going through a file works, because the file 
does start with a key frame.

--
messages: 13203
priority: normal
status: new
substatus: new
title: MPEG-TS video not recognized with large GOP
topic: avcodec, avformat, ffmpeg, ffplay
type: bug


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



[issue2487] libav* reporting unneeded warnings when probing MPEG-TS over UDP

2011-01-04 Thread aviad rozenhek

New submission from aviad rozenhek avia...@gmail.com:

when reading MPEG-TS over UDP, libav*/ffmpeg/ffplay reports a lot of 
warnings during the probing stage. the warnings stem from the fact that 
UDP has no seek, and from the fact that often the first frames of the 
stream are not keyframes. 
still since these problems are to be expected, it would be nice if the 
warnings were not generated at all.
here are the warnings:

for MP2 video
[mpegts @ 01d2f6a0] Unable to seek back to the start
[mpeg2video @ 0075f8e0] mpeg_decode_postinit() failure
Last message repeated 67 times

for H.264 video
[mpegts @ 01e1f6a0] Unable to seek back to the start
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[h264 @ 01e2b810] non-existing PPS referenced
[h264 @ 01e2b810] non-existing PPS 0 referenced
[h264 @ 01e2b810] decode_slice_header error
[h264 @ 01e2b810] no frame!
[mpegts @ 01e1f6a0] max_analyze_duration reached
[mpegts @ 01e1f6a0] Estimating duration from bitrate, this may be 
inaccurate

--
messages: 13204
priority: normal
status: new
substatus: new
title: libav* reporting unneeded warnings when probing MPEG-TS over UDP
type: bug


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



[issue1676] libavformat doesn't undertand file URLs

2011-01-04 Thread aviad rozenhek

aviad rozenhek avia...@gmail.com added the comment:

from http://en.wikipedia.org/wiki/File_URI_scheme:

Here are two Linux examples pointing to the same /etc/fstab file:
file://localhost/etc/fstab
file:///etc/fstab

Here is the correct URI as understood by the Windows Shell API:
file:///c:/WINDOWS/clock.avi


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



[issue2366] regression: crash when encoding from images with certain image resolutions

2011-01-04 Thread Carl Eugen Hoyos

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

The invalid reads are still reproducible with r26207 (and they seem to cause
crashes on Windows).


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



[issue2486] MPEG-TS video not recognized with large GOP

2011-01-04 Thread scheutzo

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

If the author of this report wants the probing code to try harder, he should use
appropriate values for -probesize, -analyzeduration and -f command line options
to ffplay.


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



[issue2485] ovg Theora and Vorbis gives problems when playing from specific software

2011-01-04 Thread chaos

chaos yaint...@yahoo.com.ar added the comment:

No problem. Just download blender using the link above and the file that I
provide here. Launch blender and open the provided file, now press Alt+A, you
can stop the movie by hitting Esc. If you can't see any movie, make sure that
you are in the Video Sequence Editor section. This is done by going to the
bottom-left small icon of any sub-window of blender and by clicking on it, and
selecting the Video Sequence Editor. You now should be able to see the movie.
you can click in any part of the timeline to jump in the video file.
File 'untitled.blend' not attached - you can download it from 
https://roundup.ffmpeg.org/file1262.


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



[issue2490] ffmpeg crashes for mov files with invalid time creation

2011-01-04 Thread Daniel Kang

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

ffmpeg crashes on mov files with invalid time creation. gmtime will return NULL
for times it cannot convert
(http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf p. 335). strftime
crash when NULL is passed to it. I have attached a patch to fix this issue.

gdb run:
(gdb) r -i ../fuzzed.mov del.mkv
Starting program: /afs/csl.tjhsst.edu/students/2011/2011dkang/ffmpeg/ffmpeg_g -i
../fuzzed.mov del.mkv
[Thread debugging using libthread_db enabled]
FFmpeg version git-5fbd1d4, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  4 2011 22:05:23 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil 50.36. 0 / 50.36. 0
  libavcore  0.16. 0 /  0.16. 0
  libavcodec52.102. 0 / 52.102. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter1.72. 0 /  1.72. 0
  libswscale 0.12. 0 /  0.12. 0

Program received signal SIGSEGV, Segmentation fault.
0x76d7057f in ?? () from /lib/libc.so.6
(gdb) bt
#0  0x76d7057f in ?? () from /lib/libc.so.6
#1  0x76d72626 in strftime_l () from /lib/libc.so.6
#2  0x00486808 in mov_metadata_creation_time (c=value optimized out,
pb=0x12075b0, atom=...) at libavformat/mov.c:595
#3  mov_read_mdhd (c=value optimized out, pb=0x12075b0, atom=...) at
libavformat/mov.c:626
#4  0x00482fbd in mov_read_default (c=0x11ff5a0, pb=0x12075b0, atom=...)
at libavformat/mov.c:302
#5  0x00482fbd in mov_read_default (c=0x11ff5a0, pb=0x12075b0, atom=...)
at libavformat/mov.c:302
#6  0x00485865 in mov_read_trak (c=0x11ff5a0, pb=0x12075b0, atom=...) at
libavformat/mov.c:1738
#7  0x00482fbd in mov_read_default (c=0x11ff5a0, pb=0x12075b0, atom=...)
at libavformat/mov.c:302
#8  0x00483485 in mov_read_moov (c=0x7fffcf50, pb=0x0, atom=...) at
libavformat/mov.c:575
#9  0x00482fbd in mov_read_default (c=0x11ff5a0, pb=0x12075b0, atom=...)
at libavformat/mov.c:302
#10 0x004876e0 in mov_read_header (s=value optimized out, ap=value
optimized out) at libavformat/mov.c:2353
#11 0x004d15a9 in av_open_input_stream (ic_ptr=0x7fffd4d8,
pb=0x12075b0, filename=0x7fffdafe ../fuzzed.mov, fmt=0xca17a0,
ap=0x7fffd4a0)
at libavformat/utils.c:487
#12 0x004d3768 in av_open_input_file (ic_ptr=0x7fffd4d8,
filename=0x7fffdafe ../fuzzed.mov, fmt=0xca17a0, buf_size=0,
ap=0x7fffd4a0)
at libavformat/utils.c:643
#13 0x00430f2d in opt_input_file (filename=0x7fffdafe
../fuzzed.mov) at ffmpeg.c:3178
#14 0x0043b53c in parse_options (argc=4, argv=0x7fffd758,
options=value optimized out, parse_arg_function=0x438000 opt_output_file) at
cmdutils.c:208
#15 0x00437142 in main (argc=4, argv=0x7fffd758) at ffmpeg.c:4340
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x76d7055f to 0x76d7059f:
0x76d7055f: push   %rbx
0x76d70560: sub$0xf8,%rsp
0x76d70567: mov%rcx,0x30(%rsp)
0x76d7056c: mov%r8,0x68(%rsp)
0x76d70571: mov0x10(%r9),%rax
0x76d70575: mov0x30(%rsp),%rsi
0x76d7057a: mov%rax,0x60(%rsp)
0x76d7057f: mov0x8(%rcx),%ecx
0x76d70582: mov%ecx,0x3c(%rsp)
0x76d70586: mov0x30(%rsi),%rsi
0x76d7058a: cmp$0xc,%ecx
0x76d7058d: mov%rsi,0x70(%rsp)
0x76d70592: jle0x76d70770
0x76d70598: sub$0xc,%ecx
0x76d7059b: mov%ecx,0x3c(%rsp)
End of assembler dump.
(gdb) info all-registers
rax0x7702b2e0   140737337537248
rbx0x12075b018904496
rcx0x0  0
rdx0x9348ab 9652395
rsi0x0  0
rdi0x7fffcf50   140737488342864
rbp0x12001600x1200160
rsp0x7fffcdf0   0x7fffcdf0
r8 0x7fffcf2f   140737488342831
r9 0x7702d580   140737337546112
r100xfeba   -326
r110xa3d70a3d70a3d70b   -6640827866535438581
r120x7702d580   140737337546112
r130x11ff76018872160
r140x12002e818875112
r150x20 32
rip0x76d7057f   0x76d7057f
eflags 0x10206  [ PF IF RF ]
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

[issue2490] ffmpeg crashes for mov files with invalid time creation

2011-01-04 Thread Daniel Kang

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

I have uploaded a sample to 
/MPlayer/incoming/invalid_mov_creation_time_issue2490


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