Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (99)

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

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (11568)

  • Convert swf file to mp4 file using FFMPEG [migrated]

    24 septembre 2012, par user1624004

    I now want to show an html5 video on a html page.

    Now I have an sample.swf file, I want to convert it to .mp4 or .ogg or .webm file.

    I have tried : ffmpeg -i sample.swf sample.mp4

    But I got this error :

    [swf @ 0000000001feef40] Could not find codec parameters for stream 0 (Audio: pcm_s16le, 5512 Hz, 1 channels, 88 kb/s): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [swf @ 0000000001feef40] Estimating duration from bitrate, this may be inaccurate
    Guessed Channel Layout for  Input Stream #0.0 : mono
    Input #0, swf, from 'sample.swf':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Audio: pcm_s16le, 5512 Hz, mono, 88 kb/s
       Stream #0:1: Video: mjpeg, yuvj444p, 1024x768 [SAR 100:100 DAR 4:3], 16 fps, 16 tbr, 16 tbn
    File 'sample.mp4' already exists. Overwrite ? [y/N] y
    Invalid sample format '(null)'
    Error opening filters!
  • Re-encoding vlc-created mpeg2 .ts file results in 20 second file

    14 novembre 2016, par insaner

    I was recording something with vlc off v4l2 (in case that makes a difference), and I just selected the first format that worked, being mpeg2 using TS container. File resulted in .ts extension, as automatically selected by vlc. When I then tried to put the video file in my video editor, it said the video was 19,884 hours long, when it should be about 6 minutes (it is 80mb in size). When I try to play it in xine, it correctly shows the duration (vlc doesn’t), and when I use ffprobe :

    [mpegts @ 0x9b2c0a0] max_analyze_duration 5000000 reached at 5000000
    Input #0, mpegts, from 'loopbacktestcap.ts':   Duration: N/A, start:
    17978.139456, bitrate: N/A   Program 1
        Stream #0:0[0x44](): Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 104857 kb/s, 30 fps, 30
    tbr, 90k tbn, 60 tbc
        Stream #0:1[0x46](): Video: mpeg2video ([2][0][0][0] / 0x0002), 90k tbn

    Notice especially this line :

      Duration: N/A, start: 17978.139456, bitrate: N/A   Program 1

    I looked it up and it seems the lack of duration has to do with the container. But I have tried a few things to reencode (I tried -vcodec copy, mpeg2, libx264...) and all I can get is 20 second files of 1.1mb - 1.8mb.

    So how can I reencode this file so the duration appears, and I get the full 6 minutes, instead of just the first 20 seconds ?

  • How to merge video file with audio file and maintain creation time ?

    19 janvier 2021, par madprogramer

    I was finicking around with youtube-dl and ended up downloading a video that youtube-dl wasn't able to merge the generated audio and video. After some investigation, I found that there was an issue in my ffmpeg config.

    


    Normally, if you actually run youtube-dl a second time after fixing ffmpeg, it will automatically merge the files for you. But as fate would have it, the online video has since been deleted so youtube-dl freaks out.

    


    Fortunately ffmpeg itself can also merge audio and video files, but loses a very nice feature youtube-dl's implementation has, keeping the creation time of the files (i.e. creation rather than download or publication time).

    


    Is there any way to merge an audio and video file and keep the creation/last modified date ?