Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (1)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (2152)

  • Can't find ffmpeg with python

    16 avril 2017, par Edoardo Centamori

    I’m trying to use the module save from matplotlib.animation.FuncAnimation.
    This is the part of the code I’m referring to :

    import matplotlib.animation as animation
    plt.rcParams['animation.ffmpeg_path'] ='/Users/edoardo/Downloads/ffmpeg-3.3/ffmpeg'
    ...
    """other code"""
    ...
    ani = animation.FuncAnimation(fig, update_mode, 250,
                                  interval=50, blit=False)
    ani.save('Resonant_modes.mp4', fps=30, extra_args=['-vcodec', 'libx264'])

    But I get this error as a result :

    ValueError: Cannot save animation: no writers are available.
    Please install mencoder or ffmpeg to save animations.

    The problem is that I have installed ffmpeg, so I don’t know what to do.
    Could someone explain to me how to do and where should I move the executable ffmpeg file so than Python can find it easly ?

    Edit 1 :
    I’m using mac os x
    FFmpeg should be installed correctly, here’s the output from Bash :

    MBP-di-Edoardo:~ edoardo$ ffmpeg ffmpeg version 2.8.6 Copyright (c)    
    2000-2016 the FFmpeg developers built with gcc 4.8.5 (GCC)
    ...more stuff ...
    Use -h to get full help or, even better, run 'man ffmpeg' –

    Edit 2 :
    I’ve tried moving the file to \bin but even using sudo I can’t

    sudo cp ffmpeg /bin
    Password:
    cp: /bin/ffmpeg: Operation not permitted
    MBP-di-Edoardo:Desktop edoardo$
  • ffmpeg proress 4444 produce low quality output

    3 mai 2017, par Panupat

    I have a bunch of HQ clips in Proress 4444 format with alpha I’m trying to scale down with ffmpeg. The output do produce the correct alpha, however the quality seems really bad. I’m curious if there’s something wrong with my command ?

    ffmpeg.exe -i in.mov -vf scale=iw/2:-2 -c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le -alpha_bits 16 out2.mov

    Above, output. Below, source.

    http://imgur.com/a/XYpWp

    I tried to add -colorspace bt709 -color_primaries bt709 -color_trc bt709 but seem to have no effect.

    the log is here - https://docs.google.com/document/d/19TdJwwDp0QD00f_7XB8sBAYMUWUrn2moRuCC6r6rI0k/edit?usp=sharing

    Any help appreciate, thanks !

  • FFMPEG concat audio and videos produces only audio

    19 septembre 2019, par justaguytrynabuildawebsite

    Im trying to combine multiple video files with a single audio file. When using only videos without audio, it works fine but when adding a audio track to the beginning of the concat file i get the return below, and the output.mp4 becomes just audio with no video when previewing in browser.
    FFMPEG command

    ffmpeg -f concat -safe 0 -i /var/www/html/video_tool/edit/out/concat.txt -c copy -flags +global_header /var/www/html/video_tool/edit/out/output.mp4

    concat.txt

    #CONCAT FILE
    file '/var/www/html/video_tool/edit/audio/sound.mp3'
    file '/var/www/html/video_tool/edit/vids/frame_0.mp4'
    file '/var/www/html/video_tool/edit/vids/frame_1.mp4'
    file '/var/www/html/video_tool/edit/vids/frame_2.mp4'
    file '/var/www/html/video_tool/edit/vids/frame_3.mp4'

    Output

    ffmpeg version 4.1.3-0york1~16.04 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
     configuration: --prefix=/usr --extra-version='0york1~16.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-nonfree --enable-libfdk-aac --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    [mp3 @ 0x5635174e08c0] Estimating duration from bitrate, this may be inaccurate
    Input #0, concat, from '/var/www/html/video_tool/edit/out/concat.txt':
     Duration: N/A, start: 0.000000, bitrate: 192 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
    Output #0, mp4, to '/var/www/html/video_tool/edit/out/output.mp4':
     Metadata:
       encoder         : Lavf58.20.100
       Stream #0:0: Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5635174e38c0] Auto-inserting h264_mp4toannexb bitstream filter
    [mp4 @ 0x5635174e5080] Non-monotonous DTS in output stream 0:0; previous: 9897984, current: 8976; changing to 9897985. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x5635174e5080] Non-monotonous DTS in output stream 0:0; previous: 9897985, current: 8977; changing to 9897986. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x5635174e5080] Non-monotonous DTS in output stream 0:0; previous: 9897986, current: 8979; changing to 9897987. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x5635174e5080] Non-monotonous DTS in output stream 0:0; previous: 9897987, current: 8980; changing to 9897988. This may result in incorrect timestamps in the output file.
    etc, etc...
    size=    5347kB time=00:03:44.44 bitrate= 195.1kbits/s speed=2.91e+03x    
    video:0kB audio:5311kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.664769%