Is it possible for grabber to get flv from flv url and create thumb?
For example sponsor provide only this link: spon.com/flv/video.flv
There is no thumb url.
I tried to grab, it grabs only flv, but does not create any thumb.
I have ImageMagic, ffmpeg and all such modules installed....
Thanks,
Grabber question
Re: Grabber question
Add mplayer in rotation settings and set Parse video during import
Don't forget to run script update
-
- Posts: 60
- Joined: Wed Feb 20, 2013 6:27 pm
Re: Grabber question
I've done this already, but there is no thumbadmin wrote:Add mplayer in rotation settings and set Parse video during import
Mplayer is set on with correct path, Parse videos:YES
Here is grabber logs:
2013-02-21 07:33 DL html http://mydomain.com/gallery/admin-added ... index.html (0.06659984588623, 0.0064079761505127)
2013-02-21 07:33 Linked files : 1...0 (0.067441940307617, 0.00084209442138672)
2013-02-21 07:33 DL big content http://source.com/1.flv => 0_138.flv (0.067734003067017, 0.00029206275939941)
2013-02-21 07:33 Uploading files ../tmp/2074 (5.6659049987793, 5.5981709957123)
2013-02-21 07:33 Nothing to grab (6.1234309673309, 0.45752596855164)
-
- Posts: 60
- Joined: Wed Feb 20, 2013 6:27 pm
Re: Grabber question
2013-02-21 07:34 Processing http://domain.com/scj/tube/?content_id= ... d3ba7720ac (5283) (0.040369987487793, 0.040369987487793)
2013-02-21 07:34 Looking for video files (0.043385028839111, 0.0030150413513184)
2013-02-21 07:34 Downloading video http://domain.com/scj/thumbs/galleries/2/074/0_138.flv (../tmp/387e012d00d3a2f3625c78385a941c9a74.flv) (0.043564081192017, 0.00017905235290527)
2013-02-21 07:34 MK thumbs ../tmp/387e012d00d3a2f3625c78385a941c9a74.flv from 10 to 350.14 (0.81276297569275, 0.76919889450073)
2013-02-21 07:34 Make thumbs: /usr/bin/mplayer -ss 0 -fps 10000 -nosound -vo jpeg:quality=100:outdir=../tmp/387e012d00d3a2f3625c78385a941c9a69 -vf framestep=4377 -ao null ../tmp/387e012d00d3a2f3625c78385a941c9a74.flv (0.81305003166199, 0.00028705596923828)
2013-02-21 07:34 Total images 2 (5.0424621105194, 4.2294120788574)
2013-02-21 07:34 size 26193 (5.0427191257477, 0.00025701522827148)
2013-02-21 07:34 Process thumb ... (5.0428750514984, 0.00015592575073242)
2013-02-21 07:34 Copy for preview (5.0435750484467, 0.00069999694824219)
2013-02-21 07:34 Detect size (5.0439100265503, 0.0003349781036377)
2013-02-21 07:34 ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp : 342x240 (5.0441300868988, 0.00022006034851074)
2013-02-21 07:34 Creating thumb ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp (400x300) (PF: 3, Orig: 342x240) (5.0443251132965, 0.00019502639770508)
2013-02-21 07:34 Creating thumb (../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp.jpg.tmp.jpg -> ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp.jpg) (5.0448861122131, 0.00056099891662598)
2013-02-21 07:34 Size: 342x240 thumb: 400x300
thumb_ratio: 1.3333333333333 img_ratio: 1.425 (5.0935659408569, 0.048679828643799)
2013-02-21 07:34 IM Cmd : /usr/local/bin//convert ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp.jpg.tmp.jpg -crop 320x240+11+0 -resize 400x300! -filter Blackman -strip ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp.jpg (5.093976020813, 0.00041007995605469)
2013-02-21 07:34 DL movie http://domain.com/scj/thumbs/galleries/2/074/0_138.flv to check video duration (5.151967048645, 0.057991027832031)
2013-02-21 07:34 We already have this file downloaded (5.1521501541138, 0.00018310546875)
2013-02-21 07:34 Update DB (5.1936860084534, 0.0415358543396)
2013-02-21 07:34 Looking for video files (0.043385028839111, 0.0030150413513184)
2013-02-21 07:34 Downloading video http://domain.com/scj/thumbs/galleries/2/074/0_138.flv (../tmp/387e012d00d3a2f3625c78385a941c9a74.flv) (0.043564081192017, 0.00017905235290527)
2013-02-21 07:34 MK thumbs ../tmp/387e012d00d3a2f3625c78385a941c9a74.flv from 10 to 350.14 (0.81276297569275, 0.76919889450073)
2013-02-21 07:34 Make thumbs: /usr/bin/mplayer -ss 0 -fps 10000 -nosound -vo jpeg:quality=100:outdir=../tmp/387e012d00d3a2f3625c78385a941c9a69 -vf framestep=4377 -ao null ../tmp/387e012d00d3a2f3625c78385a941c9a74.flv (0.81305003166199, 0.00028705596923828)
2013-02-21 07:34 Total images 2 (5.0424621105194, 4.2294120788574)
2013-02-21 07:34 size 26193 (5.0427191257477, 0.00025701522827148)
2013-02-21 07:34 Process thumb ... (5.0428750514984, 0.00015592575073242)
2013-02-21 07:34 Copy for preview (5.0435750484467, 0.00069999694824219)
2013-02-21 07:34 Detect size (5.0439100265503, 0.0003349781036377)
2013-02-21 07:34 ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp : 342x240 (5.0441300868988, 0.00022006034851074)
2013-02-21 07:34 Creating thumb ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp (400x300) (PF: 3, Orig: 342x240) (5.0443251132965, 0.00019502639770508)
2013-02-21 07:34 Creating thumb (../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp.jpg.tmp.jpg -> ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp.jpg) (5.0448861122131, 0.00056099891662598)
2013-02-21 07:34 Size: 342x240 thumb: 400x300
thumb_ratio: 1.3333333333333 img_ratio: 1.425 (5.0935659408569, 0.048679828643799)
2013-02-21 07:34 IM Cmd : /usr/local/bin//convert ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp.jpg.tmp.jpg -crop 320x240+11+0 -resize 400x300! -filter Blackman -strip ../tmp/mov_387e012d00d3a2f3625c78385a941c9a1.tmp.jpg (5.093976020813, 0.00041007995605469)
2013-02-21 07:34 DL movie http://domain.com/scj/thumbs/galleries/2/074/0_138.flv to check video duration (5.151967048645, 0.057991027832031)
2013-02-21 07:34 We already have this file downloaded (5.1521501541138, 0.00018310546875)
2013-02-21 07:34 Update DB (5.1936860084534, 0.0415358543396)
Re: Grabber question
Looks like thumb was created
why do you think it was not ?
why do you think it was not ?
Don't forget to run script update
-
- Posts: 60
- Joined: Wed Feb 20, 2013 6:27 pm
Re: Grabber question
Hello,
I found it - it was in Rotation - Preload link...
The problem is when I click links at bottom - Add to Pool/Active and gallery disappears.
When I grab gallery and put in grabber - put as "Active" - it appears, there is thumb as well...
And the weirdest thing - thumb url is written in players code (flash vars) like this:
image=/scj/thumbs/5/286flvpreview_flvpreview.jpg
But there is no thumb on screen
I can open mydomain.com/scj/thumbs/5/286flvpreview_flvpreview.jpg in browser...
EDIT: Found the problem: in player code it is written player width=0 height=0
I changed in gallery flv width/height and now everything works!
In short:
Grabbing only .flv (without thumb) is working only when I put in grabber to put grabbed galleries as Active/Pool (Preload works, but later they disappears)
Grabbed gallery is OK but I have to add flv width height manual.
Thanks for support.
I found it - it was in Rotation - Preload link...
The problem is when I click links at bottom - Add to Pool/Active and gallery disappears.
When I grab gallery and put in grabber - put as "Active" - it appears, there is thumb as well...
And the weirdest thing - thumb url is written in players code (flash vars) like this:
image=/scj/thumbs/5/286flvpreview_flvpreview.jpg
But there is no thumb on screen
I can open mydomain.com/scj/thumbs/5/286flvpreview_flvpreview.jpg in browser...
EDIT: Found the problem: in player code it is written player width=0 height=0
I changed in gallery flv width/height and now everything works!
In short:
Grabbing only .flv (without thumb) is working only when I put in grabber to put grabbed galleries as Active/Pool (Preload works, but later they disappears)
Grabbed gallery is OK but I have to add flv width height manual.
Thanks for support.
Re: Grabber question
Disappear from where ? rotation - preload ?Grabbing only .flv (without thumb) is working only when I put in grabber to put grabbed galleries as Active/Pool (Preload works, but later they disappears)
Edit template.Grabbed gallery is OK but I have to add flv width height manual.
Or add mplayer - script will detect movie dimensions automatically.
Don't forget to run script update
-
- Posts: 60
- Joined: Wed Feb 20, 2013 6:27 pm
Re: Grabber question
Thanks for advice!admin wrote:Disappear from where ? rotation - preload ?Grabbing only .flv (without thumb) is working only when I put in grabber to put grabbed galleries as Active/Pool (Preload works, but later they disappears)
Disappear from rotation, from preload, from thumb list, there is no such thumb/gallery....
Edit template.Grabbed gallery is OK but I have to add flv width height manual.
Or add mplayer - script will detect movie dimensions automatically.