Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (111)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (10930)

  • Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    6 juillet 2016, par olega

    Found a lot of helpful answers. But could not find for my problem.
    I am trying to convert .mp4 to .webm. I tried with parameters, without them (like below), but always got same result :

    ================


    Converting (dseoFRQrJehleLDHPdcB.mp4) started - Tue - Jul 05, 2016 @ 06:29 PM


    /usr/local/bin/ffmpeg -i public_html/uploads/avi/dseoFRQrJehleLDHPdcB.mp4 public_html/uploads/dseoFRQrJehleLDHPdcB.webm

    ffmpeg version N-80913-gd915b6e Copyright (c) 2000-2016 the FFmpeg developers

    built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)

    configuration : —enable-libvpx —enable-libvorbis

    libavutil 55. 28.100 / 55. 28.100

    libavcodec 57. 48.101 / 57. 48.101

    libavformat 57. 41.100 / 57. 41.100

    libavdevice 57. 0.102 / 57. 0.102

    libavfilter 6. 47.100 / 6. 47.100

    libswscale 4. 1.100 / 4. 1.100

    libswresample 2. 1.100 / 2. 1.100

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
    ’/home/supergirl/public_html/uploads/avi/dseoFRQrJehleLDHPdcB.mp4’ :

    Metadata :

    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2avc1mp41

    creation_time   : 1970-01-01 00:00:00

    encoder         : Lavf53.24.2

    Duration : 00:00:05.31, start : 0.000000, bitrate : 1589 kb/s

    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

    Metadata:

     creation_time   : 1970-01-01 00:00:00

     handler_name    : VideoHandler

    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)

    Metadata:

     creation_time   : 1970-01-01 00:00:00

     handler_name    : SoundHandler

    [libvpx @ 0x21fd880] v1.2.0

    [libvpx @ 0x21fd880] Failed to initialize encoder : ABI version mismatch

    Output #0, webm, to ’/home/supergirl/public_html/uploads/dseoFRQrJehleLDHPdcB.webm’ :

    Metadata :

    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2avc1mp41

    encoder         : Lavf53.24.2

    Stream #0:0(und): Unknown: none, SAR 1:1 DAR 0:0 (default)

    Metadata:

     creation_time   : 1970-01-01 00:00:00

     handler_name    : VideoHandler

     encoder         : Lavc57.48.101 libvpx

    Stream #0:1(und): Unknown: none (default)

    Metadata:

     creation_time   : 1970-01-01 00:00:00

     handler_name    : SoundHandler

     encoder         : Lavc57.48.101 libvorbis

    Stream mapping :

    Stream #0:0 -> #0:0 (h264 (native) -> vp8 (libvpx))

    Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    ================

    Any suggestions, please ?

  • Transcoding fMP4 to HLS while writing on iOS using FFmpeg

    29 avril 2017, par bclymer

    TL ;DR

    I want to convert fMP4 fragments to TS segments (for HLS) as the fragments are being written using FFmpeg on an iOS device.

    Why ?

    I’m trying to achieve live uploading on iOS while maintaining a seamless, HD copy locally.

    What I’ve tried

    1. Rolling AVAssetWriters where each writes for 8 seconds, then concating the MP4s together via FFmpeg.

      What went wrong - There are blips in the audio and video at times. I’ve identified 3 reasons for this.

      1) Priming frames for audio written by the AAC encoder creating gaps.

      2) Since video frames are 33.33ms long, and audio frames 0.022ms long, it’s possible for them to not line up at the end of a file.

      3) The lack of frame accurate encoding present on Mac OS, but not available for iOS Details Here

    2. FFmpeg muxing a large video only MP4 file with raw audio into TS segments. The work was based off the Kickflip SDK

      What Went Wrong - Every once in a while an audio only file would get uploaded, with no video whatsoever. Never able to reproduce it in-house, but it was pretty upsetting to our users when they didn’t record what they thought they did. There were also issues with accurate seeking on the final segments, almost like the TS segments were incorrectly time stamped.

    What I’m thinking now

    Apple was pushing fMP4 at WWDC this year (2016) and I hadn’t looked into it much at all before that. Since an fMP4 file can be read, and played while it’s being written, I thought that it would be possible for FFmpeg to transcode the file as it’s being written as well, as long as we hold off sending the bytes to FFmpeg until each fragment within the file is finished.

    However, I’m not familiar enough with the FFmpeg C API, I only used it briefly within attempt #2.

    What I need from you

    1. Is this a feasible solution ? Is anybody familiar enough with fMP4 to know if I can actually accomplish this ?
    2. How will I know that AVFoundation has finished writing a fragment within the file so that I can pipe it into FFmpeg ?
    3. How can I take data from a file on disk, chunk at a time, pass it into FFmpeg and have it spit out TS segments ?
  • No such filter in ffmpeg

    13 avril 2017, par sneha desai

    I am trying to create the slideshow with below command.

    Here is the command I have executed :

    ffmpeg
    -loop 1 -t 1 -i /sdcard/input0.png
    -loop 1 -t 1 -i /sdcard/input1.png
    -loop 1 -t 1 -i /sdcard/input2.png
    -loop 1 -t 1 -i /sdcard/input3.png
    -loop 1 -t 1 -i /sdcard/input4.png
    -filter_complex
    "[0:v]trim=duration=15,fade=t=out:st=14.5:d=0.5[v0];
    [1:v]trim=duration=15,fade=t=in:st=0:d=0.5,fade=t=out:st=14.5:d=0.5[v1];
    [2:v]trim=duration=15,fade=t=in:st=0:d=0.5,fade=t=out:st=14.5:d=0.5[v2];
    [3:v]trim=duration=15,fade=t=in:st=0:d=0.5,fade=t=out:st=14.5:d=0.5[v3];
    [4:v]trim=duration=15,fade=t=in:st=0:d=0.5,fade=t=out:st=14.5:d=0.5[v4];
    [v0][v1][v2][v3][v4]concat=n=5:v=1:a=0,format=yuv420p[v]" -map "[v]" /sdcard/out.mp4

    on execution of this command it gives error something like :

    onFailure: 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
    [mjpeg @ 0x4362af10] Changing bps to 8
    Input #0, image2, from '/sdcard/img0001.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 2410 kb/s
       Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 259x194 [SAR 1:1 DAR 259:194], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [mjpeg @ 0x436300a0] Changing bps to 8
    Input #1, image2, from '/sdcard/img0002.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 2053 kb/s
       Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 290x174 [SAR 1:1 DAR 5:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [mjpeg @ 0x436383a0] Changing bps to 8
    Input #2, image2, from '/sdcard/img0003.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 3791 kb/s
       Stream #2:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 300x168 [SAR 1:1 DAR 25:14], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [mjpeg @ 0x43648f50] Changing bps to 8
    Input #3, image2, from '/sdcard/img0004.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 1796 kb/s
       Stream #3:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 259x194 [SAR 1:1 DAR 259:194], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [mjpeg @ 0x437b4070] Changing bps to 8
    Input #4, image2, from '/sdcard/img0005.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 1083 kb/s
       Stream #4:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 212x160 [SAR 1:1 DAR 53:40], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [AVFilterGraph @ 0x4393c960] No such filter: '"'
    Error initializing complex filters.
    Invalid argument

    and i used this demo https://github.com/WritingMinds/ffmpeg-android-java