Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (95)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

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

Sur d’autres sites (8196)

  • Why doesn't -vcodec copy work with my H.264 files ?

    5 novembre 2011, par arlomedia

    I'm converting user-uploaded videos to H.264/MP4 files with ffmpeg 0.6.1 :

    ffmpeg -i input.mov -f mp4 -vcodec libx264 -vpre medium -acodec libfaac -r 15 -b 360k -ab 48k -ar 22050 -s 480x320 fullclip.mp4

    Then I want to extract sample clips from those videos. This should give me the first 30 seconds :

    ffmpeg -i fullclip.mp4 -vcodec copy -acodec copy -ss 0 -t 30 sampleclip.mp4

    But when I do that, the sampleclip.mp4 file has no video track. I don't see an error message from ffmpeg ; it just shows a final video size of 0kb in its output.

    If I apply the second command to the sample H.264/MP4 clip that came with JWPlayer, I have no problems. So it looks like I either need to tweak the first command to make a more compatible fullclip.mp4, or tweak the second command to make it process my fullclip.mp4. Can someone see what I'm missing ?

    By the way, replacing the second command with the following command creates a video track, but takes more time and degrades the picture quality because it encodes the video again :

    ffmpeg -i fullclip.mp4 -vcodec libx264 -vpre medium -acodec copy -ss 0 -t 30 sampleclip.mp4
  • FFMPEG - Scale video filter not providing expected results

    11 novembre 2011, par dpassera

    Apologies if this question has been asked. I couldn't find it, but if it has, please let me know and I'll close this out.

    I'm attempting a simple scale of a video whose original dimensions are 480x360 and whose target dimensions are 400x300. The video starts as an FLV and eventually needs to end up as an MPEG. I'm using the following command line to do this :

    ffmpeg -i user.flv -vf "scale=400:300" user_scaled.mpg

    When I play the scaled video in MPEG Streamclip, the scale is correct and the video info shows that the dimensions are 400x300. However, when I play the scaled video in Quicktime, the video is scaled to 478x359. More importantly, FFMPEG, itself, treats the video as being 478x359, so any future commands (trimming, conversion, overlaying, etc) executed on it result in a video of 478x359.

    The initial workflow required an FLV to MPEG conversion, but I've tried this with several different in and out formats (FLV -> FLV, FLV -> MPEG, MPEG -> MPEG, etc) all with the same results. As long as I can end up with an MPEG, though, I can deal with however many steps and conversions it would take to get this scaling working.

    I'll paste the command-line output below, and a sample input video is also linked below, if you'd like it. Thank you very much for any help.

    http://www.monkeydriver.com/dpassera/stack_flv.zip

    Command-line output :

    ffmpeg -i user.flv -vf "scale=400:300" user_scaled.mpg

    ffmpeg version 0.7-rc1, Copyright (c) 2000-2011 the FFmpeg developers
     built on May 21 2011 22:13:19 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
    --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth
    --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
    -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC'
    --enable-avfilter --enable-libdirac --enable-libgsm --enable-libmp3lame
    --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
    --enable-gpl --enable-postproc --enable-pthreads --enable-shared
    --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
    --disable-yasm --enable-filters --enable-filter=movie

     libavutil    50. 40. 1 / 50. 40. 1
     libavcodec   52.120. 0 / 52.120. 0
     libavformat  52.108. 0 / 52.108. 0
     libavdevice  52.  4. 0 / 52.  4. 0
     libavfilter   1. 77. 0 /  1. 77. 0
     libswscale    0. 13. 0 /  0. 13. 0
     libpostproc  51.  2. 0 / 51.  2. 0

    [flv @ 0x11dd3b30] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from 'user.flv':

     Metadata:
       duration        : 5
       videocodecid    : 2
       audiocodecid    : 6
       canSeekToEnd    : true
       createdby       : FMS 4.0
       creationdate    : Mon Oct 31 11:43:44 2011

     Duration: 00:00:04.62, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: flv, yuv420p, 640x480, 1k tbr, 1k tbn, 1k tbc
       Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16

    [buffer @ 0x11ddc950] w:640 h:480 pixfmt:yuv420p

    [scale @ 0x11dda610] w:640 h:480 fmt:yuv420p -> w:400 h:300 fmt:yuv420p flags:0xa0000004

    [mpeg @ 0x11dd6bd0] VBV buffer size not set, muxing may fail

    Output #0, mpeg, to 'user_scaled.mpg':
     Metadata:
       duration        : 5
       videocodecid    : 2
       audiocodecid    : 6
       canSeekToEnd    : true
       createdby       : FMS 4.0
       creationdate    : Mon Oct 31 11:43:44 2011
       encoder         : Lavf52.108.0

       Stream #0.0: Video: mpeg1video, yuv420p, 400x300, q=2-31, 200 kb/s, 90k tbn, 60 tbc

       Stream #0.1: Audio: mp2, 44100 Hz, mono, s16, 64 kb/s

    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1

    Press [q] to stop encoding
    frame=  230 fps=  0 q=10.2 size=     366kB time=3.82 bitrate= 785.6kbits/s dup=175 drop=0
    frame=  267 fps=  0 q=10.7 Lsize=     412kB time=4.43 bitrate= 761.3kbits/s dup=203 drop=0    

    video:370kB audio:36kB global headers:0kB muxing overhead 1.568959%
  • How to show the camera preview always in the Spydroid-ffmpeg project

    11 avril 2013, par user2182013

    I'm tring to readapt the https://github.com/vanevery/spyd-ffmpeg project to my own. This project streams the video and/or audio captured by the phone camera via rtsp and it can be received in a computer or so running vlc or similar. My problem is that the app just shows the preview of the camera when receives a connection, but I'd like to show it always. I've tried hundred of things but it always crashes. I cannot find any startPreview() or similar method and I don't know where exactly in the code it is started in order to modify it. Any clue ?

    Thanks.