Recherche avancée

Médias (91)

Autres articles (60)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (9928)

  • How to convert ogv video file into Mp4 video format using Java

    16 février 2016, par Srinivasan Seenu

    I need to convert OGV VIDEO Format into MP4 VIDEO Format.

    • I use this below Java code to convert MP4 VIDEO Format to OGV VIDEO Format it is working fine.
    • For MP4 Format I use audio.setCodec(" AudioAttributes.DIRECT_STREAM_COPY") and video.setCodec("VideoAttributes.DIRECT_STREAM_COPY ").
    • But If I use this same code by change audio.setCodec(" libvorbis") and video.setCodec("mpeg4 ") it is not getting converted from Ogv to Mp4 Format. And also I try some codec in my sample program.

    • I am not able convert from Ogv to Mp4 Format.

    public class VideoConvert {
       public static void main(String[] args) throws IOException {
       File source = new File("D:\\readxml\\videoConvertorProject\\MP4toOGV\\mp4\\Sample1.ogv");
       File target = new File("D:\\readxml\\videoConvertorProject\\MP4toOGV\\ogv\\Sample2.mp4");
       AudioAttributes audio = new AudioAttributes();
       //audio.setCodec("libvorbis");
       audio.setCodec("libfaac");
       //audio.setCodec("libmp3lame");
       //audio.setCodec(AudioAttributes.DIRECT_STREAM_COPY);
       audio.setBitRate(new Integer(128000));
       audio.setSamplingRate(new Integer(44100));
       audio.setChannels(new Integer(2));
       VideoAttributes video = new VideoAttributes();
       video.setBitRate(new Integer(160000));
       video.setFrameRate(new Integer(15));
       //video.setSize(new VideoSize(176, 144));
       //video.setCodec("libtheora");
       video.setCodec("mpeg4");
       //video.setCodec(VideoAttributes.DIRECT_STREAM_COPY);
       EncodingAttributes attrs = new EncodingAttributes();
       attrs.setFormat("mp4");
       attrs.setAudioAttributes(audio);
       attrs.setVideoAttributes(video);
       Encoder encoder = new Encoder();
       try {
           encoder.encode(source, target, attrs);
       } catch (IllegalArgumentException e) {
           e.printStackTrace();
       } catch (InputFormatException e) {
           e.printStackTrace();
       } catch (EncoderException e) {
           e.printStackTrace();
       }
    }
  • How to extract a video snippet from a video file that is being written in by ffmpeg in realtime

    31 juillet 2020, par alex.b

    At the moment i am recording a LIVE stream video from youtube with youtube-dl (https://github.com/rg3/youtube-dl)

    



    The command i use for this :

    



    youtube-dl --id -f 92 https://www.youtube.com/watch?v=VYlQJbsVs48


    



    92 is a format code that i got after executing a command to get the formats, that gave me this list :

    



    format code  extension  resolution note
140          m4a        audio only DASH audio  144k , m4a_dash container, aac  @128k (48000Hz)
141          m4a        audio only DASH audio  272k , m4a_dash container, aac  @256k (48000Hz)
160          mp4        256x144    DASH video  124k , 15fps, video only
133          mp4        426x240    DASH video  258k , 30fps, video only
134          mp4        640x360    DASH video  616k , 30fps, video only
135          mp4        854x480    DASH video 1116k , 30fps, video only
136          mp4        1280x720   DASH video 2216k , 30fps, video only
137          mp4        1920x1080  DASH video 4141k , 30fps, video only
151          mp4        72p        HLS
132          mp4        240p       HLS
92           mp4        240p       HLS
93           mp4        360p       HLS
94           mp4        480p       HLS
95           mp4        720p       HLS
96           mp4        1080p      HLS  (best)


    



    This is creating a file called VYlQJbsVs48.mp4.part that gets bigger and bigger of course.

    



    Is there a way to extract a video snippet from that live stream or form the part file ? Or maybe there is a better way of doing this ?

    



    What i have noticed is that if i force quit iTerm2 while youtube-dl is running the .part file it creates wont contain any index information (something to do with an moov atom not being present in the mp4 file - which is the information about the number of frames and other things - metadata i think), so it makes me think i cannot extract from the file.

    



    Maybe if there would be a way that youtube-dl can write the index information at all times or maybe another way that i can record the live stream and get video snippets while its recording.

    



    I forgot to mention i am doing this on OSX Yosemite. I have FFMPEG installed with homebrew and youtoube-dl

    



    I am more than happy to try stuff on UBUNTU if there is a solution.

    



    Any help would be greatly appreciated.

    



    Thank you.

    



    Alex

    


  • How to extract a video snippet from a video file that is being written in by ffmpeg in realtime

    26 février 2015, par alex.b

    At the moment i am recording a LIVE stream video from youtube with youtube-dl (https://github.com/rg3/youtube-dl)

    The command i use for this :

    youtube-dl --id -f 92 https://www.youtube.com/watch?v=VYlQJbsVs48

    92 is a format code that i got after executing a command to get the formats, that gave me this list :

    format code  extension  resolution note
    140          m4a        audio only DASH audio  144k , m4a_dash container, aac  @128k (48000Hz)
    141          m4a        audio only DASH audio  272k , m4a_dash container, aac  @256k (48000Hz)
    160          mp4        256x144    DASH video  124k , 15fps, video only
    133          mp4        426x240    DASH video  258k , 30fps, video only
    134          mp4        640x360    DASH video  616k , 30fps, video only
    135          mp4        854x480    DASH video 1116k , 30fps, video only
    136          mp4        1280x720   DASH video 2216k , 30fps, video only
    137          mp4        1920x1080  DASH video 4141k , 30fps, video only
    151          mp4        72p        HLS
    132          mp4        240p       HLS
    92           mp4        240p       HLS
    93           mp4        360p       HLS
    94           mp4        480p       HLS
    95           mp4        720p       HLS
    96           mp4        1080p      HLS  (best)

    This is creating a file called VYlQJbsVs48.mp4.part that gets bigger and bigger of course.

    Is there a way to extract a video snippet from that live stream or form the part file ? Or maybe there is a better way of doing this ?

    What i have noticed is that if i force quit iTerm2 while youtube-dl is running the .part file it creates wont contain any index information (something to do with an moov atom not being present in the mp4 file - which is the information about the number of frames and other things - metadata i think), so it makes me think i cannot extract from the file.

    Maybe if there would be a way that youtube-dl can write the index information at all times or maybe another way that i can record the live stream and get video snippets while its recording.

    I forgot to mention i am doing this on OSX Yosemite. I have FFMPEG installed with homebrew and youtoube-dl

    I am more than happy to try stuff on UBUNTU if there is a solution.

    Any help would be greatly appreciated.

    Thank you.

    Alex