Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (11191)

  • Problems transcoding GoToMeeting output using FFmpeg

    20 avril 2014, par user3466413

    I’m having a nightmare of a time transcoding output from GoToMeeting, recorded using the latest OS X version, to something web-playable. No matter what settings I use, I end up with time syncing problems, at least with this particular recording.

    The .mov file looks like this. Note that it’s variable framerate, and because it’s mostly just a screencast of a PowerPoint presentation with occasional mouse movement, the output should be VFR too to produce a small file yet still preserve occasional motion.

    $ ffmpeg -i original.mov
    ffmpeg version N-58273-g18df75f Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 19 2013 10:34:42 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
     configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libass --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-openssl --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local
     libavutil      52. 53.100 / 52. 53.100
     libavcodec     55. 43.101 / 55. 43.101
     libavformat    55. 21.100 / 55. 21.100
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 91.100 /  3. 91.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f822980a000] decoding for stream 0 failed
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2014-03-20 02:09:22
     Duration: 03:08:26.72, start: 0.000000, bitrate: 75 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 1368x728 [SAR 1:1 DAR 171:91], 20 kb/s, 0.60 fps, 600 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         creation_time   : 2014-03-20 02:09:22
         handler_name    : Apple Alias Data Handler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 47 kb/s (default)
       Metadata:
         creation_time   : 2014-03-20 02:09:22
         handler_name    : Apple Alias Data Handler
       Stream #0:2(eng): Data: none (rtp  / 0x20707472), 6 kb/s
       Metadata:
         creation_time   : 2014-03-20 02:09:22
         handler_name    : Apple Alias Data Handler
       Stream #0:3(und): Data: none (rtp  / 0x20707472), 0 kb/s
       Metadata:
         creation_time   : 2014-03-20 02:09:22
         handler_name    : Apple Alias Data Handler

    The .mov file (which I unfortunately cannot publicly post) plays back properly in any application I use : VLC, Media Player Classic, and QuickTime. However, playing the transcoded output always exhibits the following symptoms :

    • Audio out of sync with what the video is showing, sometimes to the order of minutes off towards the end of this three hour recording
    • In the case of Media Player Classic, clicking a spot on the timeline actually moves the playhead to a spot on the timeline near where I clicked, but not directly on it.

    There are the arguments I’m using for a .mp4 encoding that is playable in all browsers that support H.264. Note that this is on Windows but Linux exhibits the same problems.

    ffmpeg.exe -y -i original.mov -i watermark.png -filter_complex "[0:v] crop=1184:720:178:6,scale=1184:720,setsar=1/1; [0:v][1:v] overlay=1242:648 [0:v]" -vcodec libx264 -acodec libvo_aacenc -q:a 80 -crf 30 -ac 1 -ar 16000 -strict -2 -profile:v baseline -level 3 outout.mkv

    The arguments, other than those that are self-explanatory or trivial :

    • -filter_complex : Crop excess letterboxing/pillarboxing from the video and set the aspect ratio to 1:1 for square pixels (something Safari needed), then overlay a watermark from a PNG and resize the output to 720p
    • -crf 30 : encode the video at constant quality, variable bitrate
    • -ac 1 -ar 16000 : encode with mono audio at 16 KHz
    • -strict -2 -profile:v baseline -level 3 : encode using FFmpeg’s "experimental" H.264 encoder using the Baseline level 3 profile for web compatibility

    Note that yes, this goes to an MKV container initially because, for some reason, encoding directly to a .mp4 container hangs FFmpeg. I then use -acodec copy -vcodec copy to copy the audio and video streams directly into a .mp4 container. Finally I pass the output through MP4Box to interleave it so it can be progressively downloaded.

    When transcoding, FFmpeg does drop frames, which I suspect is related to the problem, with output like this :

    FFmpeg: frame=  232 fps= 26 q=24.0 size=    5983kB time=00:32:44.57 bitrate=  24.9kbits/s dup=0 drop=1487

    When I then later attempt to mux it into the .mp4 container from this temporary .mkv container, I get a flood of warnings like this :

    [mp4 @ 0297cd00] Non-monotonous DTS in output stream 0:0; previous: 6341306, current: 6007024; changing to 6341307. This may result in incorrect timestamps in the output file.

    Now I wouldn’t be surprised if there is indeed some problem with the source file. However, if so, I need to definitively prove just how it’s broken.

    Any thoughts ?

  • ffmpeg merge wav-audio and rtmp-video stream with itsoffset parameter ?

    2 juillet 2015, par whatis01

    I tried to merge WAV audio and RTMP video stream with -itsoffset parameter :

    ffmpeg -i rtmp://server/video/stream_folder/stream_id -itsoffset 00:00:15.0000 -i /audio/1227121.wav \
    -codec:v copy -ac 2 -codec:a aac -strict experimental -f flv rtmp://server/sfolder/test_1

    But it works inappropriately (RTMP output is not steady, only voice or only video), and always prompts : mux overhead ratio 2000%, then conversion failed.

  • Error when trying to play h264 stream with ffplay

    29 août 2015, par Yehuda

    I have a file that contain part of raw h264 stream and I want to play it in Android app..

    First I tried to play it on the computer... So I tried to use ffplay for this..
    I used this command :
    ffplay.exe stream.out
    Then its opened a window and start to play it, but all i saw is a lot of green on the screen...

    The output had a lot of red lines of errors :

    [h264 @ 00000000031238c0] Reducing left cropping to 0 chroma samples to preserve alignment.
    [h264 @ 00000000031238c0] illegal aspect ratio
    [h264 @ 0000000003110ec0] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, h264, from 'out4':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
    [h264 @ 0000000005791960] error while decoding MB 50 37, bytestream -11
    [h264 @ 0000000005791960] top block unavailable for requested intra4x4 mode -1 at 4 42
    [h264 @ 0000000005791960] error while decoding MB 4 42, bytestream 4057
    [h264 @ 0000000005791960] concealing 3519 DC, 3519 AC, 3519 MV errors in P frame
    [h264 @ 0000000005782840] error while decoding MB 0 3, bytestream -23
    [h264 @ 0000000005782fc0] error while decoding MB 1 36, bytestream -16
    [h264 @ 0000000005782fc0] concealing 3462 DC, 3462 AC, 3462 MV errors in P frame
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 0 12
    [h264 @ 0000000005490380] top block unavailable for requested intra4x4 mode -1 at 0 12
    [h264 @ 0000000005490380] error while decoding MB 0 12, bytestream 917
    [h264 @ 0000000005782840] error while decoding MB 0 12, bytestream 4415
    [h264 @ 0000000005782840] top block unavailable for requested intra mode at 22 18
    [h264 @ 0000000005782840] error while decoding MB 22 18, bytestream 1477
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 8 30
    [h264 @ 0000000005782840] error while decoding MB 8 30, bytestream 4272
    [h264 @ 0000000005782840] error while decoding MB 67 37, bytestream -10
    [h264 @ 0000000005782840] top block unavailable for requested intra mode at 51 42
    [h264 @ 0000000005782840] error while decoding MB 51 42, bytestream 3845
    [h264 @ 0000000005782840] concealing 3309 DC, 3309 AC, 3309 MV errors in P frame
    [h264 @ 0000000005490380] concealing 3296 DC, 3296 AC, 3296 MV errors in P frame
    [h264 @ 00000000057914c0] top block unavailable for requested intra4x4 mode -1 at 0 12
    [h264 @ 00000000057914c0] error while decoding MB 0 12, bytestream 4371
    [h264 @ 00000000057914c0] top block unavailable for requested intra4x4 mode -1 at 5 18
    [h264 @ 00000000057914c0] error while decoding MB 5 18, bytestream 5007
    [h264 @ 00000000057914c0] error while decoding MB 46 26, bytestream -6
    [h264 @ 00000000057914c0] top block unavailable for requested intra mode at 37 36
    [h264 @ 00000000057914c0] error while decoding MB 37 36, bytestream 1271
    [h264 @ 00000000057914c0] concealing 2953 DC, 2953 AC, 2953 MV errors in P frame
    [h264 @ 0000000005791960] concealing 3391 DC, 3391 AC, 3391 MV errors in P frame
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 5 0
    [h264 @ 0000000005782840] error while decoding MB 5 0, bytestream 1025
    [h264 @ 0000000005782fc0] top block unavailable for requested intra4x4 mode -1 at 47 30
    [h264 @ 0000000005782fc0] error while decoding MB 47 30, bytestream 584
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 8 6
    [h264 @ 0000000005782840] error while decoding MB 8 6, bytestream 4699
    [h264 @ 0000000005782fc0] concealing 3600 DC, 3600 AC, 3600 MV errors in P frame
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 0 12
    [h264 @ 0000000005782840] error while decoding MB 0 12, bytestream 4586
    [h264 @ 0000000005782840] error while decoding MB 58 19, bytestream -6
    [h264 @ 0000000005782840] top block unavailable for requested intra mode at 44 30
    [h264 @ 0000000005782840] error while decoding MB 44 30, bytestream 3906
    [h264 @ 0000000005490380] top block unavailable for requested intra4x4 mode -1 at 37 0
    [h264 @ 0000000005490380] error while decoding MB 37 0, bytestream 805
    [h264 @ 0000000005490380] top block unavailable for requested intra4x4 mode -1 at 18 6
    [h264 @ 0000000005490380] error while decoding MB 18 6, bytestream 4681
    [h264 @ 0000000005782840] concealing 3271 DC, 3271 AC, 3271 MV errors in P frame
    [h264 @ 0000000005490380] top block unavailable for requested intra4x4 mode -1 at 53 18
    [h264 @ 0000000005490380] error while decoding MB 53 18, bytestream 4391
    [h264 @ 0000000005490380] top block unavailable for requested intra4x4 mode -1 at 2 24
    [h264 @ 0000000005490380] error while decoding MB 2 24, bytestream 1268
    [h264 @ 0000000005490380] top block unavailable for requested intra4x4 mode -1 at 0 30
    [h264 @ 0000000005490380] error while decoding MB 0 30, bytestream 4550
    [h264 @ 0000000005490380] top block unavailable for requested intra4x4 mode -1 at 0 36
    [h264 @ 0000000005490380] error while decoding MB 0 36, bytestream 4722
    [h264 @ 0000000005490380] top block unavailable for requested intra4x4 mode -1 at 0 42
    [h264 @ 0000000005490380] error while decoding MB 0 42, bytestream 792
    [h264 @ 0000000005490380] concealing 3596 DC, 3596 AC, 3596 MV errors in P frame
    [h264 @ 00000000057914c0] concealing 3598 DC, 3598 AC, 3598 MV errors in P frame
    [h264 @ 0000000005791960] top block unavailable for requested intra mode at 25 0
    [h264 @ 0000000005791960] error while decoding MB 25 0, bytestream 964
    [h264 @ 0000000005791960] top block unavailable for requested intra4x4 mode -1 at 0 12
    [h264 @ 0000000005791960] error while decoding MB 0 12, bytestream 4593
    [h264 @ 0000000005791960] top block unavailable for requested intra4x4 mode -1 at 29 24
    [h264 @ 0000000005791960] error while decoding MB 29 24, bytestream 954
    [h264 @ 0000000005791960] top block unavailable for requested intra mode at 3 30
    [h264 @ 0000000005791960] error while decoding MB 3 30, bytestream 799
    [h264 @ 0000000005791960] concealing 3118 DC, 3118 AC, 3118 MV errors in P frame
    [h264 @ 0000000005782fc0] top block unavailable for requested intra4x4 mode -1 at 0 30
    [h264 @ 0000000005782fc0] error while decoding MB 0 30, bytestream 778
    [h264 @ 0000000005782840] error while decoding MB 31 4, bytestream -8
    [h264 @ 0000000005782fc0] concealing 3600 DC, 3600 AC, 3600 MV errors in P frame
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 4 6
    [h264 @ 0000000005782840] error while decoding MB 4 6, bytestream 4729
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 0 12
    [h264 @ 0000000005782840] error while decoding MB 0 12, bytestream 4431
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 38 18
    [h264 @ 0000000005782840] error while decoding MB 38 18, bytestream 4798
    [h264 @ 0000000005782840] top block unavailable for requested intra mode at 31 24
    [h264 @ 0000000005782840] error while decoding MB 31 24, bytestream 752
    [h264 @ 0000000005782840] top block unavailable for requested intra mode at 5 30
    [h264 @ 0000000005782840] error while decoding MB 5 30, bytestream 3844
    [h264 @ 0000000005782840] top block unavailable for requested intra4x4 mode -1 at 38 42
    [h264 @ 0000000005782840] error while decoding MB 38 42, bytestream 3739
    [h264 @ 0000000005782840] concealing 3291 DC, 3291 AC, 3291 MV errors in P frame
    [h264 @ 0000000005490380] Delayed frames seen. Reenabling low delay requires a codec flush.
    [h264 @ 0000000005490380] Reinit context to 1280x720, pix_fmt: yuvj420p
    [h264 @ 00000000057914c0] error while decoding MB 10 17, bytestream -6
    [h264 @ 0000000005490380] left block unavailable for requested intra4x4 mode -1 at 0 16
    [h264 @ 0000000005490380] error while decoding MB 0 16, bytestream 3934
    [h264 @ 00000000057914c0] concealing 3239 DC, 3239 AC, 3239 MV errors in P frame
    [h264 @ 0000000005490380] left block unavailable for requested intra mode at 0 18
    [h264 @ 0000000005490380] error while decoding MB 0 18, bytestream 3068
    [h264 @ 0000000005490380] left block unavailable for requested intra4x4 mode -1 at 0 33
    [h264 @ 0000000005490380] error while decoding MB 0 33, bytestream 745
    [h264 @ 0000000005490380] left block unavailable for requested intra4x4 mode -1 at 0 38
    [h264 @ 0000000005490380] error while decoding MB 0 38, bytestream 4460
    [h264 @ 0000000005490380] concealing 2769 DC, 2769 AC, 2769 MV errors in I frame
    [h264 @ 0000000005782840] error while decoding MB 79 24, bytestream -7
    [h264 @ 0000000005782840] concealing 3570 DC, 3570 AC, 3570 MV errors in P frame

    There is a problem with my source ?
    What can I do ?

    Thank you :)