Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#654 closed defect (fixed)

cannot play flash video streams

Reported by: goetz.waschk@… Owned by: r_togni@…
Priority: normal Component: streaming
Version: HEAD Severity: normal
Keywords: VERIFIED Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

The above link is a Adobe Flash video (flv). It can be downloaded with wget and
played by mplayer, but streaming does not work:

[goetz@virgo 2007.1 mplayer]$ ./mplayer -ao null -vo null
http://portal.vpod.tv/jmbillaut/11439/stream/cdn
MPlayer dev-SVN-r21182-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 2400+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://portal.vpod.tv/jmbillaut/11439/stream/cdn.
Resolving portal.vpod.tv for AF_INET6...
Couldn't resolve name for AF_INET6: portal.vpod.tv
Resolving portal.vpod.tv for AF_INET...
Connecting to server portal.vpod.tv[217.174.193.163]: 80...
Resolving stream.vpod.tv for AF_INET6...
Couldn't resolve name for AF_INET6: stream.vpod.tv
Resolving stream.vpod.tv for AF_INET...
Connecting to server stream.vpod.tv[80.67.85.15]: 80...
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
Win32 LoadLibrary failed to load: avisynth.dll,
/usr/local/lib/codecs/avisynth.dll, /usr/lib/win32/avisynth.dll,
/usr/local/lib/win32/avisynth.dll
Stream not seekable!

If you download 20% the resulting file will play just fine:
[goetz@virgo 2007.1 mplayer]$ ./mplayer -ao null -vo null cdn
MPlayer dev-SVN-r21182-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 2400+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing cdn.
libavformat file format detected.
VIDEO: [FLV1] 292x240 0bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [null] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 292 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 292x240 => 292x240 Planar YV12
A: 14.6 V: 14.6 A-V: 0.013 ct: -0.001 220/220 1% 0% 0.3% 0 0
Exiting... (Quit)

This affects both svn head (r21182) and 1.0rc1. The test system is Mandriva
Cooker i586.

Change History (3)

comment:1 by compn, 17 years ago

op_sys: LinuxAll

what player CAN play this stream?
FLVPlayer (a non official flash player for win32) cant handle this stream.

probably someone has to add video/x-flv to the mime_type_table in network.c
and define the demuxer_type_flv somewhere.

mplayer says stream not seekable, and skipping packet when using -demuxer lavf.

D:\>mplaye -cache 6000 -cache-min 50 -demuxer lavf -v http://portal.vpod.tv/jmbi
llaut/11439/stream/cdn
MPlayer dev-SVN-r20995-3.2.3 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) processor (Family: 6, Model: 4, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> 'd:/cdrive/mplayer/mplayer/codecs.conf'
Reading d:/cdrive/mplayer/mplayer/codecs.conf: 102 audio & 225 video codecs
CommandLine: '-cache' '6000' '-cache-min' '50' '-demuxer' 'lavf' '-v' 'http://po
rtal.vpod.tv/jmbillaut/11439/stream/cdn'
init_freetype
c:\winnt\fonts\comic.ttf doesn't look like a bitmap font description, ignoring.
Cannot load bitmap font: c:\winnt\fonts\comic.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'd:/cdrive/mplayer/mplayer/fonts'
Using Windows native timing
get_path('input.conf') -> 'd:/cdrive/mplayer/mplayer/input.conf'
Parsing input config file d:/cdrive/mplayer/mplayer/input.conf
Input config file d:/cdrive/mplayer/mplayer/input.conf parsed: 44 binds
get_path('cdn.conf') -> 'd:/cdrive/mplayer/mplayer/cdn.conf'

Playing http://portal.vpod.tv/jmbillaut/11439/stream/cdn.
get_path('sub/') -> 'd:/cdrive/mplayer/mplayer/sub/'
WINSOCK2 init: 0
Filename for url is now http://portal.vpod.tv/jmbillaut/11439/stream/cdn
Filename for url is now http://portal.vpod.tv/jmbillaut/11439/stream/cdn
STREAM_HTTP(1), URL: http://portal.vpod.tv/jmbillaut/11439/stream/cdn
Resolving portal.vpod.tv for AF_INET...
Connecting to server portal.vpod.tv[217.174.193.163]: 80...
--- HTTP DEBUG HEADER --- START ---
protocol: [HTTP/1.0]
http minor version: [0]
uri: [(null)]
method: [(null)]
status code: [302]
reason phrase: [Found]
body size: [0]
Fields:

0 - Connection: close
1 - X-API: api4
2 - Set-Cookie: language=en; expires=Fri, 24-Nov-2006 03:47:38 GMT
3 - Set-Cookie: VPODSSID=382468f2b341812338f0cc347bd75ac2; expires=Wed, 29 Nov

2006 12:47:38 GMT; path=/

4 - Content-Type: video/x-flv
5 - Location: http://stream.vpod.tv//jmbillaut/11439/stream/cdn
6 - Content-Length: 0
7 - Date: Fri, 24 Nov 2006 02:47:39 GMT
8 - Server: lighttpd-vpod
9 - X-Host: vblog3

--- HTTP DEBUG HEADER --- END ---
Filename for url is now http://stream.vpod.tv//jmbillaut/11439/stream/cdn
Resolving stream.vpod.tv for AF_INET...
Connecting to server stream.vpod.tv[64.212.198.154]: 80...
--- HTTP DEBUG HEADER --- START ---
protocol: [HTTP/1.0]
http minor version: [0]
uri: [(null)]
method: [(null)]
status code: [200]
reason phrase: [OK]
body size: [1857]
Fields:

0 - X-API: api4
1 - Content-Type: video/x-flv
2 - X-Fast: 1
3 - Content-Length: 26036260
4 - Server: lighttpd-vpod
5 - X-Host: vblog3
6 - Date: Fri, 24 Nov 2006 02:47:39 GMT
7 - Connection: close

--- HTTP DEBUG HEADER --- END ---
Content-Type: [video/x-flv]
Content-Length: [26036260]
Cache size set to 6000 KBytes
STREAM: [null] http://portal.vpod.tv/jmbillaut/11439/stream/cdn
STREAM: Description: http streaming
STREAM: Author: Bertrand, Albeau, Reimar Doeffinger, Arpi?
STREAM: Comment: plain http
CACHE_PRE_INIT: 0 [0] 0 pre:3072000 eof:0
Cache fill: 49.33% (3031040 bytes)
LAVF_check: flv format
libavformat file format detected.
cache_stream_seek: WARNING! Can't seek to 0xFFFFFFFFFFFFFFFF !
cache_stream_seek: WARNING! Can't seek to 0xFFFFFFFFFFFFFFFC !
Stream not seekable!
cache_stream_seek: WARNING! Can't seek to 0xFFFFFFFFB9B3A9FC !
Stream not seekable!
[flv @ 005A8370]skipping flv packet: type 176, size 6356821, flags 0
Stream not seekable!
[flv @ 005A8370]skipping flv packet: type 44, size 2214194, flags 0
[flv @ 005A8370]skipping flv packet: type 6, size 9177133, flags 0
Stream not seekable!

comment:2 by r_togni@…, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in svn, please test

comment:3 by goetz.waschk@…, 17 years ago

Keywords: VERIFIED added

I can confirm that this is fixed in the r21629 snapshot.

Note: See TracTickets for help on using tickets.