Code Monkey home page Code Monkey logo

convertio-php's People

Contributors

dantist avatar lucasconstantino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

convertio-php's Issues

How to convert PPTX to Multiples PNG's or JPEG's ?

I have tested this code below and it's working perfectly, but I'd like to convert PPTX to Multiples PNG files which is possible by your web site.

How can I change this code to achieve that?

`<?php
require_once 'vendor/autoload.php';
use \Convertio\Convertio;

$API = new Convertio("");
$API->start('myfile.pptx', 'pdf')->wait()->download('./output.pdf')->delete();`

Convertio SSL certificate expired?

I'm getting the following message from the API:

PHP Fatal error:  Uncaught Convertio\Exceptions\CURLException: SSL certificate problem: certificate has expired in /foobar/public_html/wp-content/plugins/fff-api/includes/convertio/src/API.php:177

Java api

Hello, do you have a Java SDK or Java can only use REST API for document conversion?

Progress Bar and HTTP ERROR on Bigger Files

Hi,
This API Solved my very big problem. But, I am having 2 issues.

  1. I want to show the PROGRESS bar while it is converting file. Progress bar where users can see there file is being converted. 0 to 100%

  2. When i try to convert a Bigger file. 25 or 30 MB, it gives HTTP ERROR.

I am having only these 2 issues. Kindly Reply me soon with these please.

require_once 'convertio-php-master/autoload.php';
 use \Convertio\Convertio;
  use \Convertio\Exceptions\APIException;
  use \Convertio\Exceptions\CURLException;

		$image_name = $_FILES['audio']['name'];
		$image_size =$_FILES['audio']['size'];
		$image_tmp =$_FILES['audio']['tmp_name'];
		$image_name = $image_name;
		$runn = move_uploaded_file($image_tmp,'temp_music/'.$image_name);
		
		if($runn){
		$fil = explode('.', $image_name);
		$FileName = $fil[0];
		$RenameValue = $FileName.'_MU.mp3';
		$_SESSION['FileName'] = $RenameValue;
	
      $API = new Convertio("API KEY REMOVED");        
     $API->startFromURL('https://musicuploads.com.au/musicuploads/temp_music/'.$image_name, 'mp3')   // Convert (Render) HTML Page to PNG
	 
  ->wait()  // Wait for conversion finish
  
  ->download('./converted_files/'.$RenameValue)                // Download Result To Local File
  ->delete();  
	$delTemp = unlink('temp_music/'.$image_name);
  
if($delTemp){
echo '<script>location.href="music_converted.php"</script>';
}
 }

Kindly Provide me Response Soon

convertio mp3 to ogg (OPUS)

How to convert mp3 file to ogg with OPUS codec? I use this code, but conversion occurs in Vorbis codec

$API->start( $file, 'ogg', [
'audio' => ['codec' => 'opus'],
"callback_url" => "####",

]);

Issue with startFromURL for google drive download URL

I have the following URL which downloaded a word document which I want to convert to PDF
https://docs.google.com/uc?id=0BzY2TjE6XKcgU05CTmRuV18zbDQ&export=download

I have the following code

$API->startFromURL('https://docs.google.com/uc?id=0BzY2TjE6XKcgU05CTmRuV18zbDQ&export=download', 'PDF')->wait()->download('./output.pdf')->delete();

This code errors out 404
'The system is unable to find the requested action' in /home/pawsandc/public_html/pdf/src/API.php:170

if I change the url to say
$API->startFromURL('http://pawsclaws.org.au/pdf/Conrad.docx', 'PDF')->wait()->download('./output.pdf')->delete();

it works.

enter the google download URL on the website here works
https://convertio.co/document-converter/

so not sure why using the API does not work....

Cannot install with composer

Hi guys, when I try to install this library with composer I get the following error;
"The requested package convertio/convertio-php could not be found in any version, there may be a typo in the package name.", which is not the case. Also when I try to install it with CLI I get a stability error, and even when set to "dev", it will not install.

Cannot access offset of type string on string

We get this error (sometimes) when calling the start method:

$api = new Convertio('CONVERTIO_TOKEN');
$api->start($path, $format);

Error generates on line convertio/convertio-php/src/Convertio.php:174

Audio convertion from stream-buffering source

When I try converting an podcast audio file direct URL from invidio.us, which lasts for more than 90 minutes, convertio's tool only converts less than 30 minutes from the audio file. So I am forced to download it from the original source and then upload it to convert.io

Would this problem also occur with convertio's API ?

convert to csv

Hi guys,

Is there settings for csv delimiter output ?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.