Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (80)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (12751)

  • ffmbc : QuickTime to XDCAMHD422 MXF

    13 novembre 2018, par Ze'ev

    Trying to create an XDCAMHD422 MXF with video from a QuickTime and audio from a stereo WAV.

    Audio is pcm_s24le, 48000 Hz, 2 channels, s32

    But output is mixed :

    Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0.2(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s

    And shows alert : Incompatible sample format 's32' for codec 'pcm_s16le', auto-selecting format 's16'

    (For XDCAM, it’s necessary to split stereo into dual mono.)

    Command :

    ffmbc -i "$v" -i "$a" -tff -timecode 07:00:00:00 \
    -map_audio_channel 1:0:0:0:1:0 \
    -map_audio_channel 1:0:1:0:2:0 \
    -acodec pcm_s24le -ar 48000 -ac 2 \
    -target xdcamhd422 -vtag xd5c -y  -t 1 "$o" \
    -acodec pcm_s24le -newaudio

    Output :

    FFmbc version 0.7.2
    Copyright (c) 2008-2014 Baptiste Coudurier and the FFmpeg developers
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mov':
     Metadata:
       major_brand: qt
       minor_version: 537199360
       compatible_brands: qt
       timecode: 00:00:00:00
     Duration: 00:00:30.00, bitrate: 188317 kb/s
       Stream #0.0(eng): Video: prores, yuv422p10le, 1920x1080p, 186502 kb/s, PAR 1:1 DAR 16:9, 25.00 fps
       Metadata:
         codec_name: Apple ProRes 422 (HQ)
       Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
       Stream #0.2(eng): Data: unknown (tmcd)
    Input #1, wav, from 'audio.wav':
     Metadata:
       encoded_by: Pro Tools
       originator_reference: aaOpK7OBThOk
       date: 2018-11-08
       creation_time: 14:10:50
       time_reference: 175680000
     Duration: 00:00:30.00, bitrate: 2316 kb/s
       Stream #1.0(und): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
    [scale @ 0x7ff9f48009a0] w:1920 h:1080 fmt:yuv422p10le -> w:1920 h:1080 fmt:yuv422p flags:0x4 il:0
    Incompatible sample format 's32' for codec 'pcm_s16le', auto-selecting format 's16'
    Output #0, mxf, to 'mxftest3.mxf':
     Metadata:
       encoder: FFmbc 0.7
       Stream #0.0(und): Video: mpeg2video, yuv422p, 1920x1080i tff [PAR 1:1 DAR 16:9], cbr, 50000 kb/s, 25.00 fps
       Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
       Stream #0.2(und): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #1.0 -> #0.1 [channel: 0 -> 0]
     Stream #1.0 -> #0.2 [channel: 1 -> 0]
    Press [q] to stop, [?] for help
    frame=   25 fps=  8 q=2.0 Lsize=    7586kB time=00:00:01.00 bitrate=62145.0kbits/s
    video:7309kB audio:236kB global headers:0kB muxing overhead 0.541060%
  • FFMPEG get an error message

    26 juillet 2018, par Tom

    I’m writing a batch script, encoding files using FFMPEG to MP3. Some files aren’t being converted, and FFMPEG doesn’t write in the terminal why. Is there a way to get any error messages in a case a process wasn’t successful ?

    Another example, I tried to convert with the same script a text file, obviously it didn’t work, but FFMPEG didn’t provide any error information. That’s why I’m asking if there’s a way, or if FFMPEG even has anything like that.

    Edit :

    The Code :

    FFMPEG.exe -loglevel quiet -i "%%F" -vn -ar 44100 -ac 2 -ab 192k -f mp3 output.mp3

    and the output is :

    FFmpeg version SVN-r13712, Copyright (c) 2000-2008 Fabrice Bellard, et al.
     configuration: --enable-memalign-hack --enable-avisynth --enable-libxvid --enable-libx264 --enable-libgsm --enable-libfaac --enable-libfaad --enable-liba52 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-pthreads --enable-swscale --enable-gpl
     libavutil version: 49.7.0
     libavcodec version: 51.57.2
     libavformat version: 52.14.0
     libavdevice version: 52.0.0
     built on Jun  8 2008 21:33:14, gcc: 4.2.3
    D:\Documents\ffmpeg.exe: unrecognized option '-loglevel'
  • Catch if the Java process crashed

    10 mai 2018, par Victor Sheyanov

    I run java process to convert video using ffmpeg.exe.

    Runtime rt = Runtime.getRuntime();
    String cmd = FFMPEGFULLPATH + " -y -i " + '"' + mpeg4File + '"' + " -vcodec libx264 -vsync 2 " + '"' + H264file + '"';

    Process pr = rt.exec(cmd);

    ThreadedTranscoderIO errorHandler = new ThreadedTranscoderIO(pr.getErrorStream(), "Error Stream");
    errorHandler.start();
    ThreadedTranscoderIO inputHandler = new ThreadedTranscoderIO(pr.getInputStream(), "Output Stream");
    inputHandler.start();

    try {
         pr.waitFor();
    } catch (InterruptedException e) {
         LiveApplication.logger.info("Some shit happens during convertation 2 ");
         throw new IOException("UseTranscoderBlocking - Run_FFMPEG - process interrupted " + e);                  
    }

    But when the process started, sometimes especially with big files, but not always i get this windows message :

    enter image description here

    This happens only on Windows server 2008 and didn’t happened on Windows 7.

    I have 2 questions :

    1. Why this process fails ?
    2. Can I catch this fail in Java, close
      this window and continue thread execution (maybe I’ll restart this
      proccess).