Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (51)

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

  • Convert RTP packets to WAV or AU using ffmpeg

    14 octobre 2014, par Jonas Kongslund

    I have a file containing a sequence of RTP packets wrapped in UDP/IP packets. I want to convert this file to a WAV or AU file and was told that ffmpeg may be able to do the job. However the tool does not behave as I would expect. For some reason it is expecting an SDP file but I do not have such a file and I am wondering why it is needed since the RTP packets seem to contain enough information in order to do the conversion. Also it is reporting the wrong payload type.

    Any ideas ? Below is what I have tried. The RTP packets in the input file alaw.rtp only have payload types 8 (A-law) and 72 (RTCP related) so I do not know where payload type 105 is coming from.

    $ ffmpeg -f rtp -i alaw.rtp alaw.au
    ...
    [rtp @ 0x9dbdfe0] Unsupported RTP version packet received
       Last message repeated 89 times
    [rtp @ 0x9dbdfe0] Unable to receive RTP payload type 105 without an SDP file describing it
    [rtp @ 0x9dbdfe0] Estimating duration from bitrate, this may be inaccurate
    Input #0, rtp, from 'alaw.rtp':
     Duration: N/A, bitrate: N/A
    File 'alaw.au' already exists. Overwrite ? [y/N] y
    Output #0, au, to 'alaw.au':
    Output file #0 does not contain any stream

    This is the version of ffmpeg that I have used

    ffmpeg version 0.10.6-6:0.10.6-0ubuntu0jon1~lucid2
    built on Nov 12 2012 15:20:22 with gcc 4.4.3
  • FFmpeg error m4v to flv requested bitrate is too low

    20 décembre 2012, par Pradeep Singh

    FFMPEG OUTPUT


    COMMAND

    /usr/local/bin/ffmpeg -i '/home/machine/public_html/video_1355531272.m4v' -s '640x480' -sameq -ab '64k' -ar '44100' -f 'flv' -pass '1' -passlogfile '/home/machine/public_html/tmp/1355531273-50cbc4090d696-multipass'  -y /home/machine/public_html/tmp/1355531273-50cbc4090d2a9.flv &> /home/machine/public_html/tmp/1355531273-50cbc4090da7c.info
    /usr/local/bin/ffmpeg -i '/home/machine/public_html/video_1355531272.m4v' -s '640x480' -sameq -ab '64k' -ar '44100' -f 'flv' -pass '2' -passlogfile '/home/machine/public_html/tmp/1355531273-50cbc4090d696-multipass'  -y /home/machine/public_html/tmp/1355531273-50cbc4090d2a9.flv &> /home/machine/public_html/tmp/1355531273-50cbc4090da7c.info
    eng): Video: h264, yuv420p, 960x540, 3428 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
       Metadata:
         creation_time   : 2012-12-14 22:50:55
       Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 111 kb/s
       Metadata:
         creation_time   : 2012-12-14 22:50:55
    [buffer @ 0xdd079d0] w:960 h:540 pixfmt:yuv420p
    [scale @ 0xdd07da0] w:960 h:540 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0xa0000004
    [flv @ 0xdd041c0] requested bitrate is too low
    Output #0, flv, to '/home/machine/public_html/tmp/1355531273-50cbc4090d2a9.flv':
       Stream #0.0(eng): Video: flv, yuv420p, 640x480, q=2-31, pass 2, 200 kb/s, 90k tbn, 29.97 tbc
       Metadata:
         creation_time   : 2012-12-14 22:50:55
       Stream #0.1(eng): Audio: adpcm_swf, 44100 Hz, stereo, s16, 64 kb/s
       Metadata:
         creation_time   : 2012-12-14 22:50:55
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    -------------------------------
    RESULT
    -------------------------------
    Execute error. Output for file "/home/machine/public_html/video_1355531272.m4v" was found, but the file contained no data. Please check the available codecs compiled with FFmpeg can support this type of conversion. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().
  • how to configure ffmpeg to transplant to iphone sdk 5.1 simulator and play h264 ?

    19 décembre 2012, par user1204703

    I use lastest "ffmpeg-1.0.1" and "ffmpeg-iphone-build",to transplant fffmpeg to iphone sdk 5.1 simulator.

    and use the build-i386 script in the "ffmpeg-iphone-build" project . also I add "—enable-decoder=h264" to the "CONFIGURE_OPTIONS".

    just this :

    CONFIGURE_OPTIONS="--enable-gpl --enable-postproc --enable-swscale --enable-avfilter --disable-asm --enable-cross-compile --enable-decoder=h264"

    then execute "./build-i386".
    and I also execute below batch :

    #!/bin/tcsh -f

    mkdir universal

    mkdir lib


    mkdir i386


    mv ffmpeg-i386/libavcodec/libavcodec.a i386/

    mv ffmpeg-i386/libavdevice/libavdevice.a i386/

    mv ffmpeg-i386/libavformat/libavformat.a i386/

    mv ffmpeg-i386/libavutil/libavutil.a i386/

    mv ffmpeg-i386/libswscale/libswscale.a i386/



    rm universal/*.a

    lipo -create -arch i386 i386/libavcodec.a -output universal/libavcodec.a

    lipo -create -arch i386 i386/libavdevice.a -output universal/libavdevice.a

    lipo -create -arch i386 i386/libavformat.a -output universal/libavformat.a

    lipo -create -arch i386 i386/libavutil.a -output universal/libavutil.a

    lipo -create -arch i386 i386/libswscale.a -output universal/libswscale.a

    rm lib/*.a

    cp universal/*.a lib/

    then I use the "iFreameExtractor" demo, modify the video file to "test.h264".
    code like :

    - (void)applicationDidFinishLaunching:(UIApplication *)application {    
       self.video = [[VideoFrameExtractor alloc] initWithVideo:[Utilities bundlePath:@"test.h264"]];
    }

    then run with IPhone 5.1 Simulator.
    but, fail with error :

    [h264 @ 0x91f1800] max_analyze_duration 5000000 reached at 5019130
    [h264 @ 0x91f1800] Estimating duration from bitrate, this may be inaccurate
    [swscaler @ 0x9203600] No accelerated colorspace conversion found from yuv420p to rgb24.
    2012-12-19 20:19:54.419 iFrameExtractor[52708:f803] video duration: -9223372036854.775391

    I think that the reason why it can not play h264 file that when I transplant the fffmpeg to the iphone simulator, and maybe do something wrong with the configure options.
    but I do not know how to fix it.

    Can you show the correct configure or other advices ?

    Thanks for your reply ??
    I am going to crash.