Jump to content


Photo
- - - - -

New Video Grabber Released


  • Please log in to reply
7 replies to this topic

#1 Admin

Admin

    Administrator

  • Administrators
  • 1,189 posts

Posted 02 July 2014 - 10:16 PM

We have fixed and updated all existing grabbers and also added XHamster. Now, the grabber can pull HD videos, if they are available.

The new version can be downloaded from the Client Area.


Danny B.
Founder
ClipShare | MediaShare | AVS | CamChat


#2 master00

master00

    Junior Member

  • Members
  • Pip
  • 9 posts

Posted 03 July 2014 - 12:08 AM

I just bought this to grab xhamster videos but it's not working.

 

Grabs title, thumbnails, meta data fine but video isn't being converted.

 

Furthermore, I took a look at xhamster.class.php file and found the following function that makes no sense.

function getPlayerURL()
	{
		preg_match('/so1.addVariable\(\"config\", \"\/cgi-bin\/config.cgi\?(.*?)\"\);/ms', $this->page, $matches);
		if (isset($matches['1'])) {
			return 'http://www.boysfood.com/cgi-bin/config.cgi?'.$matches['1'];
		}
	}

How does boysfood.com have anything to do with xHamster!? This must be a programming error......

 

 

EDIT:

 

The problem seems to be that when grabbing an FLV file from xHamster the script attempts to reencode the FLV file via mencoder which causes the conversion to fail and the video never gets placed in the.

 

This grabber script should be adjusted so it doesn't try to re-encode FLV files.

/usr/bin/mencoder /home/user/public_html/media/videos/vid/8551.flv -o /home/user/public_html/media/videos/flv/8551_temp.flv -ovc lavc -lavcopts vcodec=flv:vbitrate=600:mbd=2:mv0:trell:v4mv:keyint=200:cbp:last_pred=3:predia=4:dia=4:preme=2:vmax_b_frames=0:vb_strategy=1 -of lavf -oac mp3lame -lameopts abr:br=64 -srate 44100 -ofps 25.000 -vf harddup -demuxer mov 2>&1


Edited by master00, 03 July 2014 - 12:22 AM.


#3 maK

maK

    Member

  • Members
  • PipPip
  • 39 posts
  • LocationBrazil

Posted 03 July 2014 - 01:05 AM

HD from pornhub is not working...

 

 

Ad0Whqk.png


logo2.png


#4 Admin

Admin

    Administrator

  • Administrators
  • 1,189 posts

Posted 03 July 2014 - 01:57 PM

@maK, maybe older ones. Newer ones, with HD icon, work fine.

Example: http://www.pornhub.c...ewkey=144532776


Danny B.
Founder
ClipShare | MediaShare | AVS | CamChat


#5 Admin

Admin

    Administrator

  • Administrators
  • 1,189 posts

Posted 03 July 2014 - 02:02 PM

@master00, yeah, seems like some videos on XHamster are encoded in a format that not even MediaInfo recognizes, and neither Mencoder/FFMPEG. The FLV file is properly pulled, but it is not converted, because it is not recognized.

 

Media Info
$vinfo['General_FileExtension'] = 'flv';
$vinfo['General_Duration'] = '';
$vinfo['General_Format'] = '';
$vinfo['General_Format_Profile'] = '';
$vinfo['General_CodecID'] = '';

 

============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

 

We will investigate further. 


Danny B.
Founder
ClipShare | MediaShare | AVS | CamChat


#6 master00

master00

    Junior Member

  • Members
  • Pip
  • 9 posts

Posted 03 July 2014 - 02:48 PM

@master00, yeah, seems like some videos on XHamster are encoded in a format that not even MediaInfo recognizes, and neither Mencoder/FFMPEG. The FLV file is properly pulled, but it is not converted, because it is not recognized.

 

When you enter a xHamster URL (SD video) in the grabber, it generates a link to the video that has an MP4 extension.

 

http://6.xhcdn.com/k...her_efforts.mp4

 

However, the video that shows up in the VID folder has an FLV extension.

 

If the video is moved directly from the VID folder to the FLV folder, then it will play fine. So, I think the trick would be to not attempt to reconvert the file that appears in the VID folder.

 

Because.....

 

If you take the FLV file that appears in the VID folder and upload that file to AVS (via the frontend upload form), it will run fine through media info and will upload without error. That seems to be because there is no attempt to re-encode the video because it is already in FLV format.

 

Example of a log file from grabbed xHamster FLV file (taken from VID folder) that is run through the front end uploader.


					
					

Edited by master00, 03 July 2014 - 02:48 PM.


#7 master00

master00

    Junior Member

  • Members
  • Pip
  • 9 posts

Posted 03 July 2014 - 02:49 PM

It won't let me post the log...?


Edited by master00, 03 July 2014 - 02:49 PM.


#8 apple82

apple82

    Member

  • Members
  • PipPipPipPip
  • 293 posts
  • LocationSpain

Posted 03 July 2014 - 05:25 PM

thanks I'll try the new update.