Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (105)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • 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

Sur d’autres sites (13929)

  • FFMPEG Android binary cannot find file in storage

    1er novembre 2014, par user2491598

    I am trying to run ffmpeg command on my Android using the ffmpeg binary library, but I keep getting an error that says :

    ffmpeg - i /storage/emulated/0/video3.mp4 /storage/emulated/0/output.mp4: No such file or directory

    The STDOUT I get back from the ProcessBuilder is

    0-31 19:43:20.576: I/FFMPEG(13838): stdErr= ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
    10-31 19:43:20.576: I/FFMPEG(13838):   built on Nov 15 2013 00:50:10 with gcc 4.6 20120106 (prerelease)
    10-31 19:43:20.576: I/FFMPEG(13838):   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
    10-31 19:43:20.576: I/FFMPEG(13838):   libavutil      51. 54.100 / 51. 54.100
    10-31 19:43:20.576: I/FFMPEG(13838):   libavcodec     54. 23.100 / 54. 23.100
    10-31 19:43:20.576: I/FFMPEG(13838):   libavformat    54.  6.100 / 54.  6.100
    10-31 19:43:20.576: I/FFMPEG(13838):   libavdevice    54.  0.100 / 54.  0.100
    10-31 19:43:20.576: I/FFMPEG(13838):   libavfilter     2. 77.100 /  2. 77.100
    10-31 19:43:20.576: I/FFMPEG(13838):   libswscale      2.  1.100 /  2.  1.100
    10-31 19:43:20.576: I/FFMPEG(13838):   libswresample   0. 15.100 /  0. 15.100
    10-31 19:43:20.576: I/FFMPEG(13838):   libpostproc    52.  0.100 / 52.  0.100
    10-31 19:43:20.576: I/FFMPEG(13838): ffmpeg - i /storage/emulated/0/video3.mp4 /storage/emulated/0/output.mp4: No such file or directory

    Please keep in mind that the video file do exist on my device in that exact directory and I also have read permissions in my AndroidManifest.xml

    Please help !!!!

  • Android Video Trimming

    12 avril 2015, par larssy1

    I have a question about video trimming. I’m looking for a way to trim a video using the Titanium Framework.

    Functionality requested :
    Trim a video based upon a start and endtime.

    As it’s not possible using the framework, I tried looking for Titanium Modules offering the functionality needed. Currently there are two (iOS) modules available :

    1. https://github.com/martintietz/ti.ios.trim

    Nice tool which meets the exact conditions, easy in use, and fast trimming. Takes about 700 ms trimming 8 seconds.

    1. https://marketplace.appcelerator.com/apps/11245?restoreSearch=true# !overview

    Advanced tool, which would be nice if it would work. I’m not sure whether it is my code or not, but it doesn’t seem to be working using the following command (or atleast, it works very slowly, about 5 minutes for a 8sec trim on the same video) :

    ffmpeg -i "' + handleinp.resolve() + '" -ss 00:00:03 -t 00:00:08 -async 1 -strict -2 "' + handleoutp.resolve()

    For a complete example, refer to the following sources :

    Controller : http://pastebin.com/UHzV1ECF

    View : http://pastebin.com/6gyFstHz

    Output : http://pastebin.com/ySCTuGP3

    This means that so far Option [1] is the better way to trim a video on iOS. Sadly there also needs to be some trimming on Android. And the problem here lies that there is no module with the requested features.

    I have looked at another two trimming possibilities here :

    1. FFmpeg - I have made many attempts to compile the source code on both Windows and Raspbian, but no luck.

    2. MP4Parser - I tried creating a module using MP4parser, but it seems that any MP4parser trimming example does meet the API functionalities.

    So, my question is now, does anyone else have any other options in mind ?

    Kind Regards,
    Lars

  • ffmpeg : Audio out of sync after conversion mp4 -> DNxHD

    7 février 2019, par Daniel E

    Based on this post I used the command :

    ffmpeg -i input.mp4 -c:v dnxhd -vf "scale=1280:720,fps=29.90,format=yuv422p" -b:v 110M -c:a pcm_s16le output.mov

    to convert an mp4 file to mov with the dnxhd video codec. I also want the pcm_s16le audio codec.

    Here you can see the input file’s properties :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mexico-raw-combined.mp4':                                                                                                                                            
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.23.101
     Duration: 00:49:59.01, start: 0.000000, bitrate: 17220 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 16961 kb/s, SAR 1:1 DAR 16:9, 29.90 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         handler_name    : VideoHandle
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 249 kb/s (default)
       Metadata:
         handler_name    : SoundHandle

    And here are the output file’s properties :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 512
       compatible_brands: qt  
       encoder         : Lavf58.12.100
     Duration: 00:49:59.01, start: 0.000000, bitrate: 111235 kb/s
       Stream #0:0(eng): Video: dnxhd (DNXHD) (AVdn / 0x6E645641), yuv422p(tv, bt709/unknown/unknown), 1280x720, 109733 kb/s, SAR 1:1 DAR 16:9, 29.90 fps, 29.90 tbr, 19136 tbn, 19136 tbc (default)
       Metadata:
         handler_name    : DataHandler
         encoder         : Lavc58.18.100 dnxhd
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
       Metadata:
         handler_name    : DataHandler

    The issue is that towards the end of the output file (keep in mind it’s a 50 min video) the audio ends a bit ahead of the video, and the last 1 min 10 seconds are silent for some reason.

    Also note that I chose a framerate of 29.9 fps because that’s what the input file uses.