Recherche avancée

Médias (91)

Autres articles (62)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (3822)

  • Concatenating video files with ffmpeg, no sound in output file [on hold]

    1er septembre 2013, par Junaid

    I am concatenating different AVI video files. The input files has been specified in input.txt in the order required. First video file does not have sound track, but subsequent files have.

    After completion the resulting the operation, the output does not have audio !

    If I remove first video files from input then resulting video gets sound. So it means the output format follows the first item in input list. How can I solve this problem.

    Please suggest the options in ffmpeg ; not in any other tools like mencoder.

    ffmpeg -f concat -i inputs.txt -c copy test.avi
    ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun 27 2013 09:22:45 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
     configuration: --prefix=/home/junaid/ffmpeg_build --extra-cflags=-I/home/junaid/ffmpeg_build/include --extra-ldflags=-L/home/junaid/ffmpeg_build/lib --bindir=/home/junaid/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
     libavutil      52. 37.101 / 52. 37.101
     libavcodec     55. 17.100 / 55. 17.100
     libavformat    55.  9.100 / 55.  9.100
     libavdevice    55.  2.100 / 55.  2.100
     libavfilter     3. 77.101 /  3. 77.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    [concat @ 0x335a880] Invalid stream index 1
    [concat @ 0x335a880] max_analyze_duration 5000000 reached at 5000000 microseconds
    Input #0, concat, from 'inputs.txt':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (xvid / 0x64697678), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Output #0, avi, to 'test.avi':
     Metadata:
       ISFT            : Lavf55.9.100
       Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 25 fps, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [concat @ 0x335a880] Invalid stream index 1
       Last message repeated 6368 times
    frame= 3793 fps=0.0 q=-1.0 size=   11108kB time=00:02:37.96 bitrate= 576.1kbits/Invalid stream index 1
    [concat @ 0x335a880] Invalid stream index 1
       Last message repeated 7173 times
    frame= 7921 fps=7801 q=-1.0 size=   22928kB time=00:05:30.16 bitrate= 568.9kbitsInvalid stream index 1
    [concat @ 0x335a880] Invalid stream index 1
       Last message repeated 6614 times
    frame=11729 fps=7688 q=-1.0 size=   27057kB time=00:08:08.96 bitrate= 453.3kbitsInvalid stream index 1
    [concat @ 0x335a880] Invalid stream index 1
       Last message repeated 6247 times
    frame=15324 fps=7565 q=-1.0 size=   44956kB time=00:10:38.92 bitrate= 576.4kbitsInvalid stream index 1
    [concat @ 0x335a880] Invalid stream index 1
       Last message repeated 6553 times
    frame=19096 fps=7516 q=-1.0 size=   64014kB time=00:13:16.24 bitrate= 658.6kbitsInvalid stream index 1
    [concat @ 0x335a880] Invalid stream index 1
       Last message repeated 6753 times
    frame=22983 fps=7558 q=-1.0 size=   79848kB time=00:15:58.36 bitrate= 682.5kbitsInvalid stream index 1
    [concat @ 0x335a880] Invalid stream index 1
       Last message repeated 7011 times
    frame=27019 fps=7610 q=-1.0 size=   94130kB time=00:18:46.68 bitrate= 684.4kbitsInvalid stream index 1
    [concat @ 0x335a880] Invalid stream index 1
       Last message repeated 1302 times
    frame=27772 fps=7658 q=-1.0 Lsize=   96618kB time=00:19:18.08 bitrate= 683.5kbits/s    
    video:95921kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.726908%
  • Convert static file to h264 stream with FFmpeg [on hold]

    28 août 2013, par Vprnl

    I'm building a NodeJS application that converts a static videofile to a streamable video which is being sent to a client (iPad or browser) on the fly (using the fluent-ffmpeg module).

    Everything is set and all I need now is to configure ffmpeg correctly. But I'm having a lot of problems with ffmpeg.

    With my current settings, I hear audio right away, but the picture starts a couple of seconds later. Then, my 30 second test file has been compressed to 3 seconds of high speed imagery.

    How can I configure my ffmpeg so it will stream the mp4 correctly (in one pass through of course). It seems it is streaming raw h264, if that is the case how can I force the mp4 container. I thought I was doing that by using '-f mp4'

    my correct settings are :

      '-crf 22','-c:v libx264','-f mp4','-movflags','faststart+frag_keyframe'

    I've also tried :

    '-r 30','-crf 30','-analyzeduration 0','-probesize 1000','-rc_lookahead 0','-fflags nobuffer','-g 75','-ss 0','-threads 0','-vcodec libx264','-qcomp 0.6','-qmin 10','-qmax 51','-qdiff 4','-b:v 400k','-maxrate 400k','-bufsize 800k','-acodec mp3','-ab 192k','-ar 44100','-tune zerolatency','-f mp4','-movflags','faststart+frag_keyframe'

    As you can see by the amount of options I've tried, I'm getting pretty desperate. I'm basically just running around in the dark.

    I don't think it matters much but these are my request headers :

                       res.writeHead(200, { // NOTE: a partial http response
                           'Content-Type':'video/mp4',
                           'Content-Length':stat.size,
                           'Content-Range':'bytes '+start+'-'+end+'/'+stat.size,
                           'Transfer-Encoding':'chunked'
                       });
  • live stream desktop to android tablet and delay

    25 août 2013, par Nani

    I am trying to live stream the desktop to android tablet. Here is what I did

    1) Capture the screen using the ffmpeg

    ffmpeg -y -f x11grab -s 800x600 -r 20 -i :0 http://x.x.x.x:8090/feed1.ffm

    2) Stream using ffserver

    Here is partial ffserver.conf file

    <stream test="test">
    Feed feed1.ffm
    Format flv
    NoAudio                                                
    VideoSize 800x600                                      
    </stream>

    3) Play the stream on the tablet (Android 4.3) using URL "http://x.x.x.x:8090/test"

    I am able to see the desktop on tablet with few issues
    1) There is around 6 to 8 secs delay in the video
    2) player shows a warning "first frame is no keyframe"

    When I changed the "Format flv" to "Format mpegts" in "ffserver.conf" file the warning is gone. But the delay is still there.

    Is there a way to reduce the delay ?

    Am I using the correct format ?

    I want to achieve at max 2 sec delay for my desktop streaming.