Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (90)

  • 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 ;

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8477)

  • Merge commit ’00b62968d079e63bf22028f253ac297292436ebe’

    2 novembre 2015, par Hendrik Leppkes
    Merge commit ’00b62968d079e63bf22028f253ac297292436ebe’
    

    * commit ’00b62968d079e63bf22028f253ac297292436ebe’ :
    os_support : Don’t try to return the service name as a string in getnameinfo

    Merged-by : Hendrik Leppkes <h.leppkes@gmail.com>

    • [DH] configure
    • [DH] libavformat/os_support.c
  • ffmpeg : i cant make tee working for restreaming

    24 avril 2018, par Jorge Vértiz

    I’ve been trying to overlay an image on a rtmp stream and resend it to Facebook Live and Twitch, using a nginx with a rtmp module and ffmpe. I have used this code for each service :

    ffmpeg -i rtmp://localhost/app/streamkey -i logo.png -filter_complex "[0:v][1:v] overlay=0:0" -c:v libx264 -preset veryfast -bufsize 4000k -c:a aac -b:a 160k -ar 44100  -f flv rtmp://live-api.facebook.com:80/rtmp/streamkey;

    I have one command for Facebook Live and another for Twitch, but it consumes much hardware, so looking around I found a work around using tee seudo-mixer :

    ffmpeg -i rtmp://localhost/app/streamkey -i logo.png -filter_complex "[0:v][1:v]overlay=10:10" -c:v libx264 -preset veryfast -bufsize 4000k -c:a aac -b:a 160k -ar 44100  -f tee "[f=flv]rtmp://live-api.facebook.com:80/rtmp/streamkey|[f=flv]rtmp://live-jfk.twitch.tv/app/streamkey"

    It works fine with Facebook Live, but when Twitch starts the live streaming there is no image, only a black screen.

    What am I doing wrong, and how do I get this stream working ?

  • How can upload audio on dropbox after converted it from the video format using ffmpeg in nodejs and angular

    21 septembre 2021, par Amir Shahzad

    nodejs server side code

    &#xA;

    This is my nodejs server side where i want to convert the video into the audio format and then want to upload the converted audio on the dropbox is there any way to do that ??

    &#xA;

    const express = require(&#x27;express&#x27;),&#xA;path = require(&#x27;path&#x27;),&#xA;cors = require(&#x27;cors&#x27;),&#xA;ffmpeg = require(&#x27;fluent-ffmpeg&#x27;),&#xA;fs = require("fs"),&#xA;access_token = "My-Access-Token";&#xA;&#xA;ffmpeg.setFfmpegPath(&#x27;/usr/bin/ffmpeg&#x27;);&#xA;&#xA;const app = express();&#xA;app.use(cors());&#xA;app.use(express.json());&#xA;app.use(express.urlencoded({&#xA;  extended: false&#xA;}));&#xA;&#xA;&#xA;app.post(&#x27;/api/upload&#x27;, upload.single(&#x27;mp4&#x27;), function (req, res) {&#xA;  if (!req.file) {&#xA;    console.log("No file is available!");&#xA;    return res.send({&#xA;     success: false&#xA;  });&#xA;&#xA;  } else {&#xA;   function convert(input, output, callback) {&#xA;      ffmpeg(input)&#xA;          .output(output)&#xA;          .on(&#x27;end&#x27;, function() {                    &#xA;           console.log(&#x27;conversion ended&#x27;);&#xA;            callback(null);&#xA;          }).on(&#x27;error&#x27;, function(err){&#xA;           console.log(&#x27;error: &#x27;, err);&#xA;            callback(err);&#xA;          }).run();&#xA;    }&#xA;     const filepath = req.file.path;&#xA;     var content = fs.readFileSync(filepath);&#xA;&#xA; options = {&#xA;    method: "POST",&#xA;    url: &#x27;https://content.dropboxapi.com/2/files/upload&#x27;,&#xA;    headers: {&#xA;     "Content-Type": "text/plain; charset=dropbox-cors-hack" ,&#xA;     "Authorization": "Bearer " &#x2B; access_token,&#xA;      "Dropbox-API-Arg": "{\"path\": \"/youtube- &#xA;       radio/"&#x2B;req.file.originalname&#x2B;"\",\"mode\": \"overwrite\",\"autorename\": &#xA;       true,\"mute\": false}",&#xA;    },&#xA;     body:content&#xA;};&#xA;convert(filepath,  options&#x2B;&#x27;.mp3&#x27;, function(err,res, body){&#xA;   if(!err) {&#xA;    console.log(&#x27;File Name is&#x27;,req.file.originalname);&#xA;    console.log(&#x27;File Path Is = &#x27;,req.file.path)&#xA;    console.log(&#x27;conversion complete&#x27;);   &#xA;    console.log(&#x27;ERR&#x27;, err);&#xA;   }&#xA;});&#xA;console.log(&#x27;File is available!&#x27;);&#xA;return res.send({&#xA;  success: true&#xA;})&#xA;}&#xA; });&#xA;&#xA;&#xA;  const PORT = process.env.PORT || 8080;&#xA;  const server = app.listen(PORT, () => {&#xA;  console.log(&#x27;Connected to port &#x27; &#x2B; PORT)&#xA;  })&#xA;

    &#xA;

    i have read many documentations of dropbox and ffmpeg and angular file upload but i could not understand Please anyone can resolve my code Thanks in advance

    &#xA;

    This is my typescript file

    &#xA;

    import { Component, OnInit } from &#x27;@angular/core&#x27;;&#xA;import { FileUploader } from &#x27;ng2-file-upload&#x27;;&#xA;import { ToastrService } from &#x27;ngx-toastr&#x27;;&#xA;import { Track } from &#x27;ngx-audio-player&#x27;; &#xA;import { PlayerServiceService } from &#x27;./services/player-service.service&#x27;;&#xA;&#xA;&#xA;const URL = &#x27;http://localhost:8080/api/upload&#x27;;&#xA;&#xA;@Component({&#xA;  selector: &#x27;app-root&#x27;,&#xA;  templateUrl: &#x27;./app.component.html&#x27;,&#xA;  styleUrls: [&#x27;./app.component.css&#x27;]&#xA;})&#xA;export class AppComponent implements OnInit{&#xA;&#xA;public uploader: FileUploader = new FileUploader({&#xA;  url: URL,&#xA;  itemAlias: &#x27;mp4&#x27;&#xA;});&#xA; constructor(private toastr: ToastrService,&#xA;    private playerService: PlayerServiceService) { }&#xA;&#xA; ngOnInit(): void {&#xA;   this.uploader.onAfterAddingFile = (file) => {&#xA;     file.withCredentials = false;&#xA; };&#xA;  this.uploader.onCompleteItem = (item: any, status: any) => {&#xA;    console.log(&#x27;Uploaded File Details:&#x27;, item);&#xA;     this.toastr.success(&#x27;File successfully uploaded!&#x27;);&#xA;  };&#xA;&#xA;}&#xA;}&#xA;

    &#xA;

    This is html code

    &#xA;

     <div class="container mt-5">&#xA;  <div class="file-upload">&#xA;     <input type="file" ng2fileselect="ng2fileselect" />&#xA;     <button type="button" class="btn btn-info">&#xA;      Upload&#xA;    </button>&#xA;  </div>&#xA;</div>&#xA;

    &#xA;