Every time I try to upload something I have this message :
Now uploading to your Youtube account...
PHP Warning: filesize(): stat failed for /tmp/osurecord/output.mp4 in /home/osu/osurecord/osurecord.php
on line 603
PHP Warning: fopen(/tmp/osurecord/output.mp4): failed to open stream: No such file or directory in /home
/osu/osurecord/osurecord.php on line 608
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /home/osu/osurecord/osurecord.p
hp on line 609
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/osu/osurecord/osurecord.
php on line 610
PHP Fatal error: Uncaught exception 'Google_Service_Exception' with message 'Error calling PUT
https://www.googleapis.com/upload/youtube/v3/videos?part=status%2Csnippet&uploadType=resumable&upload_id=AEnB2UqFH
FbpHTih5h-yJITxJm-9Md1UpEIH7T2Zd2-fzMZp2InXSwKXKHdl5JzYNpEpbK6S-KK9gk2TFtSvj6hzx48t0e-DZw: (400) Failed t
o parse Content-Range header.' in /dolan/google-api-php-client/src/Google/Http/REST.php:79
Stack trace:
#0 /dolan/google-api-php-client/src/Google/Http/MediaFileUpload.php(185): Google_Http_REST::decodeHttpRes
ponse(Object(Google_Http_Request))
#1 /home/osu/osurecord/osurecord.php(611): Google_Http_MediaFileUpload->nextChunk(false)
#2 {main}
thrown in /dolan/google-api-php-client/src/Google/Http/REST.php on line 79