Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (63)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (9480)

  • FFMPEG pushed RTMP stream not working on Android & iPhone

    1er décembre 2015, par BlackDivine

    I have to make a semi-live-stream. I used Nginx-rtmp module and then pushed content to it via ffmpeg using :

    ffmpeg -re -i content.mp4 -r 25 -f fvl "rtmp://rtmp.server.here"

    The stream runs fine when I open it in VLC from "rtmp ://rtmp.server.here"

    But I also have to make iPhone and Android apps that play these streams. And that’s the problem, the stream doesn’t work on Android and iPhone.

    If I use Wowza streaming cloud and stream to Wowza cloud instead of my own nginx-rtmp server then the same app written for Android & iPhone can playback the stream just fine.

    Now either nginx-rtmp is not working right, or what else ? I’ve also tried crtmpserver and the same thing happens.

    What I want to acheive :
    I have to develop a system where we can upstream a TV-Channel (have rights for it) to a server and then make a website, android app & iPhone app so consumers can watch the live channel.

    The uploading part I have a clue of, probably a TV tuner card and Open Broadcast Software to stream it to server. But the Live playback is new to me.


    UPDATE : I also used ffprobe and here’s the output. (See the last line)

    munir@munir-HP-ProBook-450-G2:~$ ffprobe rtmp://rtmp.server.here
    ffprobe version 2.6.2 Copyright (c) 2007-2015 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    [flv @ 0x267cc60] Stream discovered after head already parsed
       Last message repeated 1 times
    Input #0, flv, from 'rtmp://stage.funworldpk.com/live':
     Metadata:
       Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
       displayWidth    : 320
       displayHeight   : 240
       fps             : 20
       profile         :
       level           :
     Duration: 00:00:00.00, start: 288.763000, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 20 fps, 20 tbr, 1k tbn, 40 tbc
       Stream #0:1: Data: none
       Stream #0:2: Audio: aac (LC), 22050 Hz, stereo, fltp
    Unsupported codec with id 0 for input stream 1

    Update 2 :
    I got my stream working by using Licensed copy of Wowza streaming server. Everything works now. But obviously this will not be an option for everyone that’s why I am not posting it as an answer.

  • Android and iPhone compatible mp4 format using ffmpeg

    23 mai 2015, par Muhammad Umar

    I have two video files, their metatdata and details are as below

    ANDROID

         Metadata:
           major_brand     : isom
           minor_version   : 512
           compatible_brands: isomiso2avc1mp41
           encoder         : Lavf55.19.104
         Duration: 00:00:04.74, start: 0.046440, bitrate: 696 kb/s
           Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x480, 665 kb/s, 15 fps, 15 tbr, 15360 tbn, 30 tbc (default)
           Metadata:
             handler_name    : VideoHandler
           Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 64 kb/s (default)
           Metadata:
             handler_name    : SoundHandler

       IPHONE

         Metadata:
           major_brand     : mp42
           minor_version   : 1
           compatible_brands: mp41mp42isom
           creation_time   : 2015-05-23 05:59:42
         Duration: 00:00:02.10, start: 0.000000, bitrate: 1109 kb/s
           Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/bt709), 320x320, 1053 kb/s, 24.19 fps, 30 tbr, 30 tbn, 60 tbc (default)
           Metadata:
             creation_time   : 2015-05-23 05:59:42
             handler_name    : Core Media Video
           Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 61 kb/s (default)
           Metadata:
             creation_time   : 2015-05-23 05:59:42
             handler_name    : Core Media Audio

    The iPhone version is NOT running in android VideoView. Which settings should i change to make it compatible with Android VideoView

  • Unable to upload video from iPhone with paperclip-ffmpeg in Ruby on Rails

    13 mai 2015, par sank

    When I upload a video from an iPhone, I’m getting the following error :

    Command :: PATH=/usr/bin/:$PATH; file -b --mime '/tmp/6da355e988ec841811d8803dfd5cf44c20150513-8103-b4lkam.MOV'
    [paperclip] Content Type Spoof: Filename IMG_2637.MOV (["video/quicktime"]), content type discovered from file command: inode/x-empty. See documentation to allow this combination.
    (0.6ms)  ROLLBACK
    Completed 400 Bad Request in 58ms (Views: 0.9ms | ActiveRecord: 5.0ms)

    (This works perfectly when I upload the same video from desktop.)

    I used gems "paperclip", "~> 4.1" and "paperclip-ffmpeg".

    In my video model :

    validates_attachment_content_type :student_video, content_type: /\Avideo\/.*\Z/

    also tried out

    validates_attachment_content_type :student_video, :content_type => ['video/x-  
    #                                        msvideo', 'video/avi', 'video/quicktime', 'video/3gpp', 'video/x-ms-
    #                                        wmv', 'video/mp4', 'flv-application/octet-stream', 'video/x-
    #                                        flv', 'video/mpeg', 'video/mpeg4', 'video/x-la-asf', 'video/x-ms-asf']

    But I’m getting the same error.