Recherche avancée

Médias (91)

Autres articles (63)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (6058)

  • ffmpeg 4.1.4 wav to mp3 error who can help me

    23 août 2019, par yang jia

    [swscaler @ 0xc946d000] deprecated pixel format used, make sure you did set range correctly

    [mp3 @ 0xc9621600] Frame rate very high for a muxer not efficiently supporting it.

    Please consider specifying a lower framerate, a different muxer or -vsync 2

    [auto_resampler_0 @ 0xd8e73be0] [SWR @ 0xc8058000] Output channel layout ’6 channels (FLC+BC+SL+SR+TC+TFL)’ is not supported

    [auto_resampler_0 @ 0xd8e73be0] Failed to configure output pad on auto_resampler_0

    Error reinitializing filters !

    Failed to inject frame into filter network : Invalid argument
    Error while processing the decoded data for stream #0:0
    --------- beginning of crash
    2019-02-26 16:04:58.368 27737-27737/com.blplayer.jbl.blplayer A/libc : Fatal signal 7 (SIGBUS), code 1, fault addr 0xc5ca in tid 27737 (er.jbl.blplayer)

    cmd

    ffmpeg -i test.wav -acodec libmp3lame -ar 8000 -ac 2 -y wav2mp3.mp3

     ![enter image description here]this is the log(https://i.stack.imgur.com/Kjs1Q.png)

  • The duration of the combined video with FFmpeg becomes 0

    24 août 2019, par sido

    I am developing an app for Android by Unity.
    When I merge video and audio with FFmpeg, the duration of the output video file is 0 though it can be played back normally.

    I tried to set duration when merging, but it didn’t work.

    The commands being executed are as follows :

    -y -i /storage/emulated/0/Android/data/jp.ne.company.app/files/Record/20190824122116_video.mp4 -i /storage/emulated/0/Android/data/jp.ne.company.app/files/Record/20190824122116_audio.mp3 -t 3 -c copy -map 0:v -map 1:a -shortest /storage/emulated/0/Android/data/jp.ne.company.app/files/Record/20190824122116_merged.mp4

    I expected that the duration of the merged file was the value set in MovieTime, but the duration of the actually merged file was 0.

    The log is as follows :

    Started
    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (GCC)
     configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
     libavutil      55. 17.103 / 55. 17.103
     libavcodec     57. 24.102 / 57. 24.102
     libavformat    57. 25.100 / 57. 25.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 31.100 /  6. 31.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/jp.ne.company.app/files/Record/20190824122116_video.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2019-08-24 03:21:20
       com.android.version: 7.0
     Duration: 00:00:03.65, start: 0.000000, bitrate: 2821 kb/s
       Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 360x640, 2814 kb/s, SAR 1:1 DAR 9:16, 59.42 fps, 59.94 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         creation_time   : 2019-08-24 03:21:20
         handler_name    : VideoHandle
    [mp3 @ 0xed92f600] Skipping 0 bytes of junk at 880.
    Input #1, mp3, from '/storage/emulated/0/Android/data/jp.ne.company.app/files/Record/20190824122116_audio.mp3':
     Metadata:
       encoder         : Lavf57.25.100
     Duration: 00:00:03.55, start: 0.025057, bitrate: 257 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 256 kb/s
       Metadata:
         encoder         : Lavc57.24
    Output #0, mp4, to '/storage/emulated/0/Android/data/jp.ne.company.app/files/Record/20190824122116_merged.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       com.android.version: 7.0
       encoder         : Lavf57.25.100
       Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 360x640 [SAR 1:1 DAR 9:16], q=2-31, 2814 kb/s, 59.42 fps, 59.94 tbr, 90k tbn, 90k tbc (default)
       Metadata:
         creation_time   : 2019-08-24 03:21:20
         handler_name    : VideoHandle
       Stream #0:1: Audio: mp3 (i[0][0][0] / 0x0069), 44100 Hz, stereo, 256 kb/s
       Metadata:
         encoder         : Lavc57.24
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame=  178 fps=0.0 q=-1.0 Lsize=    1098kB time=00:00:03.00 bitrate=2992.8kbits/s speed= 122x    
    video:997kB audio:95kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.534772%
  • Could not find codec parameters for stream 0 (Video : png, none)

    22 août 2019, par Vipul Solanki

    I’m trying to overlap png over jpg but getting bellow error. I’ve tried in FFMPEG version 3.4.6 and GCC 5.5.0

    ffmpeg -i Emily-Bett-Rickards.jpg -i abc.png -filter_complex "[0:v][1:v] overlay=(W-w)/2:(H-h)/2:enable='between(t,0,20)'" -pix_fmt yuv420p -c:a copy bc38775d-278d-41f0-821f-89917475200b-meta.jpg
    ffmpeg version N-94608-gaeae628 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 5.5.0 (Ubuntu 5.5.0-12ubuntu1~16.04) 20171010
     configuration: --enable-decoder='mjpeg,png' --enable-demuxer=image2 --enable-protocol=file
     libavutil      56. 33.100 / 56. 33.100
     libavcodec     58. 55.100 / 58. 55.100
     libavformat    58. 31.101 / 58. 31.101
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 58.100 /  7. 58.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
    Input #0, image2, from 'Emily-Bett-Rickards.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 34289 kb/s
       Stream #0:0: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 600x400, 25 tbr, 25 tbn, 25 tbc
    [png_pipe @ 0x389fdc0] Could not find codec parameters for stream 0 (Video: png, none): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #1, png_pipe, from 'abc.png':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Video: png, none, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 (mjpeg) -> overlay:main
     Stream #1:0 (?) -> overlay:overlay
     overlay -> Stream #0:0 (mjpeg)
    Decoder (codec png) not found for input stream #1:0

    Any help would be appreciated.