Recherche avancée

Médias (91)

Autres articles (53)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (7547)

  • ffmpeg video encoding for mobile devices

    27 janvier 2012, par TimGL

    I'm trying to encode the video file from f4v to mp4 for mobile devices and using 2 different ffmpeg versions with the same configuration files. Encoding goes ok for both files. The one that I convert using ffmpeg version N-32754-g936d4d4-Sherpya failing to play on my blackberry.
    This is the command line that I'm using :

    ffmpeg.exe -i some.avs -vcodec libx264 -b 500k -r 24 -acodec libfaac -ab 128k -ar 48000 -ac 2 -threads 0 -coder 0 -bf 0 -refs 1 -level 30 -maxrate 10000000 -bufsize 10000000 -y test.mp4

    The vido playes ok when I convert it using FFmpeg version SVN-r13712
    Could you give me some light on where the issue couls be ?

  • Linux Platform : Enlarge video screen size N times

    27 janvier 2012, par Susan Mayer

    I am looking for a application on Linux platforms (Ubuntu/CentOS etc) that can enlarge video size N times. N could be any number, like 1.5, 4 etc

    For example, if I have a video with screen size 100*200, I want to make it 1.5 times larger, that will be : 150*300. Of course, I will expect the video quality to drop but it doesnt matter.

    I am not sure whether ffmpeg has this function but a quick Google lands me nowhere. So I am here now.

    Thanks a lot !

  • Video recoding with ffmpeg

    8 novembre 2011, par Aleks G

    I asked in another question (http://stackoverflow.com/questions/8012494/sorry-this-video-cannot-be-played-streaming-mp4-to-android/8012874#8012874) about video playback in android using VideoView. Apparently, the problem there is due to the way my video is encoded, as another video (512Kb mp4 off the web) plays correctly using my code. As videos are uploaded by my end users to the web site, I don't have any control of the videos themselves, however I do have control over re-coding these. I re-code them using ffmpeg to bring them to a standard MP4 (H.264+AAC) format and scale them to the same size (320x240).

    Here's the ffmpeg info of a video that would not play :

    sh-3.2$ ffmpeg -i video.bad.mp4
    FFmpeg version SVN-r25679-snapshot, Copyright (c) 2000-2010 the FFmpeg developers
     built on Nov  5 2010 09:34:37 with gcc 4.3.2
     configuration: --prefix=/usr --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-libgsm --enable-x11grab --enable-libx264 --enable-libtheora --extra-cflags=-Wall --enable-swscale --enable-libdc1394 --enable-nonfree --disable-mmx --disable-stripping --enable-avfilter --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3
     libavutil     50.32. 6 / 50.32. 6
     libavcore      0.12. 0 /  0.12. 0
     libavcodec    52.94. 3 / 52.94. 3
     libavformat   52.84. 0 / 52.84. 0
     libavdevice   52. 2. 2 / 52. 2. 2
     libavfilter    1.56. 0 /  1.56. 0
     libswscale     0.12. 0 /  0.12. 0
     libpostproc   51. 2. 0 / 51. 2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.bad.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf52.84.0
     Duration: 00:00:45.93, start: 0.000000, bitrate: 591 kb/s
       Stream #0.0(und): Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 535 kb/s, 15 fps, 15 tbr, 15 tbn, 30 tbc
       Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 51 kb/s

    And here's the ffmpeg info of a video that plays correctly :

    sh-3.2$ ffmpeg -i video.mp4
    FFmpeg version SVN-r25679-snapshot, Copyright (c) 2000-2010 the FFmpeg developers
     built on Nov  5 2010 09:34:37 with gcc 4.3.2
     configuration: --prefix=/usr --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-libgsm --enable-x11grab --enable-libx264 --enable-libtheora --extra-cflags=-Wall --enable-swscale --enable-libdc1394 --enable-nonfree --disable-mmx --disable-stripping --enable-avfilter --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3
     libavutil     50.32. 6 / 50.32. 6
     libavcore      0.12. 0 /  0.12. 0
     libavcodec    52.94. 3 / 52.94. 3
     libavformat   52.84. 0 / 52.84. 0
     libavdevice   52. 2. 2 / 52. 2. 2
     libavfilter    1.56. 0 /  1.56. 0
     libswscale     0.12. 0 /  0.12. 0
     libpostproc   51. 2. 0 / 51. 2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41
       title           : crazytown - http://www.archive.org/details/Cartoon-Crazytown
       encoder         : Lavf51.10.0
     Duration: 00:07:50.40, start: 0.000000, bitrate: 578 kb/s
       Stream #0.0(und): Video: h264, yuv420p, 320x240, 510 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
       Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 63 kb/s

    I have two questions here, actually. First, which of the details in my "bad" video does android not like ? And, second, what parameters should I use with ffmpeg to recode my videos ? As present I use this :

    ffmpeg -i $input_video_file -y -s 320x240 -vcodec libx264 -vpre medium -acodec libfaac -b 510K -ar 48000 -aspect 4:3 $tmpfile.mp4
    qt-faststart $tmpfile.mp4 $output_video_file.mp4

    But this produces a video that's not playable on android. Any help is greatly appreciated.