Recherche avancée

Médias (91)

Autres articles (29)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (3955)

  • bash loop through list of file paths - characters get removed when sending to ffmpeg [duplicate]

    9 octobre 2018, par Brad Johnson

    This question already has an answer here :

    I have a text file that contains a list of paths to flac files I want to convert to wav. Here is a small section of it :

    /mnt/nfs/Music/Rob D/1995 - Clubbed To Death/Rob D - 02 - Clubbed To Death _Kurayamino Variation_.flac
    /mnt/nfs/Music/Blonde Redhead/2000 - Melody of Certain Damaged Lemons/11 - For the Damaged Coda.flac
    /mnt/nfs/Music/I Monster/2001 - Daydream In Blue/01 - Daydream In Blue.flac
    /mnt/nfs/Music/Moby/2002 - Extreme Ways/01 - Extreme Ways.flac
    /mnt/nfs/Music/RJD2/2002 - Deadringer/01 - The Horror.flac
    /mnt/nfs/Music/RJD2/2002 - Deadringer/03 - Smoke & Mirrors.flac
    /mnt/nfs/Music/RJD2/2002 - Deadringer/06 - Ghostwriter.flac
    /mnt/nfs/Music/RJD2/2002 - Deadringer/10 - Chicken-Bone Circuit.flac
    /mnt/nfs/Music/FC Kahuna/2003 - Hayling/01 - Hayling _Original_.flac
    /mnt/nfs/Music/Lamb/2003 - Between Darkness and Wonder/04 - Angelica.flac

    I’m trying to loop through it like so :

    while read -r line; do
    wavfile=$(basename "$line")
    wavfile="${wavfile%.*}"
    ffmpeg -i "$line" "$2/$wavfile.wav"
    done <$1

    ...where $1 is where I would pass the name of the text file and $2 is the destination directory.

    Here is the output with the irrelevant ffmpeg junk pruned out :

    Input #0, flac, from '/mnt/nfs/Music/Rob D/1995 - Clubbed To Death/Rob D - 02 - Clubbed To Death _Kurayamino Variation_.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/Rob D - 02 - Clubbed To Death _Kurayamino Variation_.wav':
    ...
    /nfs/Music/Blonde Redhead/2000 - Melody of Certain Damaged Lemons/11 - For the Damaged Coda.flac: No such file or directory
    ...
    Input #0, flac, from '/mnt/nfs/Music/I Monster/2001 - Daydream In Blue/01 - Daydream In Blue.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/01 - Daydream In Blue.wav':
    ...
    nt/nfs/Music/Moby/2002 - Extreme Ways/01 - Extreme Ways.flac: No such file or directory
    ...
    Input #0, flac, from '/mnt/nfs/Music/RJD2/2002 - Deadringer/01 - The Horror.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/01 - The Horror.wav':
    ...
    nt/nfs/Music/RJD2/2002 - Deadringer/03 - Smoke & Mirrors.flac: No such file or directory
    ...
    Input #0, flac, from '/mnt/nfs/Music/RJD2/2002 - Deadringer/06 - Ghostwriter.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/06 - Ghostwriter.wav':
    ...
    nt/nfs/Music/RJD2/2002 - Deadringer/10 - Chicken-Bone Circuit.flac: No such file or directory
    ...
    Input #0, flac, from '/mnt/nfs/Music/FC Kahuna/2003 - Hayling/01 - Hayling _Original_.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/01 - Hayling _Original_.wav':
    ...
    /nfs/Music/Lamb/2003 - Between Darkness and Wonder/04 - Angelica.flac: No such file or directory

    If you pay attention to the paths that ffmpeg reports don’t exist, you’ll see that a seemingly random number of characters has been removed from the beginning. This appears to happen on even numbered lines, but odd numbered lines work. I can only reproduce this behavior when using ffmpeg. If I replace the ffmpeg line with a simple echo statement, every file path is shown to be correct. How can this be ?

    Other suggestions of accomplishing this are also welcome, however I do need the files processed in the order by which I have them listed in the file.

  • ffmpeg codec error on audio file

    31 juillet 2013, par foosion

    I have some m4a files that will not play properly using the google music player app on my Android phone, although they play fine on most everything else. I thought the problem was the container and thought "ffmpeg -i bad.m4a -codec copy good.m4a" might help. However, when I run on the problem files, I get error messages. Running this command on non-problem files has not generated error messages.

    Please suggest ways to fix (other than re-encoding).

       [D:\temp\dl]ffmpeg -i "01 - The Day Begins.m4a" -codec copy day.m4a
    ffmpeg version N-55066-gc96b3ae Copyright (c) 2000-2013 the FFmpeg developers
     built on Jul 29 2013 18:05:45 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
     libavutil      52. 40.100 / 52. 40.100
     libavcodec     55. 19.100 / 55. 19.100
     libavformat    55. 12.102 / 55. 12.102
     libavdevice    55.  3.100 / 55.  3.100
     libavfilter     3. 82.100 /  3. 82.100
     libswscale      2.  4.100 /  2.  4.100
     libswresample   0. 17.103 /  0. 17.103
     libpostproc    52.  3.100 / 52.  3.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000002da300] stream 0, timescale not set
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '01 - The Day Begins.m4a':
     Metadata:
       major_brand     : m4a
       minor_version   : 0
       compatible_brands: M4A mp4isom
       creation_time   : 2003-07-06 20:27:46
       track           : 1
       genre           : Rock
       title           : The Day Begins
       artist          : Moody Blues
       album           : Days of Future Passed
       date            : 1967
     Duration: 00:05:50.83, start: 0.000000, bitrate: 166 kb/s
       Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 15
    9 kb/s
       Metadata:
         creation_time   : 2003-07-06 20:27:46
         handler_name    : Apple Sound Media Handler
       Stream #0:1(eng): Data: none (mp4s / 0x7334706D)
       Metadata:
         creation_time   : 2003-07-06 20:27:46
         handler_name    : Apple MPEG-4 Scene Media Handler
       Stream #0:2(eng): Data: none (mp4s / 0x7334706D)
       Metadata:
         creation_time   : 2003-07-06 20:27:46
         handler_name    : Apple MPEG-4 ODSM Media Handler
       Stream #0:3: Video: png, rgb24, 240x240 [SAR 2834:2834 DAR 1:1], 90k tbr, 90
    k tbn, 90k tbc
    [ipod @ 000000000031dd40] track 0: could not find tag, codec not currently suppo
    rted in container
    Output #0, ipod, to 'day.m4a':
     Metadata:
       major_brand     : m4a
       minor_version   : 0
       compatible_brands: M4A mp4isom
       date            : 1967
       track           : 1
       genre           : Rock
       title           : The Day Begins
       artist          : Moody Blues
       album           : Days of Future Passed
       encoder         : Lavf55.12.102
       Stream #0:0: Video: png, rgb24, 240x240 [SAR 2834:2834 DAR 1:1], q=2-31, 90k
    tbn, 90k tbc
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 159 kb/s

       Metadata:
         creation_time   : 2003-07-06 20:27:46
         handler_name    : Apple Sound Media Handler
    Stream mapping:
     Stream #0:3 -> #0:0 (copy)
     Stream #0:0 -> #0:1 (copy)
    Could not write header for output file #0 (incorrect codec parameters ?): Error
    number -1 occurred
  • ffmpeg - Concat multi mp4 files with audio file not working

    29 mars 2017, par Thanh Dao

    I follow this thread to concat multi mp4 files with audio file.
    But its not success. Have a lots error notifications had been displayed. I dont know how to fix it.
    Below is my command :

    "ffmpeg" -f concat -safe 0 \
    -i /path/to/text.txt \
    -i /path/to/audio.mp3 -vsync vfr -vf scale="640:640" -pix_fmt yuv420p \
    /path/to/output.mp4 2>&1

    The detail contents of text.txt

    file '/path/to/file1.mp4'
    file '/path/to/file2.mp4'
    file '/path/to/file3.mp4'
    file '/path/to/file4.mp4'
    file '/path/to/file5.mp4'
    file '/path/to/file6.mp4'
    file '/path/to/file7.mp4'
    file '/path/to/file8.mp4'
    file '/path/to/file9.mp4'
    file '/path/to/file10.mp4'
    file '/path/to/file11.mp4'
    file '/path/to/file12.mp4'
    file '/path/to/file13.mp4'
    file '/path/to/file14.mp4'
    file '/path/to/file15.mp4'
    file '/path/to/file16.mp4'
    file '/path/to/file17.mp4'
    file '/path/to/file18.mp4'

    And some lines of output errors :

    [concat @ 0x357e620] DTS 192000 < 229888 out of order
    [h264 @ 0x36920e0] top block unavailable for requested intra mode -1
    [h264 @ 0x36920e0] error while decoding MB 32 0
    [h264 @ 0x36920e0] concealing 2025 DC, 2025 AC, 2025 MV errors in I frame
    [h264 @ 0x36b7a80] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame
    [h264 @ 0x36ff440] corrupted macroblock 26 1 (total_coeff=-1)
    [h264 @ 0x36ff440] error while decoding MB 26 1
    [h264 @ 0x36ff440] concealing 2003 DC, 2003 AC, 2003 MV errors in P frame
    [h264 @ 0x371af40] concealing 1456 DC, 1456 AC, 1456 MV errors in P frame
    [h264 @ 0x3736a40] ref 5 overflow
    [h264 @ 0x3736a40] error while decoding MB 1 1
    [h264 @ 0x3736a40] concealing 2025 DC, 2025 AC, 2025 MV errors in P frame
    [h264 @ 0x3752520] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame
    [h264 @ 0x376dfa0] P sub_mb_type 8 out of range at 2 1
    [h264 @ 0x376dfa0] error while decoding MB 2 1
    [h264 @ 0x376dfa0] concealing 2025 DC, 2025 AC, 2025 MV errors in P frame
    [h264 @ 0x37a55a0] ref 6 overflow
    [h264 @ 0x37a55a0] error while decoding MB 3 1
    [h264 @ 0x37a55a0] concealing 2025 DC, 2025 AC, 2025 MV errors in P frame
    [h264 @ 0x3789aa0] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame
    [h264 @ 0x36b7a80] ref 5 overflow
    [h264 @ 0x36b7a80] error while decoding MB 4 1
    [h264 @ 0x36b7a80] concealing 2025 DC, 2025 AC, 2025 MV errors in P frame
    [h264 @ 0x36920e0] concealing 1449 DC, 1449 AC, 1449 MV errors in P frame