Recherche avancée

Médias (91)

Autres articles (49)

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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (7344)

  • C run linux shell command(fmpeg) slower than typing directly in terminal

    11 novembre 2014, par dadylonglegs

    I’m writing an application that execute a linux shell command (ffmpeg) from my C code. Such as :

    char command[2000];
    sprintf(command, "ffmpeg -i %s/%s -r 1 -vf scale=-1:120 -vframes 1 -ss  00:00:00 %s.gif", publicFolder, mediaFile, mediaFile);
    system(command);

    To extract video thumbnail from a specific video. But the strange that it is too much slower when executing shell command form C compare to typing directly to the terminal. I have no idea about this.
    Can anybody help me pls ?. Thanks in advance.

  • Transcode to virtual device/memory in VLC

    27 septembre 2013, par Atrotygma

    I have a unicast h264 stream from a video transmitter. Now, I would like to view the stream in a web browser using HTML5s tag. For this, I have to transcode it first via VLC to theora/ogg and then streaming it out as a HTTP stream. This works fine for 1 client, but since HTTP streaming isn't multicast, I have the fear that my server will break down really quick because VLC will transcode the input stream for every additional client request.

    For this reason, I'd like to write the transcoded stream in something like a 'virtual device' or memory or any other form of temporary storage (but dear god, NO files, I don't want to destroy my hard disk). Then, I would like to grab the transcoded stream with a secondary VLC instance and stream it via HTTP, so that in the end, I have to transcode it only once for all clients.

    In steps :

    1. [DONE] Grab H.264 unicast stream from transmitter via RTSP
    2. VLC instance 1 transcodes it to theora/ogg and writes it to a temporary memory
    3. VLC instance 2 reads from the memory and streams it via HTTP
    4. [DONE] Browser requests HTTP stream via HTTP live Streaming (html5 video).

    Is this possible in any way ?

  • Is there a chance to check why a videostream on IOS does not work ?

    13 septembre 2013, par mazleu

    I have a very strange problem.

    To stream videos I use AMS (Adobe Media Server)
    This works fine for the most Videos.
    But 4 videos do not work on iOS devices. The first seconds work but then the Video break.
    All Videos (over 1000) are convertet with the same ffmpeg settings.

    I try other settings and other converters but the Result are the same.

    Is there any opportunity to show why IOS don't like this 4 Videos ?

    Mediainfo form a failed video :

    MediaInfoLib - v0.7.62

    General
    Complete name                       : ---
    Format                              : MPEG-4
    Format profile                      : Base Media
    Codec ID                            : isom
    File size                           : 91.3 MiB
    Duration                            : 24mn 27s
    Overall bit rate mode               : Variable
    Overall bit rate                    : 522 Kbps
    Encoded date                        : UTC 2013-09-12 14:24:13
    Tagged date                         : UTC 2013-09-12 14:24:13

    Video
    ID                                  : 1
    Format                              : AVC
    Format/Info                         : Advanced Video Codec
    Format profile                      : High@L4.1
    Format settings, CABAC              : Yes
    Format settings, ReFrames           : 4 frames
    Codec ID                            : avc1
    Codec ID/Info                       : Advanced Video Coding
    Duration                            : 24mn 27s
    Bit rate                            : 387 Kbps
    Maximum bit rate                    : 4 885 Kbps
    Width                               : 1 280 pixels
    Height                              : 720 pixels
    Display aspect ratio                : 16:9
    Frame rate mode                     : Constant
    Frame rate                          : 30.000 fps
    Color space                         : YUV
    Chroma subsampling                  : 4:2:0
    Bit depth                           : 8 bits
    Scan type                           : Progressive
    Bits/(Pixel*Frame)                  : 0.014
    Stream size                         : 67.7 MiB (74%)
    Writing library                     : x264 core 130 r2273 b3065e6
    Encoding settings                   : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=28.0 / qcomp=0.70 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=50000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:0.60
    Encoded date                        : UTC 2013-09-12 14:24:13
    Tagged date                         : UTC 2013-09-12 14:24:16

    Audio
    ID                                  : 2
    Format                              : AAC
    Format/Info                         : Advanced Audio Codec
    Format profile                      : LC
    Codec ID                            : 40
    Duration                            : 24mn 27s
    Bit rate mode                       : Variable
    Bit rate                            : 132 Kbps
    Maximum bit rate                    : 172 Kbps
    Channel(s)                          : 2 channels
    Channel positions                   : Front: L R
    Sampling rate                       : 48.0 KHz
    Compression mode                    : Lossy
    Delay relative to video             : 67ms
    Stream size                         : 22.7 MiB (25%)
    Encoded date                        : UTC 2013-09-12 14:24:15
    Tagged date                         : UTC 2013-09-12 14:24:16