Opened 14 years ago

Last modified 14 years ago

#1713 closed defect (worksforme)

mplayer fails to seek in .flv files

Reported by: fierevere@… Owned by: r_togni@…
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Mplayer cannot seek in flv files, if i am trying to FF a FLV movie with right arrow button mplayer is exiting, full output:

MPlayer SVN-r31394-4.3.5 (C) 2000-2010 MPlayer Team

Playing giorgos-opa-gr.flv.
Cache fill: 0.00% (0 bytes)
libavformat file format detected.
[flv @ 0x8fbdd90]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0
VIDEO: [H264] 640x360 0bpp 25.000 fps 687.5 kbps (83.9 kbyte/s)
Clip info:

duration: 274
starttime: 0
totalduration: 274
width: 640
height: 360
videodatarate: 671
audiodatarate: 60
totaldatarate: 736
framerate: 25
bytelength: 25260574
canseekontime: true
sourcedata: B4A7DAD03HH1275180641004251
purl:
pmsg:

Cache not responding!
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 61.7 kbit/4.37% (ratio: 7707->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 640x360 => 640x360 Planar YV12
[h264 @ 0x8917b80]Reference 3 >= 3 0.012 0/ 0 ??% ??% ??,?% 0 0 0%
[h264 @ 0x8917b80]error while decoding MB 10 0, bytestream (1054)
[h264 @ 0x8917b80]concealing 920 DC, 920 AC, 920 MV errors
A: 12.2 V: 12.2 A-V: 0.007 ct: 0.014 0/ 0 ??% ??% ??,?% 0 0 0%
Exiting... (End of file)

example flv, but it is only one of the many, mplayer cannot seek in nearly all flv that i save from youtube and other sites.
http://narod.ru/disk/21829665000/giorgos-opa-gr.flv.html

If not skip (FF with right arrow button) - movie is played fine until the end

Latest flawlessly working revision - 30554 ( Gentoo snapshot 20100506 )

Gentoo ~x86 environment, USE flags for mplayer compilation - X a52 aalib alsa amr ass cddb cdio cdparanoia dirac dts dv dvd dvdnav enca encode faac faad ftp gif iconv ipv6 joystick jpeg jpeg2k live lzo mad md5sum mmx mmxext mng mp3 network opengl osdmenu png quicktime radio rar real rtc schroedinger shm speex sse sse2 theora toolame tremor truetype twolame unicode v4l v4l2 vdpau vorbis vpx win32codecs x264 xscreensaver xv xvid -3dnow -3dnowext (-altivec) -bidi -bindist -bl -bs2b -cpudetection -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3 -esd -fbcon -ggi -gmplayer -jack -ladspa -libcaca -lirc -nas -nut -openal -oss -pnm -pulseaudio -pvr -samba -sdl -ssse3 -svga -tga -vidix -xanim -xinerama -xvmc -zoran

Change History (3)

comment:1 by fierevere@…, 14 years ago

removed all mplayer.conf files, clean mplayer works correctly, fails with smplayer:

XV:
mplayer -noquiet -nofs -nomouseinput -lavdopts threads=2 -sub-fuzziness 1 -identify -slave -vo xv -ao alsa -nokeepaspect -framedrop -nodr -nodouble -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 27263013 -monitorpixelaspect 1 -noass -subfont-autoscale 1 -subfont-text-scale 5 -subcp enca:ru:UTF-8 -vid 0 -subpos 100 -volume 51 -cache 16384 -osdlevel 0 -vf-add kerndeint=5 -vf-add pp -autoq 2 -vf-add screenshot -noslices -channels 6 -af volnorm=1,scaletempo -softvol -softvol-max 110 giorgos-opa-gr.flv

failure after fast FF , twice or more times ->
Opening video filter: [screenshot]
Opening video filter: [pp]
Opening video filter: [kerndeint=5]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
[PP] Using external postprocessing filter, max q = 6.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 61.7 kbit/4.37% (ratio: 7707->176400)
ID_AUDIO_BITRATE=61656
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
[h264 @ 0x8917b80]Cannot parallelize deblocking type 1, decoding such frames in sequential order
[PP] Using external postprocessing filter, max q = 6.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
[swscaler @ 0x89bc620]using unscaled yuv420p -> rgb24 special converter
VO: [xv] 640x360 => 640x360 Planar YV12
No bind found for key 'RIGHT'.
No bind found for key 'RIGHT'.
FAAD: Failed to decode frame: Unexpected channel configuration change
[h264 @ 0x8917b80]concealing 691 DC, 691 AC, 691 MV errors

VDPAU:
mplayer -noquiet -nofs -nomouseinput -vc ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau, -lavdopts threads=2 -sub-fuzziness 1 -identify -slave -vo vdpau -ao alsa -nokeepaspect -framedrop -nodr -nodouble -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 27263013 -monitorpixelaspect 1 -noass -subfont-autoscale 1 -subfont-text-scale 5 -subcp enca:ru:UTF-8 -vid 0 -subpos 100 -volume 51 -cache 16384 -osdlevel 0 -noslices -channels 6 -af volnorm=1,scaletempo -softvol -softvol-max 110 giorgos-opa-gr.flv

on any FF

Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
ID_VIDEO_CODEC=ffh264vdpau
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 61.7 kbit/4.37% (ratio: 7707->176400)
ID_AUDIO_BITRATE=61656
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=faad
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [vdpau] 640x360 => 640x360 H.264 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[h264_vdpau @ 0x8917b80]Cannot parallelize deblocking type 1, decoding such frames in sequential order
[flv @ 0x88afdc0]Unsupported video codec (d)
[flv @ 0x88afdc0]negative cts, previous timestamps might be wrong
[flv @ 0x88afdc0]Unsupported video codec (d)

comment:2 by fierevere@…, 14 years ago

Severity: majornormal

mplayer -noquiet -nofs -nomouseinput -vc ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau, -sub-fuzziness 1 -identify -slave -vo vdpau -ao alsa -nokeepaspect -framedrop -nodr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 48234533 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/sylvia/.config/smplayer/styles.ass -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos 100 -volume 50 -nocache -osdlevel 0 -slices -channels 6 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 giorgos-opa-gr.flv

this works.. (cleaned all smplayer configs)
Please reassign the bug to another (core?) component if necessary

comment:3 by compn, 14 years ago

Resolution: worksforme
Status: newclosed, patriotact@gmail.com

this bugzilla is just for mplayer, you can report bugs to smplayer here:
http://sourceforge.net/tracker/?group_id=185512&atid=913573

thanks for verifying where the bug is :)

Note: See TracTickets for help on using tickets.