Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (33)

  • 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 (...)

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

  • 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 (8265)

  • FFmpeg not encoding with libx264 library

    29 octobre 2011, par bOkeifus

    Hey people of StackOverflow. I have been having a strange issue that I'm not exactly sure what's going on. I am using FFmpeg to convert any incoming video files to h264 mp4 files using the libx264. This is the log that I get from running this line of code :

    ffmpeg -y -i vdoname.flv -acodec libfaac -vcodec libx264 -sameq vid.mp4

    This is the log output after running the line :

    FFmpeg version SVN-r13428, Copyright (c) 2000-2008 Fabrice Bellard, et al.
     configuration: --prefix=/usr --disable-static --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-liba52 --enable-liba52bin --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-network --disable-ipv6 --disable-ffserver --disable-ffplay
     libavutil version: 49.6.0
     libavcodec version: 51.57.0
     libavformat version: 52.14.0
     libavdevice version: 52.0.0
     built on Feb 17 2009 09:01:13, gcc: 4.1.2 20071124 (Red Hat 4.1.2-42)

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 49.92 (599/12)
    Input #0, flv, from '/html/video/937.flv':
     Duration: 00:00:10.08, start: 0.000000, bitrate: 48 kb/s
       Stream #0.0: Video: flv, yuv420p, 720x480, 49.92 tb(r)
       Stream #0.1: Audio: mp3, 22050 Hz, stereo, 48 kb/s
    Output #0, h264, to '/html/flvideo/new_937.mp4':
       Stream #0.0: Video: libx264, yuv420p, 720x480, q=2-31, 200 kb/s, 49.92 tb(c)
       Stream #0.1: Audio: libfaac, 22050 Hz, stereo, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    [libx264 @ 0x11d58b0]using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
    Press [q] to stop encoding

    Can someone please help me out and tell me what to do to get this to work ? I guessed that the libx264 external library is not installed but it doesn't exactly say that in the log file and it looks as if it does find it but then doesn't actually encode the video.

    Any and all help is greatly appreciated.

  • Xuggler encoding images to video FPS issue

    1er novembre 2011, par Chris Robinson

    I've been experimenting with encoding a video from a series of images using CaptureScreenToFile.java as a basis. My output is to be an MP4 file. From 26 images, using the code as is (taking the images from a directory instead of from a screen capture obviously), the encoding video is 11s. However, if I change the framerate variable to :

    frameRate = IRational.make(1, 24);

    which I believe should result in a video of 24FPS. It does not however, (no change from the original video in fact). I experimented with changing the timeStamp variable in encodeImage() method to :

    long timeStamp = (firstTimeStamp*1000)+(i*40);

    where 0 < i < 25 to see if that would help but it doesn't. Can anyone explain to me how to encode a directory of images to a video with a framerate that I can set ?

  • How to enable different components of FFMPEG ?

    3 décembre 2011, par Richard77

    I've found this C# wrapper code around FFMPEG. I'm using ASP.NET MVC3 and C#. When trying to get it work, I'm getting the following error :

           RawOutput   "ffmpeg version N-34906-g4e7b3ef, Copyright (c) 2000-2011
           the FFmpeg developers

           built on Nov 16 2011 12:35:07 with gcc 4.6.2

           configuration: --enable-gpl --enable-version3 --disable-w32threads
           --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
           --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype
           --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp
           --enable-libschroedinger --enable-libspeex --enable-libtheora
           --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
           --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
           --enable-zlib

           libavutil    51. 25. 0 / 51. 25. 0
           libavcodec   53. 34. 0 / 53. 34. 0
           libavformat  53. 20. 0 / 53. 20. 0
           libavdevice  53.  4. 0 / 53.  4. 0  
           libavfilter   2. 48. 1 /  2. 48. 1
           libswscale    2.  1. 0 /  2.  1. 0
           libpostproc  51.  2. 0 / 51.  2. 0
           [wmv3 @ 002BFA00] Extra data: 8 bits left, value: 0
           [asf @ 002B8A80] parser not found for codec wmav2, packets or times may be invalid.
           Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1)
           Input #0, asf, from 'C:\\FfMpeg\\Videos\\Original\\Video1.wmv':
           Metadata:
           WMFSDKVersion   : 11.0.6002.18049  
           WMFSDKNeeded    : 0.0.0.0000
           IsVBR           : 0
           Duration: 00:00:41.80, start: 0.000000, bitrate: 888 kb/s
           Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 2 channels, s16, 64 kb/s
           Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 320x240, 786 kb/s, 30 tbr, 1k tbn, 1k tbc
           Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
           [buffer @ 031D8DA0] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
           [buffersink @ 031D8FA0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
           [scale @ 03106C20] w:320 h:240 fmt:yuv420p -> w:320 h:240 fmt:yuvj420p flags:0x4
           [wmv3 @ 002BFA00] Extra data: 8 bits left, value: 0
           Output #0, image2, to '87334ed0-2bcf-4be5-82ae-9089c14e0323.jpg':
           Metadata:
           WMFSDKVersion   : 11.0.6002.18049
           WMFSDKNeeded    : 0.0.0.0000
           IsVBR           : 0
           encoder         : Lavf53.20.0
           Stream #0:0(eng): Video: mjpeg, yuvj420p, 320x240, q=2-31, 200 kb/s, 90k tbn, 30 tbc
           Stream mapping:
           Stream #0:1 -> #0:0 (wmv3 -> mjpeg)
           Press [q] to stop, [?] for help
           [image2 @ 03107920] Could not open file : 87334ed0-2bcf-4be5-82ae-9089c14e0323.jpg
           av_interleaved_write_frame(): Input/output error
           "   string

    I'm absolutely new to FFMPEG, so I don't know where to start to solve the above probleme.

    EDIT

    public ActionResult Convert()
       {
           Converter _converter = new Converter(@"C:\FfMpeg\ffmpeg.exe");
           OutputPackage oo = _converter.ConvertToFLV(@"C:\FfMpeg\Videos\Original\Video1.wmv");

           FileStream outStream = System.IO.File.OpenWrite(@"C:\FfMpeg\Videos\Converted\Video1.flv");
           oo.VideoStream.WriteTo(outStream);
           outStream.Flush();
           outStream.Close();

           oo.PreviewImage.Save(@"C:\FfMpeg\Videos\Thumbnail\Thumbnail1.jpg");

           return RedirectToAction("WatchMovie");
       }

    Thanks for helping