[issue1441] WMV file with WMA Pro playing non-smooth

2009-10-01 Thread aviad rozenhek

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

I uploaded sample file 
ftp://upload.ffmpeg.org/MPlayer/incoming/wmapro_Step_into_Liquid_1080.wm
v

it plays smoothly with windows media player 11
but plays non-smoothly with latest ffplay:

FFmpeg version SVN-r20091, Copyright (c) 2000-2009 Fabrice Bellard, et 
al.
  built on Sep 30 2009 04:03:48 with gcc 4.2.4
  configuration: --enable-shared --disable-static --enable-memalign-hack 
--prefix=/mingw --cross-prefix=i686-mingw32- --cc=ccache-i686-mingw32-
gcc --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth --
enable-gpl --enable-zlib --enable-bzlib --enable-libgsm --enable-libfaad 
--enable-pthreads
 --enable-libvorbis --enable-libtheora --enable-libspeex --enable-
libmp3lame --enable-libopenjpeg --enable-libxvid --enable-
libschroedinger --enable-libx264
  libavutil 50. 3. 0 / 50. 3. 0
  libavcodec52.36. 0 / 52.36. 0
  libavformat   52.39. 0 / 52.39. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale 0. 7. 1 /  0. 7. 1

--
messages: 7289
priority: normal
status: new
substatus: new
title: WMV file with WMA Pro playing non-smooth
type: bug

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


[issue1442] WMAPro decoder doesn't allow downmixing to stereo

2009-10-01 Thread aviad rozenhek

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

setting request_channels or request_channel_layout has no effect when audio 
stream is WMAPro codec with 5.1 audio

--
messages: 7290
priority: normal
status: new
substatus: new
title: WMAPro decoder doesn't allow downmixing to stereo
topic: avcodec
type: bug

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


[issue1674] AAC not working in mpegts

2010-01-10 Thread aviad rozenhek

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

I am trying to mux AAC [2 channel, 44.1khz] into mpeg-ts stream.
it does not work for me, when I use ffmpeg to decode the file, ffmpeg 
misdetects the number of channels and sampling rate of audio.
when using ffplay, the video plays without audio.

 

running encoding:
-

$ ffmpeg -i c:\temp\Bray-Cocoon_PC.avi -acodec aac -f mpegts 
c:\temp\test.ts
FFmpeg version SVN-r21118, Copyright (c) 2000-2010 Fabrice Bellard, et 
al.
  built on Jan 10 2010 06:06:24 with gcc 4.4.2
  configuration: --enable-shared --disable-static --enable-memalign-hack 
--cross-prefix=i686-mingw32- --cc=ccache-i686-m
ingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth 
--enable-gpl --enable-version3 --enable-bzlib --
enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --
enable-libtheora --enable-libspeex --enable-libmp3
lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --
enable-libx264 --enable-libopencore_amrwb --enable
-libopencore_amrnb
  libavutil 50. 7. 0 / 50. 7. 0
  libavcodec52.46. 0 / 52.46. 0
  libavformat   52.46. 0 / 52.46. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale 0. 8. 0 /  0. 8. 0

Seems stream 0 codec frame rate differs from container frame rate: 
3.00 (3/1) - 29.97 (3/1001)
Input #0, avi, from 'c:\temp\Bray-Cocoon_PC.avi':
  Duration: 00:03:19.49, start: 0.00, bitrate: 2410 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 512x384 [PAR 1:1 DAR 4:3], 29.97 
fps, 29.97 tbr, 29.97 tbn, 30k tbc
Stream #0.1: Audio: mp3, 44100 Hz, 2 channels, s16, 192 kb/s
File 'c:\temp\test.ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to 'c:\temp\test.ts':
Stream #0.0: Video: mpeg2video, yuv420p, 512x384 [PAR 1:1 DAR 4:3], 
q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream #0.1: Audio: aac, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 - #0.0
  Stream #0.1 - #0.1
Press [q] to stop encoding
[mpegts @ 01b6afa0]dts  pcr, TS is invalid
frame= 1174 fps=211 q=31.0 Lsize=2785kB time=39.14 bitrate= 
582.9kbits/s
video:1959kB audio:325kB global headers:0kB muxing overhead 21.970058%

running decoding


C:\Users\aviad\Documents\Downloads\binffmpeg -i c:\temp\test.ts 
c:\temp\test.mov
FFmpeg version SVN-r21118, Copyright (c) 2000-2010 Fabrice Bellard, et 
al.
  built on Jan 10 2010 06:06:24 with gcc 4.4.2
  configuration: --enable-shared --disable-static --enable-memalign-hack 
