Recherche avancée

Médias (0)

Mot : - Tags -/gis

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (69)

  • 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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (10016)

  • avfilter/dnn : unify the layer execution function in native mode

    9 octobre 2019, par Guo, Yejun
    avfilter/dnn : unify the layer execution function in native mode
    

    Signed-off-by : Guo, Yejun <yejun.guo@intel.com>
    Signed-off-by : Pedro Arthur <bygrandao@gmail.com>

    • [DH] libavfilter/dnn/Makefile
    • [DH] libavfilter/dnn/dnn_backend_native.c
    • [DH] libavfilter/dnn/dnn_backend_native.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_conv2d.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_conv2d.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_depth2space.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_depth2space.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_maximum.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_maximum.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_pad.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_pad.h
    • [DH] libavfilter/dnn/dnn_backend_native_layers.c
    • [DH] libavfilter/dnn/dnn_backend_native_layers.h
    • [DH] tests/dnn/dnn-layer-conv2d-test.c
    • [DH] tests/dnn/dnn-layer-depth2space-test.c
  • Burning subtitles into video using ffmpeg overlay on react native

    25 avril 2023, par Youssef

    I have managed to complete this task on node server but it's too slow I don't want to upgrade my instance so I decided to do the conversion on the front end, my app is on react native can please somebody help me convert the code and keep the same args and options

    &#xA;

    Server code

    &#xA;

    // Execute the ffmpeg command to burn the subtitles into the video&#xA;const ffmpeg = spawn("ffmpeg", [&#xA;  "-i",&#xA;  "pipe:0",&#xA;  "-vf",&#xA;  `subtitles=${subtitlePath}:force_style=&#x27;Alignment=10,OutlineColour=&amp;H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=10&#x27;`,&#xA;  "-c:a",&#xA;  "copy",&#xA;  "-progress", "pipe:1",&#xA;  outputPath,&#xA;]);&#xA;&#xA;// Pipe the videoResponse array buffer to FFmpeg&#xA;ffmpeg.stdin.write(videoResponse.data);&#xA;ffmpeg.stdin.end();&#xA;&#xA;// Send the output file as a response once the process is complete&#xA;ffmpeg.on("close", () => {&#xA;  fs.readFile(outputPath, (err, data) => {&#xA;    if (err) {&#xA;      console.error(err);&#xA;    } else {&#xA;      console.log(outputPath)&#xA;    }&#xA;  });&#xA;});&#xA;

    &#xA;

    My try on react native but failed for several issues including, main ones are :

    &#xA;

    &#xA;

    No such filter : 'subtitles' Failed to inject frame into filter

    &#xA;

    &#xA;

    &#xA;

    Invalid argument

    &#xA;

    &#xA;

    &#xA;

    Error initializing complex filters.

    &#xA;

    &#xA;

    This is what I come up with so far

    &#xA;

      componentDidMount() {&#xA;    FFmpegKit.executeAsync(`-i ${inputFilePath} -i ${subtitleFilePath} -filter_complex "[0:v][1:s]overlay=10:main_h-overlay_h-10" -c:a copy ${outputFilePath}`)&#xA;    .then((session) => {&#xA;      FFmpegKit.cancel();&#xA;  &#xA;      const returnCode = session.getReturnCode();&#xA;  &#xA;      if (ReturnCode.isSuccess(returnCode)) {&#xA;        console.log(&#x27;Video with subtitles was created successfully!&#x27;);&#xA;      } else {&#xA;        console.log(&#x27;Error creating video with subtitles&#x27;);&#xA;      }&#xA;    })&#xA;    .catch((error) => {&#xA;      console.log(&#x27;Error creating video with subtitles&#x27;, error);&#xA;    });&#xA;  }&#xA;

    &#xA;

    If you want to see the logs you can find them below

    &#xA;

     LOG  init firebase : videocap-71b4a&#xA; LOG  Running "videocap" with {"rootTag":11,"initialProps":{}}&#xA; LOG  Loading ffmpeg-kit-react-native.&#xA; LOG  Loaded ffmpeg-kit-react-native-ios-https-x86_64-5.1.0.&#xA; LOG  Error creating video with subtitles [TypeError: undefined is not a function]&#xA; LOG  ffmpeg version n5.1.2&#xA; LOG   Copyright (c) 2000-2022 the FFmpeg developers&#xA; LOG  &#xA; LOG    built with Apple clang version 14.0.0 (clang-1400.0.29.102)&#xA; LOG    configuration: --cross-prefix=x86_64-ios-darwin- --sysroot=/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk --prefix=/Users/taner/Projects/ffmpeg-kit/prebuilt/apple-ios-x86_64/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=x86_64 --cpu=x86_64 --target-os=darwin --disable-neon --disable-asm --ar=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang&#x2B;&#x2B; --as=&#x27;clang -arch x86_64 -target x86_64-apple-ios12.1-simulator -march=x86-64 -msse4.2 -mpopcnt -m64 -DFFMPEG_KIT_X86_64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -DIOS -DFFMPEG_KIT_BUILD_DATE=20220929 -isysroot /Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk -O2 -mios-simulator-version-min=12.1 -I/Applications/Xcode-v13.4.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/usr/include&#x27; --ranlib=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --nm=/Applications/Xcode-v13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm --extra-ldflags=&#x27;-mios-simulator-version-min=12.1&#x27; --disable-autodetect --enable-cross-compile --enable-pic --enable-inline-asm --enable-optimizations --enable-swscale --enable-shared --disable-static --install-name-dir=&#x27;@rpath&#x27; --enable-pthreads --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --enable-small --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-gmp --enable-gnutls --disable-sdl2 --disable-openssl --enable-zlib --enable-audiotoolbox --disable-outdev=audiotoolbox --enable-bzlib --enable-videotoolbox --enable-avfoundation --enable-iconv --disable-coreimage --disable-appkit --disable-opencl --disable-opengl&#xA; LOG    libavutil      57. 28.100 / 57. 28.100&#xA; LOG    libavcodec     59. 37.100 / 59. 37.100&#xA; LOG    libavformat    59. 27.100 / 59. 27.100&#xA; LOG    libavdevice    59.  7.100 / 59.  7.100&#xA; LOG    libavfilter     8. 44.100 /  8. 44.100&#xA; LOG    libswscale      6.  7.100 /  6.  7.100&#xA; LOG    libswresample   4.  7.100 /  4.  7.100&#xA; LOG  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/Users/master/Documents/Code/videocap-mobile/media.mp4&#x27;:&#xA; LOG    Metadata:&#xA; LOG      major_brand     :&#xA; LOG  isom&#xA; LOG  &#xA; LOG      minor_version   :&#xA; LOG  512&#xA; LOG  &#xA; LOG      compatible_brands:&#xA; LOG  isomiso2avc1mp41&#xA; LOG  &#xA; LOG      encoder         :&#xA; LOG  Lavf58.76.100&#xA; LOG  &#xA; LOG    Duration:&#xA; LOG  00:00:11.82&#xA; LOG  , start:&#xA; LOG  0.000000&#xA; LOG  , bitrate:&#xA; LOG  813 kb/s&#xA; LOG  &#xA; LOG    Stream #0:0&#xA; LOG  [0x1]&#xA; LOG  (und)&#xA; LOG  : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt470bg/bt470bg/smpte170m, progressive), 480x608, 682 kb/s&#xA; LOG  , SAR 32757:32326 DAR 491355:614194&#xA; LOG  ,&#xA; LOG  24.15 fps,&#xA; LOG  24 tbr,&#xA; LOG  1000k tbn&#xA; LOG   (default)&#xA; LOG  &#xA; LOG      Metadata:&#xA; LOG        handler_name    :&#xA; LOG  VideoHandler&#xA; LOG  &#xA; LOG        vendor_id       :&#xA; LOG  [0][0][0][0]&#xA; LOG  &#xA; LOG    Stream #0:1&#xA; LOG  [0x2]&#xA; LOG  (und)&#xA; LOG  : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 126 kb/s&#xA; LOG   (default)&#xA; LOG  &#xA; LOG      Metadata:&#xA; LOG        handler_name    :&#xA; LOG  SoundHandler&#xA; LOG  &#xA; LOG        vendor_id       :&#xA; LOG  [0][0][0][0]&#xA; LOG  &#xA; LOG  /Users/master/Documents/Code/videocap-mobile/transcription.srt: Immediate exit requested&#xA; LOG  Exiting normally, received signal 2.&#xA;

    &#xA;

    Please help

    &#xA;

  • How stop ffmpeg write to log command line strings

    18 février 2016, par Alexufo

    I save mp3 to mp3 via shell_exec();and use logs for error control

    FFREPORT=file=ffreport%p%t.log:level=16

    But if I change level=16 to level=0

    every convertion I still get ffreport%p%t.log files with text :

    Command line:
    ffmpeg -y -i /tmp/php2hmlyt  -acodec copy /home/uploads/5607.mp3

    How stop write to logs useless Command line data ?