[MPlayer-users] Flv seeking woes, revisited

Dennis Nezic dennisn at dennisn.dyndns.org
Sat Jul 31 00:26:30 CEST 2010


mplayer still has trouble seeking in flv files.

ie. http://www.youtube.com/watch?v=ck-z4-B8_5k
(if you can rip the .flv file with a tool like clive)

Seeking seems to work with ffplay:
FFplay version 0.6,
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[flv @ 0x697ee0]Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'incoming/DontUnplugmeAllCaps.flv':
  Metadata:
    duration        : 236
    starttime       : 0
    totalduration   : 236
    width           : 400
    height          : 226
    videodatarate   : 259
    audiodatarate   : 58
    totaldatarate   : 324
    framerate       : 25
    bytelength      : 9546528
    canseekontime   : true
    sourcedata      : B4A7D0CC2HH1280522047736900
    purl            : 
    pmsg            : 
  Duration: 00:03:55.64, start: 0.000000, bitrate: 272 kb/s
    Stream #0.0: Video: flv, yuv420p, 400x226, 264 kb/s, 25 tbr, 1k
tbn, 1k tbc Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 8 kb/s


Not so with mplayer:
MPlayer SVN-r30554-4.3.2,
libavformat file format detected.
[flv @ 0x143d7f0]Estimating duration from bitrate, this may be
inaccurate [lavf] stream 0: video (flv), -vid 0
[lavf] stream 1: audio (mp3), -aid 0
VIDEO:  [FLV1]  400x226  0bpp  25.000 fps  264.8 kbps (32.3 kbyte/s)
Clip info:
 duration: 236
 starttime: 0
 totalduration: 236
 width: 400
 height: 226
 videodatarate: 259
 audiodatarate: 58
 totaldatarate: 324
 framerate: 25
 bytelength: 9546528
 canseekontime: true
 sourcedata: B4A7D0CC2HH1280522047736900
==========================================================================
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, 8.0 kbit/1.13% (ratio: 1000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 400x226 => 400x226 Planar YV12 
Cache not responding!:  0.004 ct: -0.000   0/  0  7%  6%  1.6% 0 0 97% 
big_values too large!A-V:-495099.406 ct: -0.826   0/  0 ??% ??% ??,?% 1
0 0% big_values too large!
big_values too large!
mpg123: Can't rewind stream by 23 bits!
[flv @ 0xb67500]illegal ac vlc code at 24x14
[flv @ 0xb67500]Error at MB: 388
[flv @ 0xb67500]concealing 103 DC, 103 AC, 103 MV errors



More information about the MPlayer-users mailing list