Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (60)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (10165)

  • Laravel FFmpeg error ffprobe running command -show_streams -print_format json is not running How i can resolve it ?

    12 octobre 2019, par Shahzad Waris

    I’m using laravel FFmpeg Package v4 to change the Dimension of the video.
    This is my queue log.

    [2019-10-12 15:14:17] local.INFO : ffprobe running command
    "C :/FFmpeg/bin/ffprobe.exe"
    C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
    -show_streams -print_format json [2019-10-12 15:14:17] local.ERROR : ffprobe failed to execute command "C :/FFmpeg/bin/ffprobe.exe"
    C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
    -show_streams -print_format json [2019-10-12 15:14:17] local.ERROR : Unable to probe
    C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
    "exception" :"[object] (FFMpeg\Exception\RuntimeException(code : 0) :
    Unable to probe
    C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
    at
    C :\wamp64\www\creamer\creamer\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php:263,
    Alchemy\BinaryDriver\Exception\ExecutionFailureException(code : 0) :
    ffprobe failed to execute command \"C :/FFmpeg/bin/ffprobe.exe\"
    C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
    -show_streams -print_format json at C :\wamp64\www\creamer\creamer\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php:100)
    [stacktrace]

    0 C :\wamp64\www\creamer\creamer\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php(206) :

    FFMpeg\FFProbe->probe(’C :\wamp64\www\c...’, ’-show_streams’,
    ’streams’)

    1 C :\wamp64\www\creamer\creamer\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFMpeg.php(92) :

    FFMpeg\FFProbe->streams(’C :\wamp64\www\c...’) [internal
    function] : Illuminate\Queue\Console\WorkCommand->handle() 1 :
    https://github.com/pascalbaljetmedia/laravel-ffmpeg?ref=madewithlaravel.com

    This is Queue code :

    namespace App\Jobs;

    use App\Video;
    use FFMpeg;
    use FFMpeg\Coordinate\Dimension;
    use FFMpeg\Format\Video\X264;
    use Illuminate\Bus\Queueable;
    use Illuminate\Contracts\Queue\ShouldQueue;
    use Illuminate\Foundation\Bus\Dispatchable;
    use Illuminate\Queue\InteractsWithQueue;
    use Illuminate\Queue\SerializesModels;

    class ConvertVideoForDownloading implements ShouldQueue
    {
       use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
       public $video;
       /**
        * Create a new job instance.
        *
        * @return void
        */
       public function __construct(Video $v)
       {
           $this->video = $v;
       }

       /**
        * Execute the job.
        *
        * @return void
        */
       public function handle()
       {
           // create a video format...
           $lowBitrateFormat = (new X264)->setKiloBitrate(500);

           // open the uploaded video from the right disk...
           FFMpeg::fromDisk('local')
               ->open('public\videos' . $this->video->videoLink)

           // add the 'resize' filter...
               ->addFilter(function ($filters) {
                   $filters->resize(new Dimension(960, 540));
               })

           // call the 'export' method...
               ->export()

           // tell the MediaExporter to which disk and in which format we want to export...
               ->toDisk('local')
               ->inFormat($lowBitrateFormat)

           // call the 'save' method with a filename...
               ->save($this->video->id . '.mp4');

           // update the database so we know the convertion is done!
           // $this->video->update([
           //     'converted_for_downloading_at' => Carbon::now(),
           // ]);

       }
    }
  • YouPHPTube Encoder is not encoding video [on hold]

    11 octobre 2019, par Tanjima Tani

    I successfully installed YouPHPTube an on demand video script. I tried to encode a local video but it is always in "pending" state. The error of encoding error log is as follows :

    [11-Oct-2019 23:54:25 Asia/Dhaka] Upload.php will set format
    [11-Oct-2019 23:54:25 Asia/Dhaka] Upload.php will let function decide decideFormatOrder
    [11-Oct-2019 23:54:25 Asia/Dhaka] decideFormatOrder: {"file":"myvideo.mp4","audioOnly":"false","spectrum":"false","webm":"false","inputHLS":"false","inputLow":"true","inputSD":"true","inputHD":"true","title":"","description":"","categories_id":"0"}
    [11-Oct-2019 23:54:25 Asia/Dhaka] decideFormatOrder: MP4 All
    [11-Oct-2019 23:54:25 Asia/Dhaka] {"status":"error", "msg":"getDurationFromFile ERROR, File () Not Found"}
    [11-Oct-2019 23:54:25 Asia/Dhaka] YouPHPTube-Encoder sending file to http://localhost/YouPHPTube/youPHPTubeEncoder.json
    [11-Oct-2019 23:54:25 Asia/Dhaka] YouPHPTube-Encoder reading file from
    [11-Oct-2019 23:54:25 Asia/Dhaka] YouPHPTube-Streamer answer {"error":false,"video_id":14}
    [11-Oct-2019 23:54:25 Asia/Dhaka] {"error":false,"format":"mp4","file":"","resolution":"","videoDownloadedLink":null,"target":"http:\/\/localhost\/YouPHPTube\/youPHPTubeEncoder.json","postFields":11,"response_raw":"{\"error\":false,\"video_id\":14}","response":{"error":false,"video_id":14}}
    [11-Oct-2019 17:54:27 UTC] downloadFile: start queue_id = 14
    [11-Oct-2019 17:54:27 UTC] downloadFile: url = http://localhost/YouPHPTube-Encoder/videos/original_myvideo_YPTuniqid_5da0c1d10f5c29.50237780
    [11-Oct-2019 17:54:27 UTC] downloadFile:strpos global['webSiteRootURL'] = http://localhost/YouPHPTube-Encoder/
    [11-Oct-2019 17:54:27 UTC] downloadFile: this file was uploaded from file and thus is in the videos
    [11-Oct-2019 17:54:27 UTC] downloadFile: downloadedFile = /var/www/html/YouPHPTube-Encoder/videos/original_myvideo_YPTuniqid_5da0c1d10f5c29.50237780 | url = http://localhost/YouPHPTube-Encoder/videos/original_myvideo_YPTuniqid_5da0c1d10f5c29.50237780
    [11-Oct-2019 17:54:27 UTC] Try to get UTF8 URL http://localhost/YouPHPTube-Encoder/videos/original_myvideo_YPTuniqid_5da0c1d10f5c29.50237780
    [11-Oct-2019 17:54:27 UTC] Try to get UTF8 decode URL http://localhost/YouPHPTube-Encoder/videos/original_myvideo_YPTuniqid_5da0c1d10f5c29.50237780
    [11-Oct-2019 17:54:27 UTC] downloadFile: success
    [11-Oct-2019 17:54:27 UTC] downloadFile: {"error":false,"filename":"14_tmpFile.mp4","pathFileName":"\/var\/www\/html\/YouPHPTube-Encoder\/videos\/14_tmpFile.mp4"}
    [11-Oct-2019 17:54:27 UTC] sendImages: Sending image to [14]
    [11-Oct-2019 17:54:27 UTC] Duration found: 0:00:26
    [11-Oct-2019 17:54:27 UTC] sendImages: YouPHPTube-Encoder sending file to http://localhost/YouPHPTube/objects/youPHPTubeEncoderReceiveImage.json.php
    [11-Oct-2019 17:54:27 UTC] sendImages: YouPHPTube-Encoder reading file from /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4
    [11-Oct-2019 17:54:27 UTC] getImage: ffmpeg -ss 00:00:13 -i /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4 -vframes 1 -y /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4.jpg
    [11-Oct-2019 17:54:27 UTC] getImage: takes 0.11579895019531 sec to complete
    [11-Oct-2019 17:54:27 UTC] getGifImage
    [11-Oct-2019 17:54:27 UTC] getGif: Starts
    [11-Oct-2019 17:54:28 UTC] getGif: takes 0.51563596725464 sec to complete
    [11-Oct-2019 17:54:29 UTC] sendImages: curl_init
    [11-Oct-2019 17:54:29 UTC] sendImages: curl_exec
    [11-Oct-2019 17:54:29 UTC] sendImages: YouPHPTube-Streamer answer {"error":false,"video_id":14}
    [11-Oct-2019 17:54:29 UTC] {"error":false,"file":"\/var\/www\/html\/YouPHPTube-Encoder\/videos\/14_tmpFile.mp4","target":"http:\/\/localhost\/YouPHPTube\/objects\/youPHPTubeEncoderReceiveImage.json.php","postFields":6,"response_raw":"{\"error\":false,\"video_id\":14}","response":{"error":false,"video_id":14}}
    [11-Oct-2019 17:54:29 UTC] run:runMultiResolution
    [11-Oct-2019 17:54:29 UTC] YouPHPTube-Encoder Start Encoder [ffmpeg -i /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_HD.mp4]
    [11-Oct-2019 17:54:29 UTC] ffmpeg -i /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_HD.mp4 --- [] --- (8, /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4, /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_HD.mp4, 14)
    [11-Oct-2019 17:54:29 UTC] YouPHPTube-Encoder Start Encoder [ffmpeg -i /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_SD.mp4]
    [11-Oct-2019 17:54:29 UTC] ffmpeg -i /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_SD.mp4 --- [] --- (7, /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4, /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_SD.mp4, 14)
    [11-Oct-2019 17:54:29 UTC] YouPHPTube-Encoder Start Encoder [ffmpeg -i /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_Low.mp4]
    [11-Oct-2019 17:54:29 UTC] ffmpeg -i /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_Low.mp4 --- [] --- (1, /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4, /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_Low.mp4, 14)
    [11-Oct-2019 17:54:29 UTC] Trying again: [1] => Execute code error "Array\n(\n)\n"
    Code: ffmpeg -i /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/YouPHPTube-Encoder/videos/14_tmpFile_converted_Low.mp4
    [11-Oct-2019 23:54:30 Asia/Dhaka] ERROR on get http://localhost/YouPHPTube/plugin/CustomizeAdvanced/advancedCustom.json.php false
    [11-Oct-2019 23:54:30 Asia/Dhaka] PHP Warning:  Creating default object from empty value in /var/www/html/YouPHPTube-Encoder/view/index.php on line 233

    What to do next ? Thanks in advance

  • dyld : Symbol not found : _objc_alloc_init

    13 avril 2020, par dimarik

    I built static ffmpeg binaries under one mac and when I trying to run the binary under another one I have the following error :

    



    ./ffmpeg -f avfoundation -list_devices true -i ''
