Recherche avancée

Médias (1)

Mot : - Tags -/karaoke

Autres articles (101)

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

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (9772)

  • Matomo maker InnoCraft named 2023 Hi-Tech Awards finalist

    20 avril 2023, par Erin — Press Releases

    WELLINGTON, N.Z., April 20, 2023 – InnoCraft, the makers of world-leading open-source web analytics platform Matomo, has been named an ASX Hi-Tech Emerging Company of the Year finalist in the 2023 Hi-Tech Awards. 



    Matomo founder Matthieu Aubry says, “At Matomo, we believe in empowering individuals and organizations to make informed decisions about their digital presence. By providing an open-source website analytics platform, we have created a more transparent and trustworthy digital ecosystem. We are proud to be recognised as a finalist for the Hi-Tech Awards, and we will continue to work towards a more open and ethical digital landscape, and grow the business in New Zealand and worldwide.”



    About Matomo

    Matomo, launched in 2007 as an open-source, privacy-friendly Google Analytics alternative, is trusted by over 1.5 million websites in 220 countries and has been translated in over 50 languages. Matomo tracks and analyses online visits and traffic to give users a deeper understanding of their website visitors to drive conversions and revenue ; while keeping businesses compliant with privacy laws worldwide, such as the EU’s General Data Protection Regulation (GDPR) and The California Consumer Privacy Act (CCPA).

    Aubry says Matomo is performing extremely well internationally as consumers and organizations look for privacy-focused analytics solutions, with several European countries already ruling the use of Google Analytics illegal due to data transfers to the US. In addition, Matomo’s user increase was recognized earlier this year with W3Tech’s award for the best web analytics software in its Web Technologies of the Year 2022 – with previous winners including Google Analytics and Facebook Pixel.



    A record number of companies entered the 2023 Hi-Tech Awards, with entries coming in from across the country and from all areas of the Hi-Tech sector. This depth is reflected in the line-up of finalists this year, according to David Downs, Chair of the Hi-Tech Trust, who says the standard of entries continue to grow every year.

”

    The hi-tech sector continues to flourish and it’s fantastic to see the success that so many of our companies enjoy on the international stage. This sector continues to prove its resilience and is at the forefront of our export economy in turbulent times,” says Downs.



    The Hi-Tech Awards Gala Dinner will take place on Friday, the 23rd of June, in Christchurch. 


     

    &lt;script type=&quot;text/javascript&quot;&gt;<br />
    console.log('script started!!!!');<br />
       var _paq = _paq || [];<br />
       _paq.push(['AbTesting::create', {<br />
           name: 'LanceTesting', // you can also use '18' (ID of the experiment) to hide the name<br />
           percentage: 100,<br />
           includedTargets: [{&quot;attribute&quot;:&quot;url&quot;,&quot;inverted&quot;:&quot;0&quot;,&quot;type&quot;:&quot;equals_simple&quot;,&quot;value&quot;:&quot;https:\/\/matomo.org\/blog\/2023\/01\/matomo-privacy-friendly-web-analytics-software-named-best-of-the-year-2022\/&quot;}],<br />
           excludedTargets: [],<br />
           variations: [<br />
               {<br />
                   name: 'original',<br />
                   activate: function (event) {<br />
                       // usually nothing needs to be done here<br />
                       console.log('group1');<br />
                   }<br />
               },<br />
               {<br />
                   name: 'Variation1', // you can also use '45' (ID of the variation) to hide the name<br />
                   percentage: 90,<br />
                   activate: function(event) {<br />
                       console.log('group2');<br />
                       event.redirect('https://matomo.org/blog/2023/08/matomo-named-2023-hi-tech-awards-finalist/');<br />
                   }<br />
               }            <br />
           ],<br />
           trigger: function () {<br />
               return true; // here you can further customize which of your visitors will participate in this experiment<br />
           }<br />
       }]);<br />
    &lt;/script&gt;
  • 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;

  • a command in a script doesn't work when the script is launched by cron

    5 mai 2023, par a k

    When I launch the script manually both as a not-root user (with sudo) and as the root, everything work correctly.&#xA;When Cron (Cron of the root) launches it, ffmpeg doesn't work (but the others lines of the script work correctly).

    &#xA;

    #!/bin/bash&#xA;log=/var/log/log2/log2.txt&#xA;&#xA;echo ______________ $(date) >> "$log"&#xA;echo -n whoami &#x27;         &#x27; >> "$log" ; whoami >> "$log"&#xA;echo -n pwd &#x27;            &#x27; >> "$log" ; pwd >> "$log"&#xA;echo "$""USER" = &#x27;        &#x27; "$USER" >> "$log"&#xA;echo PATH &#x27;          &#x27; $PATH >> "$log"&#xA;echo -n which ffmpeg &#x27;   &#x27; >> "$log" ; which ffmpeg >> "$log"&#xA;echo -n whereis ffmpeg &#x27; &#x27; >> "$log" ; whereis ffmpeg >> "$log"&#xA;&#xA;echo "" >> "$log"&#xA;echo ls -l "/bin/* | grep ffmpeg" &#x27;        &#x27; >> "$log"&#xA;ls -l /bin/* | grep ffmpeg >> "$log"&#xA;&#xA;echo "" >> "$log"&#xA;echo ls -l "/usr/bin/* | grep ffmpeg" &#x27; &#x27;>> "$log"&#xA;ls -l /usr/bin/* | grep ffmpeg >> "$log"&#xA;&#xA;echo "" >> "$log"&#xA;echo ls -l "/var/log | grep log2" &#x27; &#x27;>> "$log"&#xA;ls -l /var/log | grep log2 >> "$log"&#xA;&#xA;echo "" >> "$log"&#xA;echo ls -l "/var | grep log" &#x27; &#x27;>> "$log"&#xA;ls -l /var | grep log >> "$log"&#xA;&#xA;ffmpeg -y -f x11grab -s 1366x768 -i :0.0 /var/log/log2/test.mp4 2>/dev/null &amp;&#xA;echo "$!"&#xA;sleep 5&#xA;kill "$!"&#xA;exit&#xA;

    &#xA;

    The script puts in the file /var/log/log2/log2.txt :

    &#xA;

    whoami          root&#xA;pwd             /root&#xA;$USER =          &#xA;PATH            /usr/bin:/bin&#xA;which ffmpeg    /usr/bin/ffmpeg&#xA;whereis ffmpeg  ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz&#xA;&#xA;ls -l /bin/* | grep ffmpeg         &#xA;-rwxr-xr-x 1 root   root      284976 mai   18  2022 /bin/ffmpeg&#xA;&#xA;ls -l /usr/bin/* | grep ffmpeg  &#xA;-rwxr-xr-x 1 root   root      284976 mai   18  2022 /usr/bin/ffmpeg&#xA;&#xA;ls -l /var/log | grep log2  &#xA;drwxrwxrwx  2 root              root               4096 mai    5 03:22 log2&#xA;&#xA;ls -l /var | grep log  &#xA;drwxrwxr-x 16 root syslog   36864 mai    5 00:00 log&#xA;

    &#xA;

    I have tried to verify :

    &#xA;

      &#xA;
    • the permissions of the file ffmpeg
    • &#xA;

    • the permissions of the folder where ffmpeg writes to
    • &#xA;

    • the $PATH
    • &#xA;

    • the path of ffmpeg
    • &#xA;

    • the path of the file where ffmpeg should write to
    • &#xA;

    &#xA;