--cross-prefix=i686-mingw32- --cc=ccache-i686-m
ingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth 
--enable-gpl --enable-version3 --enable-bzlib --
enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --
enable-libtheora --enable-libspeex --enable-libmp3
lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --
enable-libx264 --enable-libopencore_amrwb --enable
-libopencore_amrnb
  libavutil 50. 7. 0 / 50. 7. 0
  libavcodec52.46. 0 / 52.46. 0
  libavformat   52.46. 0 / 52.46. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale 0. 8. 0 /  0. 8. 0
[mpegts @ 01d08c40]max_analyze_duration reached

Seems stream 0 codec frame rate differs from container frame rate: 59.94 
(6/1001) - 29.97 (3/1001)
Input #0, mpegts, from 'c:\temp\test.ts':
  Duration: 00:00:39.82, start: 0.70, bitrate: 572 kb/s
  Program 1 Service01
Metadata:
  name: Service01
  provider_name   : FFmpeg
Stream #0.0[0x100]: Video: mpeg2video, yuv420p, 512x384 [PAR 1:1 DAR 
4:3], 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tb
n, 59.94 tbc
Stream #0.1[0x101]: Audio: aac, 88200 Hz, 5 channels, s16, 105 kb/s
Output #0, mov, to 'c:\temp\test.mov':
Stream #0.0: Video: mpeg4, yuv420p, 512x384 [PAR 1:1 DAR 4:3], q=2-
31, 200 kb/s, 30k tbn, 29.97 tbc
Stream #0.1: Audio: aac, 88200 Hz, 5 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 - #0.0
  Stream #0.1 - #0.1
Press [q] to stop encoding
[aac @ 0029b930]channel element 1.0 is not allocated
Error while decoding stream #0.1
[aac @ 0029b930]More than one AAC RDB per ADTS frame is not implemented. 
Update your FFmpeg version to the newest one fr
om SVN. If the problem still occurs, it means that your file has a 
feature which has not been implemented.
[aac @ 0029b930]Error decoding AAC frame header.
Error while decoding stream #0.1
[aac @ 0029b930]Sample rate index in program config element does not 
match the sample rate index configured by the conta
iner.
[aac @ 0029b930]Not evaluating a further program_config_element as this 
construct is dubious at best.
[aac @ 0029b930]channel element 2.14 is not allocated
Error while decoding stream #0.1
[aac @ 0029b930]More than one AAC RDB per ADTS frame is not implemented. 
Update your FFmpeg version to the newest one fr
om SVN. If the problem still occurs, it means that your file has a 
feature which has not been implemented.
[aac @ 0029b930]Error decoding AAC frame header.
Error while decoding stream #0.1
[aac

[issue1676] libavformat doesn't undertand file URLs

2010-01-11 Thread aviad rozenhek

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

simple file URLs are of the form file://absolute-path, on windows 
platform an example would be file:///c:/temp/myfile.avi (notice 3 
slashes before c:)

libavformat doesn't properly parse file URLs, and as a result, ffmpeg 
cannot parse them as well.

so using well-formed file URLs doesn't work, while using ffmpeg-only 
syntax such as file:c:/temp/myfile.avi works.

here is a printout of an example

-- well formed URL which doesn't work
$ffmpeg -i file:///c:/temp/bray.mov
FFmpeg version SVN-r21118, Copyright (c) 2000-2010 Fabrice Bellard, et 
al.
  built on Jan 10 2010 06:06:24 with gcc 4.4.2
  configuration: --enable-shared --disable-static --enable-memalign-hack 
--cross-prefix=i686-mingw32- --cc=ccache-i686-m
ingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth 
--enable-gpl --enable-version3 --enable-bzlib --
enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --
enable-libtheora --enable-libspeex --enable-libmp3
lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --
enable-libx264 --enable-libopencore_amrwb --enable
-libopencore_amrnb
  libavutil 50. 7. 0 / 50. 7. 0
  libavcodec52.46. 0 / 52.46. 0
  libavformat   52.46. 0 / 52.46. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale 0. 8. 0 /  0. 8. 0
file:///c:/temp/bray.mov: no such file or directory


