Recherche avancée

Médias (3)

Mot : - Tags -/spip

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10335)

  • FFmpegKit in Flutter fails with configuration output on Android

    15 décembre 2024, par ashvin jadav

    I am using ffmpeg_kit_flutter in my Flutter app to add a text overlay to a video. However, when I try to execute the FFmpeg command, I get an output similar to this :

    


    configuration : --cross-prefix=aarch64-linux-android- --sysroot=/Users/sue/Library/Android/sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/sue/Projects/arthenica/ffmpeg-kit/prebuilt/android-arm64/ffmpeg --pkg-config=/opt/homebrew/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --target-os=android --enable-neon --enable-asm --enable-inline-asm --ar=aarch64-linux-android-ar --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang++ --ranlib=aarch64-linux-android-ranlib --strip=aarch64-linux-android-strip --nm=aarch64-linux-android-nm --extra-libs='-L/Users/sue/Projects/arthenica/ffmpeg-kit/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --disable-autodetect --enable-cross-compile --enable-pic --enable...

    


    Here is my code :

    


    final command = '-i $_videoPath -vf "drawtext=text=\'Live Score: 10 - 5\':fontcolor=white:fontsize=24:x=10:y=10" $_processedVideoPath';

await FFmpegKit.execute(command).then((session) async {
  final returnCode = await session.getReturnCode();
  final output = await session.getOutput();
  final errorOutput = await session.getFailStackTrace();

  print('Return Code: $returnCode');
  print('Output: $output');
  print('Error Output: $errorOutput');
});


    


    Dependencies :
ffmpeg_kit_flutter: ^6.0.3

    


  • Stripping out non-English streams in ffmpeg

    2 septembre 2021, par Dennis Q. Wilson

    I have many MKV files containing audio and subtitle streams in multiple languages, and I want to strip out the non-English ones. To the best of my understanding, the command below should achieve this, except it copies only the first English-language audio and subtitle stream it encounters, ignoring any subsequent streams containing audio commentary and the like. What am I doing wrong ?

    


    ffmpeg.exe -i INPUT.mkv -map 0:v:0 -map -0:a -map 0:a:m:language:eng -map -0:s -map 0:a:s:language:eng -c copy OUTPUT.mkv

    


  • Downloading youtube mp3 - metadata encoding issue (python, youtube-dl, ffmpeg)

    21 mai 2015, par mopsiok

    I’m trying to download audio from youtube with youtube-dl.exe and ffmpeg.exe (Windows 7), but I am having some troubles with encoding. I have to parse metadata manually, because when I try to use

    --metadata-from-title "%(artist) - %(title)" --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=DaU94Ld3fuM

    I get ERROR : Could not interpret title of video as "%(artist) - %(title)"

    Anyway, I wrote some code to save metadata with ffmpeg :

    def download(url, title_first=False):
       if (0 == subprocess.call('youtube-dl --extract-audio --audio-format mp3 %s' % url)):
           #saves file in current directory in format: VID_TITLE-VID_ID.mp3
           video_id = url[url.find('=')+1:] #video id from URL (after ?v=)
           for f in os.listdir('.'):
               if video_id in f:
                   filename = f
                   break
           os.rename(filename, video_id+'.mp3') #name without non-ascii chars (for tests)
           video_title = filename[: filename.find(video_id)-1]

           output = video_title + '.mp3'
           title, artist = '', ''
           try: #parsing the title
               x = video_title.find('-')
               artist = video_title[:x].strip()
               title = video_title[x+1:].strip()
               if (title_first): output = '%s - %s.mp3' % (title, artist)
           except:
               pass

           x = 'ffmpeg -i "%s" -metadata title="%s" -metadata artist="%s" -acodec copy -id3v2_version 3 -write_id3v1 1 "%s"' \
                           % (video_id+'.mp3', title, artist, output)
           print x
           subprocess.call(x)

    The file is downloaded and then cropped to given start and duration times (the code above is a simplified version). Filename is fine, but when I open the file with AIMP3, it shows rubbish instead of non-ascii characters :

    enter image description here

    I’ve tried to re-encode the final command with iso-8859-2, utf-8 and mbcs :

    x = x.decode('cp1250').encode('iso-8859-2')

    But non-ascii chars are still not readable. Passing an unicode command returns UnicodeEncodeError...

    Any idea how to solve this problem ?