Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

Sur d’autres sites (10598)

  • Replicate the format of a video to another

    10 octobre 2017, par Basj

    Let’s say I have :

    • video1.avi which is perfectly played (both sound and image) on my TV’s USB media input

    • video2.avi which is not recognized by the TV : "Imposible to read this format"

    I have tried lots of solutions, like :

    ffmpeg -i video2.avi -codec:a libmp3lame -q:a 0 -ac 2 -ar 48000 -joint_stereo 0^
          -codec:v libxvid -q:v 25 video2_reencoded.avi

    and when I compare video1.avi with video2_reencoded.avi with MediaInfo, they look similar in most aspects, but finally the TV won’t play video2_reencoded.avi.

    Is there a way with ffmpeg, to replicate all the specifications of video1.avi (sound encoding properties, video encoding properties, image size, container type, etc.) on video2.avi ?


    Appendix : output of MediaInfo for the three videos. In this specific example, video2.avi and video2_reencoded.avi are half-working : image ok but not the sound. In other video examples I tried, video2.avi and video2_reencoded.avi would be both totally "Impossible to read".

    video1.avi (i.e. working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 352 MiB
    Duration                                 : 51 min 22 s
    Overall bit rate                         : 959 kb/s
    Writing application                      : VirtualDubMod 1.5.10.3 | ... || (build 2550/release)
    Writing library                          : VirtualDubMod build 2550/release

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (MPEG)
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 51 min 22 s
    Bit rate                                 : 821 kb/s
    Width                                    : 720 pixels
    Height                                   : 400 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.114
    Stream size                              : 302 MiB (86%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Codec ID                                 : 55
    Codec ID/Hint                            : MP3
    Duration                                 : 51 min 22 s
    Bit rate mode                            : Constant
    Bit rate                                 : 128 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 47.0 MiB (13%)
    Alignment                                : Aligned on interleaves
    Interleave, duration                     : 40  ms (1.00 video frame)
    Interleave, preload duration             : 504  ms
    Writing library                          : LAME3.99r
    Encoding settings                        : -m s -V 4 -q 2 -lowpass 17 -b 128

    video2.avi (i.e. non-working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 1.37 GiB
    Duration                                 : 2 h 12 min
    Overall bit rate                         : 1 478 kb/s
    Writing application                      : VirtualDubMod 1.5.10.2 Fr | ... ||  (build 2540/release)
    Writing library                          : VirtualDubMod build 2540/release

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Muxing mode                              : Packed bitstream
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 2 h 12 min
    Bit rate                                 : 1 084 kb/s
    Width                                    : 624 pixels
    Height                                   : 368 pixels
    Display aspect ratio                     : 5:3
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.189
    Stream size                              : 1.00 GiB (73%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Codec ID                                 : 2000
    Duration                                 : 2 h 12 min
    Bit rate mode                            : Constant
    Bit rate                                 : 384 kb/s
    Channel(s)                               : 6 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 364 MiB (26%)
    Alignment                                : Split accross interleaves
    Interleave, duration                     : 40  ms (1.00 video frame)
    Interleave, preload duration             : 512  ms

    video2_reencoded.avi (i.e. non-working, reencoded, but still non-working)

    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    Format profile                           : OpenDML
    File size                                : 1.13 GiB
    Duration                                 : 2 h 12 min
    Overall bit rate                         : 1 227 kb/s
    Writing application                      : Lavf57.26.100

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Muxing mode                              : Packed bitstream
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 2 h 12 min
    Bit rate                                 : 1 084 kb/s
    Width                                    : 624 pixels
    Height                                   : 368 pixels
    Display aspect ratio                     : 5:3
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.189
    Stream size                              : 1.00 GiB (88%)
    Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Codec ID                                 : 55
    Codec ID/Hint                            : MP3
    Duration                                 : 2 h 12 min
    Bit rate mode                            : Constant
    Bit rate                                 : 128 kb/s
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 kHz
    Compression mode                         : Lossy
    Stream size                              : 120 MiB (10%)
    Alignment                                : Aligned on interleaves
    Interleave, duration                     : 24  ms (0.60 video frame)
  • Transcoding Mp4 video on Android with FFMPEG

    18 octobre 2012, par geeknizer

    I've compiled FFMPEG binary from Bambuser project (refer question) and have pushed binary and .so files to application directory.

    But when I try running FFMPEG with input file, it always complains file not found.

    1|root@android:/data/data/com.bambuser.broadcaster # ls                        
    cache           libavcodec.so   libavfilter.so  libswscale.so
    ffmpeg          libavcore.so    libavformat.so  tutorial.mp4
    lib             libavdevice.so  libavutil.so
    1|root@android:/data/data/com.bambuser.broadcaster # ./ffmpeg -i tutorial.mp4 out.mp4                                                              
    FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers
     built on May  8 2012 10:11:37 with gcc 4.4.3
     configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/tarandeep/tools/android-ndk/platforms/android-3/arch-arm --soname-prefix=/data/data/com.bambuser.broadcaster/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-encoder=mpeg2video --enable-encoder=nellymoser --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags=
     libavutil     50.34. 0 / 50.34. 0
     libavcore      0.16. 0 /  0.16. 0
     libavcodec    52.99. 1 / 52.99. 1
     libavformat   52.88. 0 / 52.88. 0
     libavdevice   52. 2. 2 / 52. 2. 2
     libavfilter    1.69. 0 /  1.69. 0
     libswscale     0.12. 0 /  0.12. 0
    tutorial.mp4: No such file or directory

    I've tried placing file in /sdcard and other locations, I always get same output

  • ffmpeg not finding vcodec libx264

    30 juillet 2013, par Ofeargall

    I've installed the latest ffmpeg but it seems unable to locate the video codecs. Do I need to completeley remove ffmpeg and re run the ./configure differently in order for ffmpeg to find the video codecs ?

    Here's my current configuration :

    FFmpeg version git-f61cbc2, Copyright (c) 2000-2011 the FFmpeg developers
     built on Jan 18 2011 10:59:49 with gcc 4.0.1 (Apple Inc. build 5465)
     configuration: --enable-libmp3lame --enable-shared --disable-mmx --arch=x86_64
     libavutil     50.36. 0 / 50.36. 0
     libavcore      0.16. 1 /  0.16. 1
     libavcodec    52.108. 0 / 52.108. 0
     libavformat   52.94. 0 / 52.94. 0
     libavdevice   52. 2. 3 / 52. 2. 3
     libavfilter    1.74. 0 /  1.74. 0
     libswscale     0.12. 0 /  0.12. 0

    Or, can I just re-run the make command to include the library ?

    Here's my snippet for transcoding :

    ffmpeg -i ~/Desktop/watercarts.mov -vcodec libx264 -b 250k -bt 50k -acodec libfaac -ab 56k -ac 2 -s 480x320 ~/Desktop/watercartsipod.mp4

    And the error :

    Unknown encoder 'libx264'

    Thank you in advance.