Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (78)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (9586)

  • D/Volley : [19782] BasicNetwork.logSlowRequests : HTTP response for request [closed]

    12 juillet 2020, par nagaraj buganatti

    Hi am facing some issues in php API please help with this

    


    am getting this error

    


    


    D/Volley : [19782] BasicNetwork.logSlowRequests : HTTP response for&#xA;request=<[ ]&#xA;http://crowninnovativesolutions.in/MRain/API/index.php?p=uploadVideo&#xA;0x70148da5 NORMAL 1> [lifetime=173386], [size=279], [rc=200],&#xA;[retryCount=0] D/respo : com.android.volley.ParseError :&#xA;org.json.JSONException : Value
    libEGL : EGLNativeWindowType 0x796129e010&#xA;disconnect failed D/Volley : [1] Request.finish : 173486 ms : [ ]&#xA;http://crowninnovativesolutions.in/MRain/API/index.php?p=uploadVideo&#xA;0x70148da5 NORMAL 1

    &#xA;

    &#xA;

    And My codes are

    &#xA;

    function uploadVideo()&#xA;{&#xA;    require_once("config.php");&#xA;    $input = @file_get_contents("php://input");&#xA;    $event_json = json_decode($input,true);&#xA;    //print_r($event_json);&#xA;    &#xA;    if(isset($event_json[&#x27;fb_id&#x27;]) &amp;&amp; isset($event_json[&#x27;picbase64&#x27;])  &amp;&amp; isset($event_json[&#x27;videobase64&#x27;]))&#xA;    {   &#xA;        $fb_id=htmlspecialchars(strip_tags($event_json[&#x27;fb_id&#x27;] , ENT_QUOTES));&#xA;        $description=htmlspecialchars(strip_tags($event_json[&#x27;description&#x27;] , ENT_QUOTES));&#xA;        $sound_id=htmlspecialchars(strip_tags($event_json[&#x27;sound_id&#x27;] , ENT_QUOTES));&#xA;        $thum = $event_json[&#x27;picbase64&#x27;][&#x27;file_data&#x27;];&#xA;        $video = $event_json[&#x27;videobase64&#x27;][&#x27;file_data&#x27;];&#xA;        $gif = $event_json[&#x27;gifbase64&#x27;][&#x27;file_data&#x27;];&#xA;        &#xA;        $fileName=rand()."_".rand();&#xA;        $video_url="upload/video/".$fileName.".mp4";&#xA;        $thum_url="upload/thum/".$fileName.".jpg";&#xA;        $gif_url="upload/gif/".$fileName.".gif";&#xA;        &#xA;        /*list($type, $data) = explode(&#x27;,&#x27;, $data);&#xA;        list(, $data)      = explode(&#x27;,&#x27;, $data);*/&#xA;        $thum = base64_decode($thum);&#xA;        &#xA;        file_put_contents("upload/thum/".$fileName.".jpg", $thum);&#xA;        &#xA;        /*picture resize*/&#xA;            // File and new size&#xA;            $filename = &#x27;upload/thum/&#x27;.$fileName.&#x27;.jpg&#x27;;&#xA;            $newfilename=&#x27;upload/thum/&#x27;.$fileName.&#x27;.jpg&#x27;;&#xA;            $percent = 0.4;&#xA;            &#xA;            // Get new sizes&#xA;            list($width, $height) = getimagesize($filename);&#xA;            $newwidth = $width * $percent;&#xA;            $newheight = $height * $percent;&#xA;            // Load&#xA;            $thumb = imagecreatetruecolor($newwidth, $newheight);&#xA;            $source = imagecreatefromjpeg($filename);&#xA;            // Resize&#xA;            $res=imagecopyresized($thumb, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);&#xA;            // Output&#xA;            imagejpeg($thumb,$newfilename);&#xA;        /*picture resize*/&#xA;        &#xA;        &#xA;        $video = base64_decode($video);&#xA;        &#xA;        file_put_contents("upload/video/".$fileName.".mp4", $video);&#xA;        &#xA;        /*video upload*/&#xA;            // File and new size&#xA;            $filename = &#x27;upload/video/&#x27;.$fileName.&#x27;.mp4&#x27;;&#xA;            $newfilename=&#x27;upload/video/&#x27;.$fileName.&#x27;.mp4&#x27;;&#xA;            $percent = 0.2;&#xA;            // Get new sizes&#xA;            list($width, $height) = getimagesize($filename);&#xA;            $newwidth = $width * $percent;&#xA;            $newheight = $height * $percent;&#xA;            // Load&#xA;            $thumb = imagecreatetruecolor($newwidth, $newheight);&#xA;            $source = imagecreatefromjpeg($filename);&#xA;            // Resize&#xA;            $res=imagecopyresized($thumb, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);&#xA;            // Output&#xA;            imagejpeg($thumb,$newfilename);&#xA;            &#xA;        /*video upload*/&#xA;        &#xA;        &#xA;        $gif = base64_decode($gif);&#xA;        &#xA;        $filename = &#x27;upload/gif/&#x27;.$fileName.&#x27;.mp4&#x27;;&#xA;        &#xA;        file_put_contents("upload/gif/".$fileName.".gif", $gif);&#xA;        &#xA;    &#xA;        &#xA;        $qrry_1="insert into videos(description,video,sound_id,fb_id,gif,thum)values(";&#xA;        $qrry_1.="&#x27;".$description."&#x27;,";&#xA;        $qrry_1.="&#x27;".$video_url."&#x27;,";&#xA;        $qrry_1.="&#x27;".$sound_id."&#x27;,";&#xA;        $qrry_1.="&#x27;".$fb_id."&#x27;,";&#xA;        $qrry_1.="&#x27;".$gif_url."&#x27;,";&#xA;        $qrry_1.="&#x27;".$thum_url."&#x27;";&#xA;        $qrry_1.=")";&#xA;        if(mysqli_query($conn,$qrry_1))&#xA;        {&#xA;           $array_out = array();&#xA;            $array_out[] = &#xA;                array(&#xA;                    "response" => "file uploaded"&#xA;                );&#xA;            &#xA;            $output=array( "code" => "200", "msg" => $array_out);&#xA;            print_r(json_encode($output, true)); &#xA;        }&#xA;        else&#xA;        {&#xA;            $array_out = array();&#xA;            $array_out[] = &#xA;                array(&#xA;                    "response" => "error in uploading files"&#xA;                );&#xA;            &#xA;            $output=array( "code" => "201", "msg" => $array_out);&#xA;            print_r(json_encode($output, true)); &#xA;        }&#xA;        &#xA;        &#xA;        &#xA;        &#xA;    }&#xA;    else&#xA;    {&#xA;        $array_out = array();&#xA;        $array_out[] = &#xA;            array(&#xA;                "response" => "json parem missing"&#xA;            );&#xA;        &#xA;        $output=array( "code" => "201", "msg" => $array_out);&#xA;        print_r(json_encode($output, true));&#xA;    }&#xA;&#xA;}&#xA;

    &#xA;

    Android code

    &#xA;

  • ld : file too small for architecture armv7 mac [closed]

    3 avril 2013, par user1500842
    Ld /Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Intermediates/sqeyes.build/Debug-iphoneos/sqeyes.build/Objects-normal/armv7/sqeyes normal armv7
       cd /Users/IPhoneDev/Project/sqeyes
       setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
       setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Products/Debug-iphoneos -L/Users/IPhoneDev/Project/sqeyes -F/Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Products/Debug-iphoneos -filelist /Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Intermediates/sqeyes.build/Debug-iphoneos/sqeyes.build/Objects-normal/armv7/sqeyes.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=4.3 -framework QuartzCore -framework EventKit -framework EventKitUI -lsqlite3.0 -framework UIKit -framework Foundation -framework CoreGraphics -lavcodec -lswscale -lavutil -o /Users/IPhoneDev/Library/Developer/Xcode/DerivedData/sqeyes-fmajgifqwrcamzdmsdzkoydwlxsv/Build/Intermediates/sqeyes.build/Debug-iphoneos/sqeyes.build/Objects-normal/armv7/sqeyes
    ld: file too small for architecture armv7 mac
  • Evolution #3290 : direction_css et italique

    14 octobre 2014, par Fil Up

    est-ce que ce ne serait pas juste une règle comme ceci (je n’ai pas testé) :

    ```
    *[dir=rtl] i font-style : normal !important
    ```