Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (97)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

Sur d’autres sites (9213)

  • Getting this error using ffmpeg concat in ReactNative "concat imposible to open"

    2 février 2021, par Josip Bogdan

    Hy, I am trying to concat multyple video using ffmpeg concat, testing on samsung j76, android version 8.1.0

    


    const textFile = await (await writeTextFileWithAllVideoFiles(filePaths))  
const outputPath = Platform.OS === 'ios' ? `${RNFS.DocumentDirectoryPath}/video-1.mp4` : `${RNFS.DocumentDirectoryPath}/video-1.mp4`
console.log(`-f concat -safe 0 -i ${textFile} -c copy ${outputPath}`)
const result = await RNFFmpeg.execute(`-f concat -safe 0 -i ${textFile} -c copy ${outputPath}`)


    


    And here is how I create the txt file

    


    const writeTextFileWithAllVideoFiles = async (filePaths) => {
var RNFS = require('react-native-fs');
var path = RNFS.DocumentDirectoryPath + '/videoList.txt';

var fileContent = ''
console.log("fileplay1");
filePaths.forEach(path => {
   fileContent += 'file ' + '\'' + path.substring(8) + '\'' + '\r\n'
});
console.log(fileContent);
return RNFS.writeFile(path, fileContent, 'utf8')
.then((success) => {
   console.log(path)
   if (RNFS.exists(path))
      console.log('FILE WRITTEN!')
   return path
})
.catch((err) => {
    console.log(err.message)
    return err.message
});  
}


    


    This is my console log output

    


    file 'data/user/0/com.videoeditorapp/cache/Camera/f27579d2-1488-4a59-8a9d-7a4e7b6fe716.mp4'
file 'data/user/0/com.videoeditorapp/cache/Camera/58130175-bd20-4002-9629-070d0cdd18ac.mp4'

[Tue Feb 02 2021 16:30:45.375]  LOG      /data/user/0/com.videoeditorapp/files/videoList.txt
[Tue Feb 02 2021 16:30:45.376]  LOG      FILE WRITTEN!
[Tue Feb 02 2021 16:30:45.376]  LOG      -f concat -safe 0 -i /data/user/0/com.videoeditorapp/files/videoList.txt -c copy /data/user/0/com.videoeditorapp/files/video-1.mp4
[Tue Feb 02 2021 16:30:45.376]  LOG      [concat @ 0xe2b22000] Impossible to open '/data/user/0/com.videoeditorapp/files/data/user/0/com.videoeditorapp/cache/Camera/f27579d2-1488-4a59-8a9d-7a4e7b6fe716.mp4'
[Tue Feb 02 2021 16:30:45.377]  LOG      /data/user/0/com.videoeditorapp/files/videoList.txt: No such file or directory


    


    And the txt file is not on my android device
