Recherche avancée

Médias (91)

Autres articles (91)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (13300)

  • ffmpeg conversion dimension error

    7 mars 2015, par georgechalhoub

    I am writing a video conversion script using ffmpeg, it has been completed to full. Ideally, my video conversion script should output the video to many formats (similar to YouTube) :

    • 140p : 256 x 144
    • 240p : 426 x 240
    • 360p : 640  x 360
    • 480p : 854  x 480
    • 720p : 1280 x 720
    • 1080p : 1920x 1080

    The problem I am facing is that if a user uploads a 480p (854 x 480) video or close to 480p (854 x 480) the script will convert to all formats (1080p and 720p) which would seem like a waste of bandwidth and disk space in this case.

    The problem isn’t as easy as it seems. If a user uploads a 500 x 300 video I don’t want it to get converted to a 240p, there has to be some estimations.

    Is there some command in ffmpeg which does any help dealing with such type of problems ?

  • Gstreamer + Logitech C920 h264 video lacks timing information, plus mp4mux not working

    30 mars 2015, par user1048388

    I’m currently getting the h264 encoded video and the audio from the C920 via gstreamer 1.2.4 :

    gst-launch-1.0 v4l2src device=/dev/video0 do_timestamp=true ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! muxout. pulsesrc device="alsa_input.usb-046d_HD_Pro_Webcam_C920_5530335F-02-C920.analog-stereo" ! queue ! audioconvert ! voaacenc bitrate=65536 ! muxout. matroskamux name=muxout streamable=true ! queue ! filesink location=/home/[omitted]/test.mp4

    The main problem is that the resulting video lacks timing information. By that I mean seek is not possible and the duration is unknown. Adding do_timestamp=true changes nothing.
    Simply copying the file in ffmpeg/libav shows several instances of :

    Non-monotonous DTS in output stream 0:0 ; previous : 926, current : 807 ; changing to 927. This may result in incorrect timestamps in the output file.

    After this short process (seconds on an hour long file), the timing information suddenly works for the entire video.

    What do I need to do to make this happen during the gst-launch pipeline ?

    There are some other problems which may or may not be related :
    I am using matroskamux despite wanting a mp4 container because mp4mux simply does not work in the given launch command. I receive

    ERROR : Pipeline doesn’t want to pause.
    ERROR : from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0 : Cannot identify device ’/dev/video0’.
    Additional debug info :
    v4l2_calls.c(568) : gst_v4l2_open () : /GstPipeline:pipeline0/GstV4l2Src:v4l2src0 :
    system error : No such file or directory

    when replacing matroskamux with mp4mux.

    I am clueless as to why this happens. Any help would be appreciated.

  • ffmpeg and hardcoding subtitles

    8 avril 2015, par Adin Gill

    I have a command like so

    ffmpeg -i "F:\Filebotted\Rail Wars\Season 1\Rail Wars.S01E07(7).You Look Good in That. 1080p.mkv" -map 0:0 -map 0:1 -b:v 750k -b:a 128k -c:v libx264 -c:a mp3 -ac 2 -filter_complex "subtitles=F:\Filebotted\Rail Wars\Season 1\Rail Wars.S01E07(7).You Look Good in That. 1080p.mkv,scale=-1:360" "C:\Users\Adin\Desktop\Testy mc test\Rail Wars.S01E07(7).You Look Good in That. 1080p.mkv"

    Yes it is long but unfortunatly ffmpeg chucks a hissy fit and spits out the following

    [subtitles @ 00000000050ce7c0] Unable to parse option value "FilebottedRail Wars
    Season 1Rail Wars.S01E07(7).You Look Good in That. 1080p.mkv" as image size
       Last message repeated 1 times
    [subtitles @ 00000000050ce7c0] Error setting option original_size to value Fileb
    ottedRail WarsSeason 1Rail Wars.S01E07(7).You Look Good in That. 1080p.mkv.
    [Parsed_subtitles_0 @ 0000000002c714c0] Error applying options to the filter.
    [AVFilterGraph @ 0000000002c5c540] Error initializing filter 'subtitles' with ar
    gs 'F:FilebottedRail WarsSeason 1Rail Wars.S01E07(7).You Look Good in That. 1080
    p.mkv'
    Error configuring filters.

    It works just fine when the file is in the same folder as ffmpeg (I found out that it doesn’t like ’ or - in the filename, but I just spent an hour trying to work out the issue with no avail.

    Any help will be appreciated :)