Recherche avancée

Médias (91)

Autres articles (37)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (4051)

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