-- ffmpeg-only syntax which (isn't a proper URL) works
$ffmpeg -i file:c:/temp/bray.mov
FFmpeg version SVN-r21118, Copyright (c) 2000-2010 Fabrice Bellard, et 
al.
  built on Jan 10 2010 06:06:24 with gcc 4.4.2
  configuration: --enable-shared --disable-static --enable-memalign-hack 
--cross-prefix=i686-mingw32- --cc=ccache-i686-m
ingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth 
--enable-gpl --enable-version3 --enable-bzlib --
enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --
enable-libtheora --enable-libspeex --enable-libmp3
lame --enable-libopenjpeg --enable-libxvid --enable-libschroedinger --
enable-libx264 --enable-libopencore_amrwb --enable
-libopencore_amrnb
  libavutil 50. 7. 0 / 50. 7. 0
  libavcodec52.46. 0 / 52.46. 0
  libavformat   52.46. 0 / 52.46. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale 0. 8. 0 /  0. 8. 0

Seems stream 0 codec frame rate differs from container frame rate: 
3.00 (3/1) - 29.97 (3/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:c:/temp/bray.mov':
  Metadata:
major_brand : qt
minor_version   : 512
compatible_brands: qt
encoder : Lavf52.46.0
encoder-eng : Lavf52.46.0
  Duration: 00:01:44.97, start: 0.00, bitrate: 281 kb/s
Stream #0.0(eng): Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 
212 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc

Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 65 kb/s
At least one output file must be specified

--
messages: 8806
priority: normal
status: new
substatus: new
title: libavformat doesn't undertand file URLs
topic: avformat
type: bug

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


[issue2046] seek to 0 is broken in specific file

2010-06-28 Thread aviad rozenhek

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

with this file (sample seek_forward_then_to_0_not_working.mp4 uploaded 
to mplayer/incoming) when seeking to 0, seeking fails in the sense that 
stream #1 (audio) doesnt seek at all, while stream #0 (video) does 
indeed seek to 0.

the file seek_forward_then_to_0_not_working.mp4.txt (also uploaded by 
ftp) contains a test case which shows the problem.

--
files: seek_forward_then_to_0_not_working.mp4.txt
messages: 10976
priority: normal
status: new
substatus: new
title: seek to 0 is broken in specific file
type: bug


FFmpeg issue tracker iss...@roundup.ffmpeg.org
https://roundup.ffmpeg.org/issue2046
/*
 * Text file accompanying the sample seek_forward_then_to_0_not_working.mp4
 *
 * in this sample, when seeking forward, and then seeking back to 0, the audio 
stream does not actually seek to 0.
 * when reading, it will actually supply packets from before it was seeked back 
to 0.
 *
 * unfortunately I cannot reproduce using run-of-the-mill ffmpeg or ffplay, 
because I can't get them to seek to arbitrary point, and then seek exactly to 0.
 * below is a very simple test case using libav* that does the same thing, and 
shows the problem
 *
 * for completeness: here is the version information about libav* libraries I 
am using
 *
 * FFmpeg version SVN-r23391, Copyright (c) 2000-2010 the FFmpeg developers
 *   built on May 31 2010 04:07:01 with gcc 4.4.2
 *   configuration: --target-os=mingw32 --enable-runtime-cpudetect 
--enable-avisynth --enable-gpl --enable-version3 --enabl
 * e-bzlib --enable-libgsm --enable-libfaad --enable-pthreads 
--enable-libvorbis --enable-libtheora --enable-libspeex --ena
 * ble-libmp3lame --enable-libopenjpeg --enable-libxvid 
--enable-libschroedinger --enable-libx264 --extra-libs='-lx264 -lpt
 * hread' --enable-libopencore_amrwb --enable-libopencore_amrnb 
--enable-librtmp --extra-libs='-lrtmp -lssl -lcrypto -lws2_
 * 32 -lgdi32 -lwinmm -lcrypt32 -lz' --arch=x86 --cross-prefix=i686-mingw32- 
--cc='ccache i686-mingw32-gcc' --enable-memali
 * gn-hack --enable-shared --disable-static
 *   libavutil 50.16. 0 / 50.16. 0
 *   libavcodec52.72. 0 / 52.72. 0
 *   libavformat   52.67. 0 / 52.67. 0
 *   libavdevice   52. 2. 0 / 52. 2. 0
 *   libavfilter1.20. 0 /  1.20. 0
 *   libswscale 0.10. 0 /  0.10. 0
 * Hyper fast Audio and Video encoder
 *
 *
 *
 * Regards:
 * Aviad Rozenhek
 * avia...@gmail.com
 *
 */

// google unit test framework
#include gtest/gtest.h
#include gtest/gtest-spi.h

#include inttypes.h
#include stdint.h

#ifdef _MSC_VER
#include intsafe.h
#endif

extern C {
#   include libavformat/avformat.h
}

///
/// test case that tests the ability to seek forward into file,
/// and then seek to 0 timestamp.
TEST(AVFormat, seek_test) 
{
int result;
int read_packets;
int streams_with_read_packet;
int all_streams_with_read_packet;
int64_t first_timestamp, last_timestamp;
AVPacket packet;
AVFormatContext* fmt;
AVRational avtimebaseq = {1, AV_TIME_BASE};

ASSERT_EQ(0, result = av_open_input_file(fmt, 
PlanetEarth.Jungles.1080i.DivX.AC3.mkv.mp4, NULL, 0, NULL));
ASSERT_LE(0, result = av_find_stream_info(fmt));

/// seek 20 minutes forward
ASSERT_LE(0, result = av_seek_frame(fmt, -1, 20 * 60 * AV_TIME_BASE, 
0));

read_packets = 0;
streams_with_read_packet = 0;
all_streams_with_read_packet = (1  fmt-nb_streams) - 1;
first_timestamp = INT64_MAX;
last_timestamp  = INT64_MIN;
do {
ASSERT_LE(0, av_read_frame(fmt, packet));
streams_with_read_packet |= (1  packet.stream_index);
read_packets++;

first_timestamp = FFMIN(first_timestamp, 
av_rescale_q(packet.dts, fmt-streams[packet.stream_index]-time_base, 
avtimebaseq));
last_timestamp  = FFMAX(last_timestamp , 
av_rescale_q(packet.dts, fmt-streams[packet.stream_index]-time_base, 
avtimebaseq));
}
while(streams_with_read_packet != all_streams_with_read_packet);

// we expect to be able to have read a packet from all streams by going 
through less than 1000 packets
// the actual value in this specific case is 2 packets
EXPECT_LE(read_packets, 2);

// we expect that there won't be much time difference between the first 
and last timestamp encountered
// the actual value in this specific case is 19139 ( = ~19ms )
EXPECT_LE(last_timestamp - first_timestamp, 60 * AV_TIME_BASE);

// seek back to 0
// XXX: this seems not to work properly for this file! see failed 
asserts below
ASSERT_LE(0, result = av_seek_frame(fmt, -1, 0, AVSEEK_FLAG_BACKWARD));

read_packets = 0;
streams_with_read_packet = 0

[issue2046] seek to 0 is broken in specific file

2010-06-28 Thread aviad rozenhek

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

Actually it is possible to reproduce the problem with ffplay:
1)
 ffplay seek_forward_then_to_0_not_working.mp4

2) maximize the window to full screen
3) seek using the mouse to the middle of the film
4) seek using the mouse to exactly the beginning of the film by clicking 
the mouse button on the leftmost part of the screen.
5) audio is stuck in a loop - bug reproduced.


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



