Recherche avancée

Médias (1)

Mot : - Tags -/geti3

Autres articles (94)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • 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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7615)

  • ffmpeg timelapse discard garbage jpg [duplicate]

    12 mai 2021, par piekn

    I'm successfully creating timelapse video (jpg->mp4) using command line
$ffmpeg -r $fps -f concat -safe 0 -i $concat_file -c:v libx264 -vf 'format=yuv420p' $thumbnail 2>&1 &

    


    But some of source jpg are 'garbage' (look picture below what I mean) - part of the picture is lost.
part of picture is lost

    


    As result, final clip contains damaged frames (see below)
final clip

    


    As I see, the best for me is to discard these jpg. But I have no ideas how to define them ? - file system don't see them as 'broken', etc.

    


    Any ideas ?

    


  • ffmpeg with Flutter - Error in my code - Video not created

    30 juillet 2020, par cssler

    I try to create a video from images with flutter and ffmpeg. I think the logic of my code is correct, but I always get the return value 1 which says that the execute was not successfull.

    


    Do you find the error in my code ?

    


    Future<void> _onCreateVideoFromImages() async {&#xA;      Directory tempDir = await getTemporaryDirectory();&#xA;      String tempPath = tempDir.path;&#xA;&#xA;      final allPictures = await picturesData.getPicturesFromAlbum(albumID);&#xA;&#xA;      List textFileMap = [];&#xA;&#xA;      for (var i = 0; i &lt; allPictures.length; i&#x2B;&#x2B;) {&#xA;        var file = File(allPictures[i].path);&#xA;&#xA;        final newFile = await file&#xA;            .copySync("$tempPath/img${i.toString().padLeft(4, &#x27;0&#x27;)}.jpg");&#xA;&#xA;        print("File has been moved successfully to temporary folder: $newFile");&#xA;&#xA;        textFileMap.add("file &#x27;" &#x2B; newFile.path &#x2B; "&#x27;");&#xA;      }&#xA;&#xA;      print("Final list:");&#xA;      print(textFileMap);&#xA;&#xA;      print("Create txt file for ffmpeg");&#xA;      final File file = File(&#x27;${tempPath}/images.txt&#x27;);&#xA;      final textFile = await file.writeAsString(textFileMap.join("\n"));&#xA;      print("txt file created successfully: $textFile");&#xA;&#xA;      await _flutterFFmpeg.execute(&#xA;              "ffmpeg -f concat -safe 0 -i $textFile -c copy $tempPath/output.mp4")&#xA;          .then((rc) {&#xA;        if (rc == 0) {&#xA;          print("Video completed");&#xA;        } else {&#xA;          print(rc); // Returns 1&#xA;        }&#xA;      });&#xA;    }&#xA;</void>

    &#xA;

    And here the console log

    &#xA;

    flutter: File has been moved successfully to temporary folder: File: &#x27;/var/mobile/Containers/Data/Application/C28A04D5-76DF-450B-8F63-75CD39BC927F/Library/Caches/img0001.jpg&#x27;&#xA;flutter: Final list::&#xA;flutter: [file &#x27;/var/mobile/Containers/Data/Application/C28A04D5-76DF-450B-8F63-75CD39BC927F/Library/Caches/img0000.jpg&#x27;, file &#x27;/var/mobile/Containers/Data/Application/C28A04D5-76DF-450B-8F63-75CD39BC927F/Library/Caches/img0001.jpg&#x27;]&#xA;flutter: Create txt file for ffmpeg"&#xA;flutter: txt file created successfully: &#x27;/var/mobile/Containers/Data/Application/C28A04D5-76DF-450B-8F63-75CD39BC927F/Library/Caches/images.txt&#x27;&#xA;flutter: Code: 1&#xA;

    &#xA;

    I appreciate your help !

    &#xA;

  • Join videos command line debian [on hold]

    2 avril 2014, par Roman

    Good evening

    I'm looking for a solution for the following problem :
    I have to join multiple video files (webM-format) with different settings (resolution, fps, ...) into one final file. I should also add an additional audio-track who's exactly as long as all video files together (wav-format).

    I've tried it with ffmpeg and concat like this :
    ffmpeg -i "concat:file1.webm|file2.webm|file3.webm" -vcodec libvpx -s 1280x720 -i track.wav -acodec libfaac -ab 128k -async 10 final.webm

    Result : Worked fine, but just with the first video file. All the others were ignored by ffmpeg.

    Have you any other solution for this problem ?

    Best Regards,
    Roman Ackermann