Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (99)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (10317)

  • Want to crop video in 1:1 aspectration using ffmpeg but it gives error Working Directory : null Environment : null

    14 septembre 2017, par Mahesh

    I have used below command for crop video from originally captured by default camera. But when i was execute command it gives below error.

    final String[] cmd={"-i", "/storage/emulated/0/DCIM/ZyfVideo/VID_20170914_153804.mp4","-s", "480x480" ,"-vf" ,"crop=480:480","setdar=1:1","setsar=1:1 ","/storage/emulated/0/Movies/SpoofApp/VDO_20170914_153811.mp4"};

    Error Logcat :

    09-14 15:38:11.874 3872-4039/com.spoof.app E/FFmpeg: Exception while trying to run: [Ljava.lang.String;@427ce088
                                                        java.io.IOException: Error running exec(). Command: [/data/data/com.spoof.app/files/ffmpeg, -i, /storage/emulated/0/DCIM/ZyfVideo/VID_20170914_153804.mp4, -s, 480x480, -vf, crop=480:480, setdar=1:1, setsar=1:1 , /storage/emulated/0/Movies/SpoofApp/VDO_20170914_153811.mp4] Working Directory: null Environment: null
                                                            at java.lang.ProcessManager.exec(ProcessManager.java:211)
                                                            at java.lang.Runtime.exec(Runtime.java:173)
                                                            at java.lang.Runtime.exec(Runtime.java:128)
                                                            at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)
                                                            at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
                                                            at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
                                                            at android.os.AsyncTask$2.call(AsyncTask.java:288)
                                                            at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
                                                            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                            at java.lang.Thread.run(Thread.java:841)
                                                         Caused by: java.io.IOException: No such file or directory
                                                            at java.lang.ProcessManager.exec(Native Method)
                                                            at java.lang.ProcessManager.exec(ProcessManager.java:209)
                                                            at java.lang.Runtime.exec(Runtime.java:173) 
                                                            at java.lang.Runtime.exec(Runtime.java:128) 
                                                            at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10) 
                                                            at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38) 
                                                            at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10) 
                                                            at android.os.AsyncTask$2.call(AsyncTask.java:288) 
                                                            at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
                                                            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 
                                                            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
                                                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
                                                            at java.lang.Thread.run(Thread.java:841) 
  • How to keep the last 1 min video streaming using ffmpeg ?

    4 août 2020, par Lawrence song

    I have a UVC camera /dev/video1. The Camera will be always on. but I only care about the last 1 min data stream.

    


    after searching online I got a ffmpeg cmd :

    


    ./ffmpeg -f v4l2 -input_format mjpeg -video_size 320x240 -i /dev/video1 -c copy -f segment -segment_time 60 -segment_wrap 2 output.mkv


    


    However I got a error and here is the result

    


      libavutil      56. 56.100 / 56. 56.100
  libavcodec     58. 97.100 / 58. 97.100
  libavformat    58. 49.100 / 58. 49.100
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, matroska,webm, from '/sdcard/Movies/output.mkv':
  Metadata:
    ENCODER         : Lavf58.49.100
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 320x240, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
[matroska @ 0x3899e10] Invalid segment filename template 'output.mkv'
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument


    


  • rails streamio-ffmpeg does not find uploaded video files

    26 avril 2016, par Felix

    I try to make a screenshot as thumbnail of a movie while uploading.

    My code looks like this at the moment

    require 'rubygems'
    require 'streamio-ffmpeg'

    def uploadMovie
      @channels = Channel.all
      @vid = Movie.new(movies_params)

      @channel = Channel.find(params[:vid][:channel_id])
      @vid.channel = @channel

      if @vid.save
        flash[:notice] = t("flash.saved")
        movieFile = FFMPEG::Movie.new(@vid.video.to_s)
        screenshot = movieFile.screenshot("uploads/screenshot", :seek_time => 10)
        render :add
      else
        render :add
      end
    end

    But when I do this I got this error :

     No such file or directory - the file 'http://.s3.amazonaws.com/uploads/movie/video/7/2016-04-24_16.26.10.mp4' does not exist

    That should be okay because I upload the movies to Amazon S3 with carrierwave ...

    What’s going wrong in this case ?