[issue2148] mpegtsraw demuxer stuck in av_find_stream_info

2010-08-05 Thread aviad rozenhek

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

when using mpegtsraw demuxer, ffmpeg gets stuck forever in 
av_find_stream_info() function.

to reproduce:
# step 1: create mpegts stream
 ffmpeg -re -i input_file -f mpegts udp://localhost:1234
# step 2: (in different console window) 
# ingest mpegts stream, this is the step that hangs
 ffmpeg -f mpegtsraw -i udp://localhost?localport=1234

--
messages: 11580
priority: normal
status: new
substatus: new
title: mpegtsraw demuxer stuck in av_find_stream_info
topic: avformat, ffmpeg
type: bug


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



[issue2148] mpegtsraw demuxer stuck in av_find_stream_info

2010-08-05 Thread aviad rozenhek

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

the receiving instance hangs indefinetly, until pressing 'q'.
after pressing 'q' this is the output:

FFmpeg version SVN-r24704, Copyright (c) 2000-2010 the FFmpeg developers
  built on Aug  5 2010 04:13:40 with gcc 4.4.2
  configuration: --enable-gpl --enable-version3 --enable-libgsm --
enable-pthreads --enable-libvorbis --enable-libtheora
--enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-
libschroedinger --enable-libopencore_amrwb --enable-
libopencore_amrnb --enable-libvpx --arch=x86 --enable-runtime-cpudetect 
--enable-libxvid --enable-libx264 --extra-libs='
-lx264 -lpthread' --enable-librtmp --extra-libs='-lrtmp -lpolarssl -
lws2_32 -lwinmm' --target-os=mingw32 --enable-avisyn
th --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-
memalign-hack
  libavutil 50.23. 0 / 50.23. 0
  libavcore  0. 2. 0 /  0. 2. 0
  libavcodec52.84. 2 / 52.84. 2
  libavformat   52.78. 0 / 52.78. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.27. 0 /  1.27. 0
  libswscale 0.11. 0 /  0.11. 0
