Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#115 closed defect (worksforme)

mplayer on win32 doesnt play flash video (flv)

Reported by: bulk88@… Owned by: moritz@…
Priority: normal Component: demuxer
Version: 1.0pre5 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I uploaded to the mplayer ftp at ftp://mplayerhq.hu/MPlayer/incoming/ a sample
named "macromedia flash video not playing.flv". According to "mplayer -vc help"
I have the ffflv codec, that is part of ffmpeg, that SHOULD allow me to play
this file.

"file.flv" is the same file as "t.flv" which is the same file as "macromedia
flash video not playing.flv" which I uploaded to the mplayer ftp.

This file wont play with "mplayer file.flv" "mplayer -vc ffflv
file.flv" "mplayer -vc ffmpeg file.flv" "mplayer -vfm ffflv file.flv" "mplayer -
vfm ffmpeg file.flv". Below are the outputs of mplayer.

C:\mplayer>mplayer -v t.flv
MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 697.9 MHz (Family: 6, St
epping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/mplayer/mplayer/config
Reading C:/mplayer/mplayer/codecs.conf: Can't open 'C:/mplayer/mplayer/codecs.co
nf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 't.flv'
init_freetype
font: can't open file: c:/windows/fonts/arial.ttf
Cannot load font: c:/windows/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/mplayer/mplayer/input.conf'
Parsing input config file C:/mplayer/mplayer/input.conf
Input config file C:/mplayer/mplayer/input.conf parsed: 53 binds
get_path('t.flv.conf') -> 'C:/mplayer/mplayer/t.flv.conf'

Playing t.flv.
WINSOCK2 init: 0
[file] File size is 9335870 bytes
STREAM: [file] t.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 01861338
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 01861338
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 01861338
Checking for NuppelVideo
DEMUXER: freeing demuxer at 01861338
Checking for REAL
DEMUXER: freeing demuxer at 01861338
Checking for SMJPEG
DEMUXER: freeing demuxer at 01861338
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing demuxer at 01861BA0
Searching demuxer type for filename t.flv ext: .flv
Checking for MOV
DEMUXER: freeing demuxer at 01861BA0
Checking for VIVO
header block 1 size: 76
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing demuxer at 01861BA0
Checking for PVA
DEMUXER: freeing demuxer at 01861BA0
Checking for MPEG-TS...
TRIED UP TO POSITION 67527, FOUND 0, packet_size= 71, SEEMS A TS? 0
DEMUXER: freeing demuxer at 01861BA0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=17996 size=83886072
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 01861BA0
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0

sps: 0 pps: 0 PES: 0 MP3: 101

Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 01861BA0
==> Found audio stream: 0
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing sh_audio at 0185E8F8
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: freeing demuxer at 01861BA0
DEMUXER: freeing sh_video at 0185E9B0

WINSOCK2 uninit

Exiting... (End of file)

C:\mplayer>

C:\mplayer>mplayer -v -vfm ffmpeg t.flv
MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 129.2 MHz (Family: 6, St
epping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/mplayer/mplayer/config
Reading C:/mplayer/mplayer/codecs.conf: Can't open 'C:/mplayer/mplayer/codecs.co
nf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vfm' 'ffmpeg' 't.flv'
init_freetype
font: can't open file: c:/windows/fonts/arial.ttf
Cannot load font: c:/windows/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/mplayer/mplayer/input.conf'
Parsing input config file C:/mplayer/mplayer/input.conf
Input config file C:/mplayer/mplayer/input.conf parsed: 53 binds
get_path('t.flv.conf') -> 'C:/mplayer/mplayer/t.flv.conf'

Playing t.flv.
WINSOCK2 init: 0
[file] File size is 9335870 bytes
STREAM: [file] t.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 01861AB8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 01861AB8
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 01861AB8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 01861AB8
Checking for REAL
DEMUXER: freeing demuxer at 01861AB8
Checking for SMJPEG
DEMUXER: freeing demuxer at 01861AB8
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
Searching demuxer type for filename t.flv ext: .flv
Checking for MOV
DEMUXER: freeing demuxer at 01862320
Checking for VIVO
header block 1 size: 76
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
Checking for PVA
DEMUXER: freeing demuxer at 01862320
Checking for MPEG-TS...
TRIED UP TO POSITION 67527, FOUND 0, packet_size= 71, SEEMS A TS? 0
DEMUXER: freeing demuxer at 01862320
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=17996 size=83886072
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 01862320
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0

sps: 0 pps: 0 PES: 0 MP3: 101

Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 01862320
==> Found audio stream: 0
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing sh_audio at 0185E7F8
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing sh_video at 0185E8B0

WINSOCK2 uninit

Exiting... (End of file)

C:\mplayer>

C:\mplayer>mplayer -v -vfm ffflv t.flv
MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 155.5 MHz (Family: 6, St
epping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/mplayer/mplayer/config
Reading C:/mplayer/mplayer/codecs.conf: Can't open 'C:/mplayer/mplayer/codecs.co
nf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vfm' 'ffflv' 't.flv'
init_freetype
font: can't open file: c:/windows/fonts/arial.ttf
Cannot load font: c:/windows/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/mplayer/mplayer/input.conf'
Parsing input config file C:/mplayer/mplayer/input.conf
Input config file C:/mplayer/mplayer/input.conf parsed: 53 binds
get_path('t.flv.conf') -> 'C:/mplayer/mplayer/t.flv.conf'

Playing t.flv.
WINSOCK2 init: 0
[file] File size is 9335870 bytes
STREAM: [file] t.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 01861AB8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 01861AB8
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 01861AB8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 01861AB8
Checking for REAL
DEMUXER: freeing demuxer at 01861AB8
Checking for SMJPEG
DEMUXER: freeing demuxer at 01861AB8
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
Searching demuxer type for filename t.flv ext: .flv
Checking for MOV
DEMUXER: freeing demuxer at 01862320
Checking for VIVO
header block 1 size: 76
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
Checking for PVA
DEMUXER: freeing demuxer at 01862320
Checking for MPEG-TS...
TRIED UP TO POSITION 67527, FOUND 0, packet_size= 71, SEEMS A TS? 0
DEMUXER: freeing demuxer at 01862320
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=17996 size=83886072
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 01862320
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0

sps: 0 pps: 0 PES: 0 MP3: 101

Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 01862320
==> Found audio stream: 0
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing sh_audio at 0185E7F8
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing sh_video at 0185E8B0

WINSOCK2 uninit

Exiting... (End of file)

C:\mplayer>

C:\mplayer>mplayer -v -vc ffflv t.flv
MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 735.2 MHz (Family: 6, St
epping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/mplayer/mplayer/config
Reading C:/mplayer/mplayer/codecs.conf: Can't open 'C:/mplayer/mplayer/codecs.co
nf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vc' 'ffflv' 't.flv'
init_freetype
font: can't open file: c:/windows/fonts/arial.ttf
Cannot load font: c:/windows/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/mplayer/mplayer/input.conf'
Parsing input config file C:/mplayer/mplayer/input.conf
Input config file C:/mplayer/mplayer/input.conf parsed: 53 binds
get_path('t.flv.conf') -> 'C:/mplayer/mplayer/t.flv.conf'

Playing t.flv.
WINSOCK2 init: 0
[file] File size is 9335870 bytes
STREAM: [file] t.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 01861AB8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 01861AB8
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 01861AB8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 01861AB8
Checking for REAL
DEMUXER: freeing demuxer at 01861AB8
Checking for SMJPEG
DEMUXER: freeing demuxer at 01861AB8
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
Searching demuxer type for filename t.flv ext: .flv
Checking for MOV
DEMUXER: freeing demuxer at 01862320
Checking for VIVO
header block 1 size: 76
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
Checking for PVA
DEMUXER: freeing demuxer at 01862320
Checking for MPEG-TS...
TRIED UP TO POSITION 67527, FOUND 0, packet_size= 71, SEEMS A TS? 0
DEMUXER: freeing demuxer at 01862320
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=17996 size=83886072
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 01862320
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0

sps: 0 pps: 0 PES: 0 MP3: 101

Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 01862320
==> Found audio stream: 0
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing sh_audio at 0185E7F8
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing sh_video at 0185E8B0

WINSOCK2 uninit

Exiting... (End of file)

C:\mplayer>

C:\mplayer>mplayer -v -vc ffmpeg t.flv
MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 186.3 MHz (Family: 6, St
epping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/mplayer/mplayer/config
Reading C:/mplayer/mplayer/codecs.conf: Can't open 'C:/mplayer/mplayer/codecs.co
nf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vc' 'ffmpeg' 't.flv'
init_freetype
font: can't open file: c:/windows/fonts/arial.ttf
Cannot load font: c:/windows/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/mplayer/mplayer/input.conf'
Parsing input config file C:/mplayer/mplayer/input.conf
Input config file C:/mplayer/mplayer/input.conf parsed: 53 binds
get_path('t.flv.conf') -> 'C:/mplayer/mplayer/t.flv.conf'

Playing t.flv.
WINSOCK2 init: 0
[file] File size is 9335870 bytes
STREAM: [file] t.flv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 01861AB8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 01861AB8
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 01861AB8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 01861AB8
Checking for REAL
DEMUXER: freeing demuxer at 01861AB8
Checking for SMJPEG
DEMUXER: freeing demuxer at 01861AB8
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
Searching demuxer type for filename t.flv ext: .flv
Checking for MOV
DEMUXER: freeing demuxer at 01862320
Checking for VIVO
header block 1 size: 76
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing demuxer at 01862320
Checking for PVA
DEMUXER: freeing demuxer at 01862320
Checking for MPEG-TS...
TRIED UP TO POSITION 67527, FOUND 0, packet_size= 71, SEEMS A TS? 0
DEMUXER: freeing demuxer at 01862320
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=17996 size=83886072
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 01862320
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0

sps: 0 pps: 0 PES: 0 MP3: 101

Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 01862320
==> Found audio stream: 0
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing sh_audio at 0185E7F8
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: freeing demuxer at 01862320
DEMUXER: freeing sh_video at 0185E8B0

WINSOCK2 uninit

Exiting... (End of file)

C:\mplayer>

Change History (3)

comment:1 by bulk88@…, 20 years ago

I forgot to add that I did all this using the win32 build of mplayer on Windows
2000.

comment:2 by r_togni@…, 20 years ago

Looks like you don't have libavformat compiled in
The problem you're having is not codec related, so -vc and -vfm cannot help.
Player requires lavf to demux .flv files.

Recompile pre5 adding lavf (it's not included in pre5 tarball) or use latest cvs
(copying both libavcodec and libavformat from ffmpeg cvs)

comment:3 by r_togni@…, 20 years ago

Resolution: worksforme
Status: newclosed

Two weeks with no answer, works for me, bug closed

Note: See TracTickets for help on using tickets.