ffmpeg version N-95218-g7da57875b5 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.8)
  configuration: --pkg-config-flags=--static --disable-ffplay --disable-debug --disable-doc --enable-filter=format --disable-d3d11va --disable-dxva2 --disable-network --disable-iconv --disable-protocol=crypto --enable-libopus --enable-libvorbis --enable-libmp3lame --enable-libopenh264 --enable-libtheora --enable-libvpx --enable-libwebp --disable-protocol=hls --disable-protocol=cache --extra-ldexeflags='-Bstatic -L/usr/local/lib -L/usr/local/opt/llvm/lib' --extra-cflags='-I/usr/local/include -static -I/usr/local/opt/llvm/include -I/usr/local/opt/llvm/include/c++/v1/ -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AVFoundation.framework/Versions/A/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreVideo.framework/Versions/A/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMedia.framework/Versions/A/Headers' --disable-bzlib --disable-appkit --disable-coreimage --disable-indevs --enable-indev=lavfi --disable-asm --enable-indev=avfoundation --cc=/usr/bin/clang
  libavutil      56. 35.100 / 56. 35.100
  libavcodec     58. 59.101 / 58. 59.101
  libavformat    58. 33.100 / 58. 33.100
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter     7. 61.100 /  7. 61.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
dyld: lazy symbol binding failed: Symbol not found: _objc_alloc_init
  Referenced from: ffmpeg (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_alloc_init
  Referenced from: ffmpeg (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libobjc.A.dylib


    



    Abort trap : 6

    



    Please advise.