VideoCache

Not work player with flv options metadata

by Snaiperb on 15 Nov 2009

Hi,
i don't know if it's bug in script or in my configuration lighttpd, but in original link to player with flv (example: http://www.blip.tv/file/2720920?utm_source=featured_ep&utm_medium=featured_ep)
I can start to look a film from the middle but after the film is downloaded with cache a film always begins at first though I have checked up also a file has metadata

flvtool2 -P /var/www/videocache/bliptv/Mayfarers-MeetTheMayfarersEpisode14FamilyRendezvous145.flv
---
/var/www/videocache/bliptv/Mayfarers-MeetTheMayfarersEpisode14FamilyRendezvous145.flv:
  duration: 214.072
  datasize: 2849
  audiodatarate: 80
  framerate: 24
  creationdate: unknown
  lasttimestamp: 214.047
  canSeekToEnd: true
  videocodecid: 4
  audiosize: 2278210
  lastkeyframetimestamp: 214.038
  videosize: 11731023
  audiodelay: 0.038
  filesize: 14012095
  keyframes:
    filepositions:
      - 3380
      - 19715
      - 80305
      - 123979
      - 328995
      - 486199
      - 638123
      - 779404
      - 927764
      - 1067553
      - 1199888
      - 1342453
      - 1479816
      - 1612335
      - 1757154
      - 1897168
      - 2036720
      - 2171349
      - 2205339
      - 2328691
      - 2398437
      - 2544542
      - 2658949
      - 2802185
      - 2933697
      - 2997952
      - 3115621
      - 3155492
      - 3291743
      - 3424300
      - 3532575
      - 3664813
      - 3790257
      - 3879310
      - 4012562
      - 4140586
      - 4246237
      - 4374748
      - 4445018
      - 4571650
      - 4687259
      - 4832737
      - 4921704
      - 5026753
      - 5095153
      - 5219715
      - 5312755
      - 5443612
      - 5563144
      - 5684575
      - 5720166
      - 5846572
      - 5947622
      - 6073567
      - 6194856
      - 6226541
      - 6360127
      - 6476057
      - 6597516
      - 6720571
      - 6850249
      - 6971228
      - 7097810
      - 7216353
      - 7281643
      - 7389770
      - 7529376
      - 7663549
      - 7789924
      - 7860661
      - 8008687
      - 8145517
      - 8261401
      - 8367351
      - 8527761
      - 8646728
      - 8767414
      - 8872765
      - 9031764
      - 9130716
      - 9250976
      - 9373092
      - 9520913
      - 9648381
      - 9777347
      - 9816643
      - 9975168
      - 9997687
      - 10137286
      - 10220259
      - 10349571
      - 10470332
      - 10553961
      - 10706176
      - 10732971
      - 10856104
      - 10967539
      - 11110108
      - 11230355
      - 11300270
      - 11421771
      - 11441968
      - 11534737
      - 11656963
      - 11693105
      - 11853605
      - 11969387
      - 12071306
      - 12209306
      - 12253022
      - 12380732
      - 12471835
      - 12549173
      - 12663650
      - 12790599
      - 12830624
      - 12965055
      - 13043497
      - 13103341
      - 13182614
      - 13287907
      - 13393057
      - 13524381
      - 13676574
      - 13756862
      - 13832918
      - 13966755
    times:
      - 0.038
      - 1.371
      - 3.371
      - 4.955
      - 6.955
      - 8.955
      - 10.955
      - 12.955
      - 14.955
      - 16.955
      - 18.955
      - 20.955
      - 22.955
      - 24.955
      - 26.955
      - 28.955
      - 30.913
      - 32.913
      - 33.413
      - 35.413
      - 36.455
      - 38.455
      - 40.288
      - 42.288
      - 44.288
      - 45.371
      - 47.371
      - 48.038
      - 50.038
      - 52.038
      - 53.621
      - 55.621
      - 57.621
      - 59.121
      - 61.121
      - 63.121
      - 64.788
      - 66.788
      - 67.913
      - 69.913
      - 71.871
      - 73.871
      - 75.246
      - 76.871
      - 77.83
      - 79.83
      - 81.163
      - 83.038
      - 85.038
      - 87.038
      - 87.496
      - 89.371
      - 90.913
      - 92.913
      - 94.913
      - 95.288
      - 97.08
      - 98.871
      - 100.538
      - 102.538
      - 104.538
      - 106.538
      - 108.538
      - 110.538
      - 111.496
      - 113.08
      - 115.08
      - 116.913
      - 118.913
      - 119.996
      - 121.996
      - 123.996
      - 125.538
      - 127.288
      - 129.288
      - 131.121
      - 132.371
      - 134.163
      - 136.163
      - 137.788
      - 139.788
      - 141.788
      - 143.788
      - 145.788
      - 147.788
      - 148.246
      - 150.246
      - 150.58
      - 152.58
      - 154.08
      - 156.08
      - 158.08
      - 159.33
      - 161.33
      - 161.621
      - 163.621
      - 165.496
      - 167.496
      - 169.496
      - 170.413
      - 172.413
      - 172.746
      - 173.996
      - 175.996
      - 176.455
      - 178.455
      - 180.121
      - 181.705
      - 183.705
      - 184.33
      - 186.33
      - 187.705
      - 189.038
      - 190.913
      - 192.913
      - 193.538
      - 195.538
      - 196.705
      - 198.705
      - 200.705
      - 202.705
      - 204.705
      - 206.705
      - 208.705
      - 210.663
      - 212.663
      - 214.038
  height: 360
  metadatadate: Sun Nov 1 19:40:09 GMT+0200 2009
  metadatacreator: Manitu Group FLV MetaData Injector 2
  audiocodecid: 2
  videodatarate: 400
  width: 640
...

Can you recheck ?

Thanks

8 Answers

by Snaiperb on 22 Nov 2009

Hi,
any news about my problem ?

Thanks

by Kulbir Saini on 24 Nov 2009

Snaiperb,

I am sorry for the delay. Can you please lookup the lines with NEW_URL in videocache.log file corresponding to the same video_id? I think that URL (local) will give us a clue about the problem.

Thank You!

by Snaiperb on 24 Nov 2009

Hi,
thanks for your reply
example from videocache log:

2009-11-23 16:09:12,362 29116 <ip> - REQUEST - http://a-mirror.video3.blip.tv/Whatiwore-CampingChic959.flv?aktimeoffset=6&brs=3878&bri=6.2
2009-11-23 16:09:12,362 29116 <ip> Whatiwore-CampingChic959.flv URL_HIT BLIPTV http://a-mirror.video3.blip.tv/Whatiwore-CampingChic959.flv?aktimeoffset=6&brs=3878&bri=6.2
2009-11-23 16:09:12,363 29116 <ip> Whatiwore-CampingChic959.flv CACHE_HIT BLIPTV Video was served from cache.
2009-11-23 16:09:12,364 29116 <ip> Whatiwore-CampingChic959.flv NEW_URL BLIPTV 303:http://<ip server>:8080/videocache/bliptv/Whatiwore-CampingChic959.flv?aktimeoffset=6&brs=3878&bri=6.2

Thanks

by Kulbir Saini on 25 Nov 2009

Snaiperb,

Check the URL in the NEW_URL line in videocache.log. There is no host or IP Address and port is 8080 which is incorrect.

Please check the cache_host option in your /etc/videocache.conf file. It must be set to IP Address of your proxy server.

Thank You!

by Snaiperb on 25 Nov 2009

Hi,
please see new example

2009-11-25 13:57:40,942 4619 xxx.xxx.xxx.xxx AnyoneButMe-EricStoltzOnAnyoneButMe972.flv SCHEDULED BLIPTV Video scheduled for download.
2009-11-25 13:57:42,279 4616 127.0.0.1 - REQUEST - http://a-mirror.video3.blip.tv/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?brs=1547&bri=0.9
2009-11-25 13:57:42,279 4616 127.0.0.1 AnyoneButMe-EricStoltzOnAnyoneButMe972.flv URL_HIT BLIPTV http://a-mirror.video3.blip.tv/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?brs=1547&bri=0.9
2009-11-25 13:57:42,279 4616 127.0.0.1 AnyoneButMe-EricStoltzOnAnyoneButMe972.flv CACHE_MISS BLIPTV Requested video was not found in cache.
2009-11-25 13:57:42,282 4616 127.0.0.1 AnyoneButMe-EricStoltzOnAnyoneButMe972.flv NEW_URL BLIPTV http://a-mirror.video3.blip.tv/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?brs=1547&bri=0.9
2009-11-25 13:57:42,285 4616 127.0.0.1 - REQUEST - http://a2.video3.blip.tv/0140001546017/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?bri=0.9&brs=1547
2009-11-25 13:57:42,285 4616 127.0.0.1 AnyoneButMe-EricStoltzOnAnyoneButMe972.flv URL_HIT BLIPTV http://a2.video3.blip.tv/0140001546017/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?bri=0.9&brs=1547
2009-11-25 13:57:42,285 4616 127.0.0.1 AnyoneButMe-EricStoltzOnAnyoneButMe972.flv CACHE_MISS BLIPTV Requested video was not found in cache.
2009-11-25 13:57:42,287 4616 127.0.0.1 AnyoneButMe-EricStoltzOnAnyoneButMe972.flv NEW_URL BLIPTV http://a2.video3.blip.tv/0140001546017/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?bri=0.9&brs=1547
2009-11-25 13:57:45,123 4616 xxx.xxx.xxx.xxx - REQUEST - http://mirror.video.blip.tv/flashProfile.txt?n=684554&totalLoadTime=7.251&buffer=0.105&fileGet=7.158&fileType=.flv&bufferLength=3&postId=2898271&estBitrate=774&length=62&filesize=6138712&ssoverlay=NaN&sspreroll=NaN&fw_all=1.531&tubeMogulLoad=0.082&comscoreLoadTime=0&feedParseTime=0.685
2009-11-25 13:58:23,054 4788 xxx.xxx.xxx.xxx AnyoneButMe-EricStoltzOnAnyoneButMe972.flv DOWNLOAD BLIPTV 6138712 Video was downloaded and cached.
2009-11-25 13:58:39,440 4616 xxx.xxx.xxx.xxx - REQUEST - http://a-mirror.video3.blip.tv/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?brs=1547&bri=0.9
2009-11-25 13:58:39,440 4616 xxx.xxx.xxx.xxx AnyoneButMe-EricStoltzOnAnyoneButMe972.flv URL_HIT BLIPTV http://a-mirror.video3.blip.tv/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?brs=1547&bri=0.9
2009-11-25 13:58:39,441 4616 xxx.xxx.xxx.xxx AnyoneButMe-EricStoltzOnAnyoneButMe972.flv CACHE_HIT BLIPTV Video was served from cache.
2009-11-25 13:58:39,443 4616 xxx.xxx.xxx.xxx AnyoneButMe-EricStoltzOnAnyoneButMe972.flv NEW_URL BLIPTV 303:http://192.114.67.186/videocache/bliptv/AnyoneButMe-EricStoltzOnAnyoneButMe972.flv?brs=1547&bri=0.9
2009-11-25 13:58:48,883 4616 xxx.xxx.xxx.xxx - REQUEST - http://mirror.video.blip.tv/flashProfile.txt?n=517180&totalLoadTime=11.061&buffer=0.895&ssoverlay=NaN&sspreroll=NaN&fw_all=10.312&fileGet=10.179&fileType=.flv&bufferLength=3&postId=2898271&estBitrate=774&length=62&filesize=6138712&tubeMogulLoad=1.402&comscoreLoadTime=0&feedParseTime=0.15
by Kulbir Saini on 28 Nov 2009

Snaiperb,

I think the URL returned is fine now. It should work as expected.

Thank You!

by Snaiperb on 30 Nov 2009

Hi,
i still have problem with player
i can't jump in player to middle films

example in videocache.log

2009-11-30 14:15:06,646 19639 212.25.100.66 - REQUEST - http://a1.video2.blip.tv/5090002686623/Ajlp-ObamaAdministrationLeaksMediaInArgentina729.flv?bri=12.1&brs=971
2009-11-30 14:15:06,647 19639 212.25.100.66 Ajlp-ObamaAdministrationLeaksMediaInArgentina729.flv URL_HIT BLIPTV http://a1.video2.blip.tv/5090002686623/Ajlp-ObamaAdministrationLeaksMediaInArgentina729.flv?bri=12.1&brs=971
2009-11-30 14:15:06,648 19639 212.25.100.66 Ajlp-ObamaAdministrationLeaksMediaInArgentina729.flv CACHE_HIT BLIPTV Video was served from cache.
2009-11-30 14:15:06,650 19639 212.25.100.66 Ajlp-ObamaAdministrationLeaksMediaInArgentina729.flv NEW_URL BLIPTV 303:http://192.114.67.186/videocache/bliptv/Ajlp-ObamaAdministrationLeaksMediaInArgentina729.flv?bri=12.1&brs=971

i configured in my lighttpd server player
http://192.114.67.186/
and you can see it works fine .i can jump to middle in player.

can you check your redirect script ?

Thanks

by Kulbir Saini on 3 Dec 2009

Snaiperb,

It may be a lighttpd problem. Similar problem has been reported earlier. See this.

Thank You!

You need to sign in. Please sign in to add answer to this question.