Recherche avancée

Médias (91)

Autres articles (63)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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

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

Sur d’autres sites (13728)

  • 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='-I../x264 -mfloat-abi=softfp -mfpu=neon' --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.

  • ffmpeg decoding on Android

    29 novembre 2013, par Kernald

    I'm currently trying to use ffmpeg on Android. I built ffmpeg using https://github.com/halfninja/android-ffmpeg-x264 (I adapted it to not use libx264 and build with ndk-r9b, using GCC 4.6). I try to trim an MP4 file. However, the input file fails to open :

    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : ffmpeg
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : -i
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : /storage/emulated/0/DCIM/20131126_173903.mp4
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : -ss
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : 2
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : -t
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : 4
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : -vcodec
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : copy
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : -acodec
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : copy
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : /storage/emulated/0/DCIM/trimmed-000-20131126_173903.mp4
    11-28 10:59:18.494 : INFO/com.rfc.video.VideoKit(4125) : Running main
    11-28 10:59:18.494 : INFO/Videokit(4125) : Initializing AV codecs
    11-28 10:59:18.494 : INFO/Videokit(4125) : ffmpeg version 0.9.2, Copyright (c) 2000-2012 the FFmpeg developers
    11-28 10:59:18.494 : INFO/Videokit(4125) : built on Nov 27 2013 15:38:26 with gcc 4.6 20120106 (prerelease)
    11-28 10:59:18.494 : INFO/Videokit(4125) : configuration : —enable-cross-compile —arch=arm5te —enable-armv5te —target-os=linux —disable-stripping —prefix=../output —disable-neon —enable-version3 —ar=arm-linux-androideabi-ar —disable-shared —enable-static —enable-gpl —enable-memalign-hack —cc=arm-linux-androideabi-gcc —ld=arm-linux-androideabi-ld —extra-cflags='-fPIC -DANDROID -D__thumb__ -mthumb -Wno-deprecated' —disable-everything —enable-decoder=mjpeg —enable-demuxer=mjpeg —enable-parser=mjpeg —enable-demuxer=image2 —enable-muxer=mp4 —enable-decoder=rawvideo —enable-protocol=file —enable-hwaccels —disable-ffmpeg —disable-ffplay —disable-ffprobe —disable-ffserver —disable-network —enable-filter=buffer —enable-filter=buffersink —disable-demuxer=v4l —disable-demuxer=v4l2 —disable-indev=v4l —disable-indev=v4l2
    11-28 10:59:18.494 : INFO/Videokit(4125) : libavutil    51. 32. 0 / 51. 32. 0
    11-28 10:59:18.494 : INFO/Videokit(4125) : libavcodec   53. 42. 4 / 53. 42. 4
    11-28 10:59:18.494 : INFO/Videokit(4125) : libavformat  53. 24. 2 / 53. 24. 2
    11-28 10:59:18.494 : INFO/Videokit(4125) : libavdevice  53.  4. 0 / 53.  4. 0
    11-28 10:59:18.494 : INFO/Videokit(4125) : libavfilter   2. 53. 0 /  2. 53. 0
    11-28 10:59:18.494 : INFO/Videokit(4125) : libswscale    2.  1. 0 /  2.  1. 0
    11-28 10:59:18.494 : INFO/Videokit(4125) : libpostproc  51.  2. 0 / 51.  2. 0
    11-28 10:59:18.504 : ERROR/Videokit(4125) : /storage/emulated/0/DCIM/20131126_173903.mp4 : Invalid data found when processing input
    

    I digged into ffmpeg's code, and found the error :

    static int opt_input_file(OptionsContext *o, const char *opt, const char *filename)
    {

    // ...

    ic->video_codec_id   = video_codec_name ?
       find_codec_or_die(video_codec_name   , AVMEDIA_TYPE_VIDEO   , 0)->id : CODEC_ID_NONE;
    ic->audio_codec_id   = audio_codec_name ?
       find_codec_or_die(audio_codec_name   , AVMEDIA_TYPE_AUDIO   , 0)->id : CODEC_ID_NONE;
    ic->subtitle_codec_id= subtitle_codec_name ?
       find_codec_or_die(subtitle_codec_name, AVMEDIA_TYPE_SUBTITLE, 0)->id : CODEC_ID_NONE;
    ic->flags |= AVFMT_FLAG_NONBLOCK;
    ic->interrupt_callback = int_cb;

    if (loop_input) {
       LOGW(
           "-loop_input is deprecated, use -loop 1\n"
           "Note, both loop options only work with -f image2\n"
       );
       ic->loop_input = loop_input;
    }

    /* open the input file with generic avformat function */
    err = avformat_open_input(&ic, filename, file_iformat, &format_opts);
    if (err < 0) {
       print_error(filename, err);
       exit_program(1);
    }
    assert_avoptions(format_opts);

    // ...

    }

    As indicated in the logcat, err is here equal to AVERROR_INVALIDDATA. I don't understand the reason however : the mp4 codec is enabled, as far as I can tell. Any hint on how to solve it ?

    Edit : I added more ffmpeg code. I'm pretty sure it's a codec issue now : ic->video_codec_id is set to CODEC_ID_NONE, which causes ic to be set to NULL and return a failure in avformat_open_input().

  • Using FFMPEG with Powershell

    19 mai 2017, par Caulen

    I am using Windows Server Edition 2012 and am very new to using Powershell. Basically, I am trying to convert a bunch of video files that are in a directory to .flv. The code I am using is this :

    $inProcessPath = "E:\Random Videos\In Process\$env:username\"

    $oldVideos = Get-ChildItem -Include @("*.mp4", "*.avi", "*.divx", "*.mov", "*.mpg", "*.wmv", "*.mkv") -Path $inProcessPath -Recurse #gets all of the videos

    cd "E:\FFMPEG\bin\"

    foreach ($oldVideo in $oldVideos) {
       $newVideo = [io.path]::ChangeExtension($oldSong.FullName, '.flv')
       .\ffmpeg.exe -i $oldVideo -y -async 1 -b 2000k -ar 44100 -ac 2 -v 0 -f flv -vcodec libx264 -preset superfast $newVideo
    }

    Whenever I run this I don’t get any error messages but ffmpeg doesn’t run either. I’m sure I’m overlooking something but have no idea what that could be. I’ve searched the website and compared code to others and still have no idea.

    Any help would be very much appreciated.