Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (104)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (13919)

  • Error with Laravel and FFMpeg in queue job

    19 octobre 2020, par user2916349

    I'm using Laravel with the protonemedia/laravel-ffmpeg package https://github.com/protonemedia/laravel-ffmpeg
I create a Job to handle video conversion and concatenation and this error appears :

    


    TypeError : Argument 1 passed to App\Jobs\VideoConversion::App\Jobsclosure() must be an instance of FFMpeg\Filters\Video\VideoFilters, instance of FFMpeg\Filters\AdvancedMedia\ComplexFilters given in /Users/fab/Sites/add-intro/app/Jobs/VideoConversion.php:43

    


    Here is the code of the Job :

    


    use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;

use App\Models\Video;

use Storage, Str, ProtoneMedia\LaravelFFMpeg\Support\FFMpeg;

use FFMpeg\Filters\Video\VideoFilters;

class VideoConversion implements ShouldQueue
{
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

    protected $video;

    /**
     * Create a new job instance.
     *
     * @return void
     */
    public function __construct(Video $video)
    {
        $this->video = $video;
    }

    /**
     * Execute the job.
     *
     * @return void
     */
    public function handle()
    {
        $filename = Str::uuid().'.mp4';
        FFMpeg::fromDisk('public')
        ->open(['intro.mp4', $this->video->path])
        ->addFilter(function (VideoFilters $filters) {
            $filters->resize(new \FFMpeg\Coordinate\Dimension(640, 480));
        })
        ->export()
        ->toDisk('public')
        ->inFormat(new \FFMpeg\Format\Video\X264)
        ->concatWithTranscoding($hasVideo = true, $hasAudio = true)
        ->save($filename);
    }

    public function failed(Throwable $exception)
    {
        FFMpeg::cleanupTemporaryFiles();
        dd($exception);
    }
}


    


    What I'm doing wrong ?
Thanks for help

    


  • A ffmpeg command method into a webjob

    2 juillet 2017, par Fearhunter

    I am new with Azure Webjobs. I made an ffmpeg function to slice a stream into separate mp4 files :

    public Process SliceStream()
    {
       var url = model_s.Url;
       var cuttime = model_s.Cuttime;
       var output = model_s.OutputPath;
       return Process.Start(new ProcessStartInfo
       {
           FileName = "ffmpeg.exe",
           Arguments = $"-i \"{url}\" -c copy -flags +global_header -f segment -segment_time \"{cuttime}\" -segment_format_options movflags=+faststart -reset_timestamps 1 \"{output}\"",
           UseShellExecute = false,
           RedirectStandardOutput = true
       });
    }

    The var properties are the variables for the user input on the front-end. I want to scheduled this method into a webjob. How can I achieve this ? I saw an article on google

    https://zimmergren.net/getting-started-with-building-azure-webjobs-timer-jobs-for-your-office-365-sites/

    Need I just follow these steps to achieve my goal ? Or must I add some C# code to achieve this ?

  • Vitamio Media Player License Requirements

    27 mai 2015, par Amanda Fernandez

    I have successfully integrated vitamio project in my app and it works perfectly. But I’m not clear about its licence. I found the project in github. It uses ffmpeg library and some of the files have apache license. So can I use, vitamio for enterprise app without the license ? Or license is mandatory. ?