[mpegtsraw @ 01eac4a0] Estimating duration from bitrate, this may be 
inaccurate
Input #0, mpegtsraw, from 'udp://localhost?localport=1234':
  Duration: N/A, start: 5.434235, bitrate: 1112 kb/s
Stream #0.0[0x0]: Data: mpeg2ts, 1112 kb/s
At least one output file must be specified


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



[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



[issue2606] invalid timestamp in .ts file

2011-02-14 Thread aviad rozenhek

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

a multicast stream was captured to .ts file and 
tested in ffmpeg, 
resulting in various errors.

the said .ts stream plays fine on a number of set-top 
boxes.
the file will be uploaded to ftp.

here is a printout of running ffmpeg on the file.
after skipping the usual decode_slice_header error 
we get to the more 
interesting error:
[mpegts @ 004eaf70] Invalid timestamps stream=0, 
pts=6499414995, 
dts=6499416496, size=3431


ffmpeg -debug 1 -i invalid_timestamps.ts

FFmpeg version SVN-r26095, Copyright (c) 2000-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-libvorbis --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 -
lpolarssl -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 @ 004eaf70] Probed with size=2048 and score=100
[mpegts @ 004eaf70] stream=0 stream_type=1b pid=800 
prog_reg_desc=CUEI
[mpegts @ 004eaf70] stream=1 stream_type=87 pid=3e8 
prog_reg_desc=CUEI
[mpegts @ 004eaf70] stream=2 stream_type=f pid=3e9 
prog_reg_desc=CUEI
[mpegts @ 004eaf70] stream=3 stream_type=86 pid=100 
prog_reg_desc=CUEI
[mpegts @ 004eaf70] Invalid timestamps stream=0, 
pts=6498946527, 
dts=6498948028, size=2791
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[mpegts @ 004eaf70] Invalid timestamps stream=0, 
pts=6498952533, 
dts=6498954034, size=2383
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[mpegts @ 004eaf70] probing stream 1
Last message repeated 1 times
[mpegts @ 004eaf70] Probe with size=6132, packets=2 
detected eac3 with 
score=51
[mpegts @ 004eaf70] probed stream 1
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[mpegts @ 004eaf70] Invalid timestamps stream=0, 
pts=6498958539, 
dts=6498960040, size=2248
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[mpegts @ 004eaf70] Invalid timestamps stream=0, 
pts=6498964545, 
dts=6498966046, size=2786
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0 referenced
[h264 @ 020986e0] decode_slice_header error
[h264 @ 020986e0] no frame!
[h264 @ 020986e0] non-existing PPS referenced
[h264 @ 020986e0] non-existing PPS 0

[issue2606] invalid timestamp in .ts file

2011-02-14 Thread aviad rozenhek

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

sample was uploaded to incoming in the 
issue_2606_invalid_timestamps/ directory


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



[issue2625] ffplay crashes on TS file with bogus data

2011-02-24 Thread aviad rozenhek

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

sometimes the input TS we need to process gets a little bogus and 
unusable.
in this case, it makes sense the decoding produces error messages 
instead of actual frames.
the problem is that in some cases ffplay/ffmpeg  simply crashes, whereas 
other stacks such as windows media player or mainconcept simply skip the 
problematic parts.

sample will be uploaded to incoming [30mb]

--
messages: 13758
priority: normal
status: new
substatus: new
title: ffplay crashes on TS file with bogus data
type: bug


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



[issue2625] ffplay crashes on TS file with bogus data

2011-02-24 Thread aviad rozenhek

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

samples uploaded to incoming/issue_2625_actual_problematic_files

--
topic: +avcodec, avformat, ffplay


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



[issue2606] invalid timestamp in .ts file

2011-02-24 Thread aviad rozenhek

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

on the samples where the Invalid timestamps stream comes up, the pts/dts 
are AV_NOPTS_VALUE, this makes it hard to use/queue/process the frames in 
a realtime or time-based application


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