My manifest is like this

    


    &#xA;  &#xA;      &#xA;&#xA;<application></application>&#xA;

    &#xA;

  • Android ffmpeg Issue :- : No such file or directory

    22 décembre 2020, par Nirav Dangi

    I am using FFMPEG tool to merge IMAGE & AUDIO files. Its working only in SAMSUNG GALAXY TAB II.&#xA;I had tried in many android devices & emulators but unfortunately it had not worked in any of them.

    &#xA;&#xA;

    Same issue is posted here also. But Its solutions has not worked for me.

    &#xA;&#xA;

    Following is error log of emulator,

    &#xA;&#xA;

    02-15 08:46:33.667: D/NIRAV(921): Shell Line : /data/data/org.ffmpeg.android/lib/libffmpeg.so -y -loop 1 -r 1 -i /mnt/sdcard/ffmpeg/img.jpg -i /mnt/sdcard/ffmpeg/myrecord.mp4 -acodec aac -vcodec mpeg4 -s 480x320 -strict experimental -b:a 32k -shortest -f mp4 -r 2 /mnt/sdcard/ffmpeg/out.mp4 &#xA;02-15 08:46:33.707: D/NIRAV(921): Shell Line : ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers&#xA;02-15 08:46:33.717: D/NIRAV(921): Shell Line :   built on Nov 15 2013 00:50:10 with gcc 4.6 20120106 (prerelease)&#xA;02-15 08:46:33.717: D/NIRAV(921): Shell Line :   configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --enable-small --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/home/n8fr8/dev/android/ndk//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --sysroot=/home/n8fr8/dev/android/ndk//platforms/android-3/arch-arm --extra-cflags=&#x27;-I../x264 -mfloat-abi=softfp -mfpu=neon&#x27; --extra-ldflags=-L../x264 --enable-version3 --enable-gpl --disable-doc --enable-yasm --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --enable-parsers --enable-protocols --enable-filters --enable-avresample --enable-libfreetype --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-network --enable-libx264 --enable-zlib --enable-muxer=md5&#xA;02-15 08:46:33.717: D/NIRAV(921): Shell Line :   libavutil      51. 54.100 / 51. 54.100&#xA;02-15 08:46:33.717: D/NIRAV(921): Shell Line :   libavcodec     54. 23.100 / 54. 23.100&#xA;02-15 08:46:33.717: D/NIRAV(921): Shell Line :   libavformat    54.  6.100 / 54.  6.100&#xA;02-15 08:46:33.717: D/NIRAV(921): Shell Line :   libavdevice    54.  0.100 / 54.  0.100&#xA;02-15 08:46:33.727: D/NIRAV(921): Shell Line :   libavfilter     2. 77.100 /  2. 77.100&#xA;02-15 08:46:33.727: D/NIRAV(921): Shell Line :   libswscale      2.  1.100 /  2.  1.100&#xA;02-15 08:46:33.727: D/NIRAV(921): Shell Line :   libswresample   0. 15.100 /  0. 15.100&#xA;02-15 08:46:33.727: D/NIRAV(921): Shell Line :   libpostproc    52.  0.100 / 52.  0.100&#xA;02-15 08:46:33.747: D/NIRAV(921): Shell Line : /mnt/sdcard/ffmpeg/img.jpg: No such file or directory&#xA;02-15 08:46:33.747: D/NIRAV(921): Exit Value : 1&#xA;

    &#xA;&#xA;

    I had verified the path of img.jpg & myrecord.mp4 files.&#xA;I am using android-ndk-r7 to build ffmpeg.

    &#xA;

  • Android ffmpeg Issue :- : No such file or directory

    15 février 2014, par Nirav Dangi

    I am using FFMPEG tool to merge IMAGE & AUDIO files. Its working only in SAMSUNG GALAXY TAB II.
    I had tried in many android devices & emulators but unfortunately it had not worked in any of them.

    Same issue is posted here also. But Its solutions has not worked for me.

    Following is error log of emulator,

    02-15 08:46:33.667: D/NIRAV(921): Shell Line : /data/data/org.ffmpeg.android/lib/libffmpeg.so -y -loop 1 -r 1 -i /mnt/sdcard/ffmpeg/img.jpg -i /mnt/sdcard/ffmpeg/myrecord.mp4 -acodec aac -vcodec mpeg4 -s 480x320 -strict experimental -b:a 32k -shortest -f mp4 -r 2 /mnt/sdcard/ffmpeg/out.mp4
    02-15 08:46:33.707: D/NIRAV(921): Shell Line : ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
    02-15 08:46:33.717: D/NIRAV(921): Shell Line :   built on Nov 15 2013 00:50:10 with gcc 4.6 20120106 (prerelease)
    02-15 08:46:33.717: D/NIRAV(921): Shell Line :   configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --enable-small --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/home/n8fr8/dev/android/ndk//toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --sysroot=/home/n8fr8/dev/android/ndk//platforms/android-3/arch-arm --extra-cflags=&#39;-I../x264 -mfloat-abi=softfp -mfpu=neon&#39; --extra-ldflags=-L../x264 --enable-version3 --enable-gpl --disable-doc --enable-yasm --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --enable-parsers --enable-protocols --enable-filters --enable-avresample --enable-libfreetype --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-network --enable-libx264 --enable-zlib --enable-muxer=md5
    02-15 08:46:33.717: D/NIRAV(921): Shell Line :   libavutil      51. 54.100 / 51. 54.100
    02-15 08:46:33.717: D/NIRAV(921): Shell Line :   libavcodec     54. 23.100 / 54. 23.100
    02-15 08:46:33.717: D/NIRAV(921): Shell Line :   libavformat    54.  6.100 / 54.  6.100
    02-15 08:46:33.717: D/NIRAV(921): Shell Line :   libavdevice    54.  0.100 / 54.  0.100
    02-15 08:46:33.727: D/NIRAV(921): Shell Line :   libavfilter     2. 77.100 /  2. 77.100
    02-15 08:46:33.727: D/NIRAV(921): Shell Line :   libswscale      2.  1.100 /  2.  1.100
    02-15 08:46:33.727: D/NIRAV(921): Shell Line :   libswresample   0. 15.100 /  0. 15.100
    02-15 08:46:33.727: D/NIRAV(921): Shell Line :   libpostproc    52.  0.100 / 52.  0.100
    02-15 08:46:33.747: D/NIRAV(921): Shell Line : /mnt/sdcard/ffmpeg/img.jpg: No such file or directory
    02-15 08:46:33.747: D/NIRAV(921): Exit Value : 1

    I had verified the path of img.jpg & myrecord.mp4 files.
    I am using android-ndk-r7 to build ffmpeg.