Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (72)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

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

  • Concatenate 2 WMC Recordings

    9 septembre 2015, par user7415369

    I have two recorded tv shows from Windows Media Center that recorded one after the other. I want to be able to combine them into one file, so they play right after one another. They are both in .wtv format. I’d like to combine them losslessly if possible.

    I’ve tried the lossless methods here : https://trac.ffmpeg.org/wiki/Concatenate but can’t seem to get anything to work.

    I’ve tried :

    ffmpeg -f concat -i mylist.txt -c copy out.wtv

    with this mylist.txt :

    file '1.wtv'
    file '2.wtv'

    But I just get a file that doesn’t play.

    I’ve also tried :

    ffmpeg -i "concat:1.wtv|2.wtv" -c copy out.wtv

    But this gives me a playable file but only includes the first video, although the file size is bigger.

    I also attempted something similar to the example in the link above converting the files to transport streams first, but ran into problems combining the two, probably because the example uses aac audio and I have ac3. Maybe there is a different option for -bsf:a for ac3 audio ?

    ffmpeg -i 1.wtv -c copy -bsf:v imxdump -f mpegts intermediate1.ts
    ffmpeg -i 2.wtv -c copy -bsf:v imxdump -f mpegts intermediate2.ts
    ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4

    Any help or ideas on what else I could try would be much appreciated. Maybe this isn’t possible without re-encoding, but it seems like it should be simple enough.

    Here is info for the input files I am using :

    Input #0, wtv, from '1.wtv':
     Duration: 00:39:57.16, start: 1.828128, bitrate: 14820 kb/s
       Stream #0:0[0x2d](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
       Stream #0:1[0x2e](spa): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
       Stream #0:2[0x2f]: Video: mpeg2video (Main), yuv420p(tv), 1920x1080 [SAR 1:1
    DAR 16:9], Closed Captions, max. 24000 kb/s, 29.97 fps, 29.97 tbr, 10000k tbn,
    59.94 tbc
       Stream #0:3[0x30]: Subtitle: eia_608

    Input #0, wtv, from '2.wtv':
     Duration: 00:25:12.04, start: 1.616899, bitrate: 14737 kb/s
       Stream #0:0[0x19](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
       Stream #0:1[0x1a](spa): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
       Stream #0:2[0x1b]: Video: mpeg2video (Main), yuv420p(tv), 1920x1080 [SAR 1:1
    DAR 16:9], Closed Captions, max. 24000 kb/s, 29.97 fps, 59.94 tbr, 10000k tbn,
    59.94 tbc
       Stream #0:3[0x1c]: Subtitle: eia_608
       Stream #0:4[0xffffffff]: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown)
    , 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         title           : TV Thumbnail
  • Paperclip Video Skewed (does not maintain aspect ratio)

    3 septembre 2015, par zreitano

    The video uploaded does not maintain aspect ratio. In the readme (paperclip av-transcoder) it says, " ’ !’ - Keep the same aspect of the image/video, but with the passed dimension." I have also tried the other options(<># !) and none of them effect the size of the video.

    My goal is to be able to be able to have the video returned in a square (while maintaining the aspect ratio). Cropping from the center would be ideal, as well.

    Any help would be greatly appreciated. I included my code below.

    class Video &lt; Post

     Paperclip.interpolates :id do |attachment, style|
       attachment.instance.id
     end

     #basename/extension is paperclip interpolation from attachment, can write own interpolations as needed

     # have to link /usr/local/bin to the linuxbrew version of ffmpeg
     has_attached_file :video,  path: "/posts/videos/:id/:style.:extension",
     :styles => {
       :square => {:geometry => "500x500!", :format => 'mp4', :streaming => true }
     },
     :processors => [:transcoder]

     validates_attachment :video, :presence => true,
                              :content_type => { content_type: ["video/mp4", "video/mov", "video/mpeg","video/mpeg4", "video/quicktime"] }

     def video_url
       video = self.video
       if video.present?
         return video.url(:square)
       end
     end

    end
  • Ubuntu ffmepg watermark position

    8 juillet 2015, par Arnas Pečelis

    so I have command :

    ffmpeg -i prepared/video.mp4 -i units/video_watermark.png -filter_complex overlay=main_w-overlay_w-10:main_h-overlay_h-10 -codec:a copy moved/video_test.mp4

    which should describe watermark position on bottom right but the watermark appears on the bottom center. what i’m doing wrong ?

    also I tried this command :

    ffmpeg -i prepared/video.mp4 -vf "movie=units/video_watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" moved/output.mp4

    but with it watermark was not added, video was corrupted becouse of response :

    [aac @ 0x3556540] The encoder ’aac’ is experimental but experimental codecs are not enabled, add ’-strict -2’ if you want to use it.

    where is the clue ?