Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (58)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (5631)

  • Spaces in filename for ffmpeg in bash [duplicate]

    22 juillet 2016, par kyromoto

    This question already has an answer here :

    I try to write a simple transcoding script for VHS backups with ffmpeg. But I fail to handle spaces in filenames.

    I build my ffmpeg command together in the script and echo it and when I copy paste the echoed command it works, but not diretcly from the script.

    Has anayone a idea whats wrong with my script ?

    Script :

    #!/bin/bash
    # VHStoMP4Backup Script

    INPUT=$1
    OUTPUT="/Volumes/Data/oliver/Video/Encodiert/${2}"

    command="ffmpeg \
       -i \"$INPUT\" \
       -vcodec copy \
       -acodec copy \
       \"$OUTPUT\""


    if [ ! -z "$1" ] && [ ! -z "$2" ] ;
    then
       echo ${command}$'\n'
       ${command}
    else
       echo "missing parameters"
       echo "Usage: script INPUT_FILENAME OUTPUT_FILENAME"
    fi

    exit

    Script calling :

    ./VHStoMP4Backup.sh /Volumes/Data/oliver/Video/RAW\ Aufnahmen/Ewelina\ -\ Kasette\ 1.dv ewe.mp4

    Commandline output

    olivers-mac-pro:Desktop oliver$ ./VHStoMP4Backup.sh /Volumes/Data/oliver/Video/RAW\ Aufnahmen/Ewelina\ -\ Kasette\ 1.dv ewe.mp4
       ffmpeg -i "/Volumes/Data/oliver/Video/RAW Aufnahmen/Ewelina - Kasette 1.dv" -vcodec copy -acodec copy "/Volumes/Data/oliver/Video/Encodiert/ewe.mp4"

       ffmpeg version git-2016-04-16-60517c3 Copyright (c) 2000-2016 the FFmpeg developers
         built with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
         configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libfaac --enable-libass --enable-libssh --enable-libspeex --enable-libfdk-aac --enable-openssl --enable-libopus --enable-libvidstab --enable-libx265 --enable-nonfree --enable-vda
         libavutil      55. 22.100 / 55. 22.100
         libavcodec     57. 34.102 / 57. 34.102
         libavformat    57. 34.101 / 57. 34.101
         libavdevice    57.  0.101 / 57.  0.101
         libavfilter     6. 42.100 /  6. 42.100
         libavresample   3.  0.  0 /  3.  0.  0
         libswscale      4.  1.100 /  4.  1.100
         libswresample   2.  0.101 /  2.  0.101
         libpostproc    54.  0.100 / 54.  0.100
       "/Volumes/Data/oliver/Video/RAW: No such file or directory
  • Ruby on Rails 4 Heroku App Crash while uploading large size video

    22 juillet 2016, par Krishna Vyas

    large video file isn’t uploading on heroku and throwing Application Crash error
    Here is my Model Code :

    has_attached_file :video, :styles => {
     :medium => {
       :geometry => "640x480",
       :format => 'mp4',
       :convert_options => {
       :output => {
         :vcodec => 'libx264',
         :acodec => 'copy'
       }
     }
     },
     :thumb => {
       :geometry => "300x300#",
       :format => 'jpg',
       :time => 2,
       :auto_rotate => true
     }
    }, :processors => [:transcoder]

    validates_attachment_content_type :video, content_type: /\Avideo\/.*\Z/

    Here is my log from heroku

    2016-07-22T13:15:13.616340+00:00 app[web.1]: Command :: file -b --mime '/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-1e90wvf.mp4'
    2016-07-22T13:15:13.771935+00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
    2016-07-22T13:15:13.773078+00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
    2016-07-22T13:15:13.774121+00:00 app[web.1]: [AV] Found ["ffmpeg"], using: Ffmpeg
    2016-07-22T13:15:13.774159+00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
    2016-07-22T13:15:13.775225+00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
    2016-07-22T13:15:13.776771+00:00 app[web.1]: [AV] Found ["ffmpeg"], using: Ffmpeg
    2016-07-22T13:15:13.776807+00:00 app[web.1]: [AV] Running command: ffmpeg -i "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4" 2>&1
    2016-07-22T13:15:13.814982+00:00 app[web.1]: [paperclip] [transcoder] Transocding supported file /tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4
    2016-07-22T13:15:13.815056+00:00 app[web.1]: [AV] Adding output parameter ["acodec", "aac"]
    2016-07-22T13:15:13.815103+00:00 app[web.1]: [AV] Adding output parameter ["strict", "experimental"]
    2016-07-22T13:15:13.815289+00:00 app[web.1]: [AV] Adding output parameter [:s, "640x480"]
    2016-07-22T13:15:13.815379+00:00 app[web.1]: [AV] Running command: ffmpeg -i "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4" -acodec aac -strict experimental -s 640x480 -y "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt20160722-3-1pwdg2k.mp4"
    2016-07-22T13:15:43.237749+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/courses/5/sections/7/lessons/11" host=xxxxx.herokuapp.com request_id=a1408ac7-c7c3-40f4-8365-86156d2d2314 fwd="43.255.56.1" dyno=web.1 connect=0ms service=188655ms status=503 bytes=0
  • Raspberry Pi Youtube Stream with ffmpeg : libx264 unknown

    21 juillet 2016, par tm011036

    I want to use my raspberry pi 3 for a youtube stream via an usb camera. Therefore, I compiled and installed the following tools :

    ffmpeg, libx264, libav-tools

    However, when running the following code i always get an error that the libx264 encoder is unknown :

    ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0
    -codec:v libx264 -b:v 700k -maxrate 700k -bufsize 700k -an -f
    flv rtmp://a.rtmp.youtube.com/live2/MYYOUTUBECODE

    I installed x264 via clone and make install using this guideline. How can I check if this encoder was installed correctly ? I am already stuck for 2 days on this problem - please help !

    Related hints (e.g. libavcodec-extra codec, type errors) regarding this problem unfortunately also didn’t help further.

    Thank You.

    The entire console output is :

    ffmpeg version N-81043-ga49ed9e Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.9.2 (Raspbian 4.9.2-10)
     configuration:
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 50.100 / 57. 50.100
     libavformat    57. 42.100 / 57. 42.100
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 47.100 /  6. 47.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
    [video4linux2,v4l2 @ 0x24132f0] The driver changed the time per frame from 1/25 to 1/30
    Input #0, video4linux2,v4l2, from '/dev/video0':
    Duration: N/A, start: 161119.368327, bitrate: 147456 kb/s
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480,    
    147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc

    Unknown encoder 'libx264'