Recherche avancée

Médias (91)

Autres articles (60)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • Unable to find a suitable output format for 'ffmpeg' I/flutter (29205) : ffmpeg : Invalid argument

    24 juillet 2020, par Abhijit Rajmane

    I'm trying to mix two audio files using flutter_ffmpeg : 0.2.10 but I get

    


    [NULL @ 0xd77d4400] Unable to find a suitable output format for 'ffmpeg'
I/flutter (29205): ffmpeg: Invalid argument

code : 
String file1= _localPath+"/file1.m4a";
String file2= _localPath+"/file2.mp3";
String output= _localPath+"/abhijit.wav";

String finalPath= "ffmpeg -i "+ file1 +" -i "+file2+" -filter_complex amix=inputs=2:duration=first:dropout_transition=0 "+output;

console ffmpeg's message...
I/flutter (29205):   libavutil      56. 38.100 / 56. 38.100
I/flutter (29205):   libavcodec     58. 65.102 / 58. 65.102
I/flutter (29205):   libavformat    58. 35.101 / 58. 35.101
I/flutter (29205):   libavdevice    58.  9.103 / 58.  9.103
I/flutter (29205):   libavfilter     7. 70.101 /  7. 70.101
I/flutter (29205):   libswscale      5.  6.100 /  5.  6.100
I/flutter (29205):   libswresample   3.  6.100 /  3.  6.100
I/flutter (29205): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.arthenica.flutter.ffmpeg.FlutterFFmpegExample/files/Download/file1.m4a':
I/flutter (29205):   Metadata:
I/flutter (29205):     major_brand     : mp42
I/flutter (29205):     minor_version   : 1
I/flutter (29205):     compatible_brands: isommp41mp42
I/flutter (29205):     creation_time   : 2020-07-09T15:42:47.000000Z
I/flutter (29205):   Duration: 00:12:12.26, start: 0.000000, bitrate: 61 kb/s
I/flutter (29205):     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 60 kb/s (default)
I/flutter (29205):     Metadata:
I/flutter (29205):       creation_time   : 2020-07-09T15:42:47.000000Z
I/flutter (29205):       handler_name    : Core Media Audio
I/flutter (29205): Input #1, mp3, from '/storage/emulated/0/Android/data/com.arthenica.flutter.ffmpeg.FlutterFFmpegExample/files/Download/file2.mp3':
I/flutter (29205):   Metadata:
I/flutter (29205):     artist          : SoundHelix
I/flutter (29205):     genre           : Techno
I/flutter (29205):     encoder         : Lavf58.20.100
I/flutter (29205):   Duration: 00:00:23.12, start: 0.011995, bitrate: 192 kb/s
I/flutter (29205):     Stream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
I/flutter (29205):     Metadata:
I/flutter (29205):       encoder         : Lavf
I/flutter (29205): [NULL @ 0xd77d4400] Unable to find a suitable output format for 'ffmpeg'
I/flutter (29205): ffmpeg: Invalid argument
I/flutter (29205): "
I/flutter (29205): New FFmpeg pipe: /data/user/0/com.arthenica.flutter.ffmpeg.FlutterFFmpegExample/cache/mf_pipe_7
I/flutter (29205): FFmpeg process exited with rc 1


    


    Please check command of FFmpeg and suggest me if any correction occur, Unable to find a suitable output format for 'ffmpeg' I/flutter (29205) : ffmpeg : Invalid argument
I have no idea about this error please help me

    


  • Remove error when running ffmpeg in Windows script

    3 septembre 2021, par K7AAY

    I use a script to downsize audiobook files.
    
The original audiobook file was concatenated from multiple MP3 files into one MP3 file.
    
The script (in Windows) relies on ffmpeg (version git-2020-06-26-7447045) and contains

    


    FOR %%A IN (dir *.mp3) DO ffmpeg -i "%%A" -c:a libmp3lame -q:a 8 "_%%A"

    


    However, this error message appears :

    


    


    deprecated pixel format used, make sure you did set range correctly
    
[mp3 @ 000001f026d56400] Frame rate very high for a muxer not efficiently supporting it.
    
Please consider specifying a lower framerate, a different muxer or -vsync 2

    


    


    How do I modify the script for greater efficiency and remove that error message ? TY.

    


  • ffmpeg HE-AAC 'unsupported codec' despite being compiled with support

    12 mai 2020, par Sebastian

    Lack of default support of AAC for ffmpeg is really annoying :

    



    My ffmpeg version :

    



    ffmpeg version git-2020-05-02-0d81edc Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-0d81edc_1 --enable-shared --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-gpl --enable-libaom --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --disable-libjack --disable-indev=jack --enable-opencl --enable-videotoolbox --disable-htmlpages --enable-libbluray --enable-libfdk-aac --enable-libopenh264 --enable-libopenjpeg --enable-librsvg --enable-libspeex --enable-libsrt --enable-libtwolame --enable-libwavpack --enable-libwebp --enable-libxvid --enable-nonfree --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb


    



    I have several segment.ts files in edit.txt and I try to concatenate and convert to mpg :
ffmpeg -f concat -i edit.txt -c copy   output.mpg

    



    this does not work

    



    Input #0, concat, from 'edit.txt':
  Duration: N/A, start: 0.000000, bitrate: 121 kb/s
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720, 30 fps, 29.97 tbr, 90k tbn, 60 tbc
    Stream #0:1: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 121 kb/s
File 'output.mpg' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[mpeg @ 0x7f8e44807e00] VBV buffer size not set, using default size of 230KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
[mpeg @ 0x7f8e44807e00] Unsupported audio codec. Must be one of mp1, mp2, mp3, 16-bit pcm_dvd, pcm_s16be, ac3 or dts.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --
Conversion failed!


    



    so I tried with ffmpeg -f concat -i edit.txt -c:v copy -c:a libfdk_aac  output.mpg -> same effect.

    



    Why fraunhoffer codec exists and is mentioned on FFMPEG site if it is not supported ?
Is it any way to do this ?