Recherche avancée

Médias (91)

Autres articles (43)

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

  • 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

Sur d’autres sites (10158)

  • 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)
  • How do you set up carrierwave-video with ffmpeg ?

    24 septembre 2013, par Maleckai

    This has been doing my head in for the past 2 days, and I just cannot seem to get it working.

    I am building a simple Rails app with the sole purpose of uploading & processing images and videos. I'm working on Ubuntu Linux.

    Here's the relevant gems in my Gemfile :

    gem 'delayed_job_active_record'
    gem 'carrierwave'
    gem 'carrierwave-video'
    gem 'carrierwave_backgrounder'
    gem 'mini_magick'
    gem 'streamio-ffmpeg'

    At first I was having problems with ffmpeg complaining about certain arguments (I determined this by taking the command the rails app attempted to run when it was to convert a video, and running it manually outside rails), which I discovered was because the version of ffmpeg I was using was 'too new'. So I downgraded to 1.2.1, which is what streamio-ffmpeg says is the only version of ffmpeg they're tested against.

    After that, I could run the command manually, fine. But whenever I tried to convert through the app, I'd get the error :

    Failed to transcode with FFmpeg. Check ffmpeg install and verify video is not corrupt or cut short. Original error: nil is not a symbol

    I did a bit of Googling on the error, and only came up with one relevant result, but nothing in there has helped my situation.

    I'm at a total loss at this point, and am not sure where I can go from here. I assume many of people have tried this before, so I'm hoping someone can guide me on the exact steps they took to get carrierwave-video & ffmpeg working together.

  • Acess to path is denied in ffmpeg conversion

    17 décembre 2013, par user1830062

    I have Windows 2008 R2 server, and am trying to convert my videos from any type to mp4 format. Everything is fine when running locally.

    However, when I try to do the same on the live web server, I am able to upload the file, but then when I try to convert the file, it says the file access is denied.

    Steps that I tried to sort but no clue pops the same server.

    1. changed the identity to network service /localhost
    2. gave full permission to the folder
    3. created virtual directory.
    4. impersonation is true.

    I have done all these things, but no response. One thing which I found was for eg :

    c:\inetpub\vhosts\mydomainname\httpdocs\myfolder_to save_uploaded_file

    which is readonly by default, I couldn't change them to all permission. Please advice how to change them to read/write.

    By the way, I am trying to save the converted file to

    c:\inetpub\vhosts\mydomainname\httpdocs\test_folder