Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (56)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (6159)

  • ffmpeg Merge videos removing audio Error:setsar has a unconnected output

    3 mai 2020, par Android Developer

    I am using below command to merge videos removing audio-

    



    -i /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20200501-WA0000.mp4 -i /storage/emulated/0/Download/g3cm1tt7qtd41.mp4 -filter_complex [0:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];[1:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];[0:0] [1:0] concat=n=2:v=1:a=0 /storage/emulated/0/Movies/merge_video10.mp4


    



    but the command fails with below error-

    



    


    FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the
 FFmpeg developers
 built with gcc 4.8 (GCC)
 configuration : —target-os=linux
 —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
 —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
 —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' —extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
 -Wl,-z,relro -Wl,-z,now -pie' —extra-libs='-lpng -lexpat -lm' —extra-cxxflags=
 libavutil 55. 17.103 / 55. 17.103
 libavcodec 57. 24.102 / 57. 24.102
 libavformat 57. 25.100 / 57. 25.100
 libavdevice 57. 0.101 / 57. 0.101
 libavfilter 6. 31.100 / 6. 31.100
 libswscale 4. 0.100 / 4. 0.100
 libswresample 2. 0.101 / 2. 0.101
 libpostproc 54. 0.100 / 54. 0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/storage/emulated/0/WhatsApp/Media/WhatsApp
 Video/VID-20200501-WA0000.mp4' :
 Metadata :
 major_brand : isom
 minor_version : 512
 compatible_brands : isomiso2avc1mp41
 encoder : Lavf58.20.100
 Duration : 00:00:09.83, start : 0.000000, bitrate : 809 kb/s
 Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 /
 0x31637661), yuv420p(tv, bt709), 480x600, 737 kb/s, 30 fps, 30 tbr,
 15360 tbn, 60 tbc (default)
 Metadata :
 handler_name : VideoHandler
 Stream #0:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, fltp, 64 kb/s (default)
 Metadata :
 handler_name : SoundHandler
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from
 '/storage/emulated/0/Download/g3cm1tt7qtd41.mp4' :
 Metadata :
 major_brand : iso6
 minor_version : 1
 compatible_brands : mp42iso6avc1isom
 creation_time : 2020-01-30 11:13:07
 Duration : 00:00:00.00, start : 0.042667, bitrate : N/A
 Stream #1:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p,
 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360
 tbn, 60 tbc (default)
 Stream #1:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 128 kb/s (default)
 Filter setsar has a unconnected output

    


    


  • FFMpeg Input link in1:v0 parameters (size > 640x352, SAR 0:1) do not match the corresponding output link in0:v0 > parameters [duplicate]

    25 avril 2020, par Android Developer

    I am using below command to concatenate videos-

    



    String command[] = {"-i",inputFile1AbsolutePath,"-i",inputFile2AbsolutePath .....,"-i",inputFileNAbsolutePath,"-filter_complex","[0:v0] [0:a0] [1:v1] [1:a1]...[N:vN] concat=n=N:v=1:a=1 [v] [a],"-map","[v]","-map","[a]", outputFileAbsolutePath};


    



    and got below error-

    



    


    FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the
 FFmpeg developers
 built with gcc 4.8 (GCC)
 configuration : —target-os=linux
 —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
 —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
 —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' —extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
 -Wl,-z,relro -Wl,-z,now -pie' —extra-libs='-lpng -lexpat -lm' —extra-cxxflags=
 libavutil 55. 17.103 / 55. 17.103
 libavcodec 57. 24.102 / 57. 24.102
 libavformat 57. 25.100 / 57. 25.100
 libavdevice 57. 0.101 / 57. 0.101
 libavfilter 6. 31.100 / 6. 31.100
 libswscale 4. 0.100 / 4. 0.100
 libswresample 2. 0.101 / 2. 0.101
 libpostproc 54. 0.100 / 54. 0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/storage/emulated/0/Download/g3cm1tt7qtd41.mp4' :
 Metadata :
 major_brand : iso6
 minor_version : 1
 compatible_brands : mp42iso6avc1isom
 creation_time : 2020-01-30 11:13:07
 Duration : 00:00:00.00, start : 0.042667, bitrate : N/A
 Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p,
 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360
 tbn, 60 tbc (default)
 Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 128 kb/s (default)
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from
 '/storage/emulated/0/WhatsApp/Media/WhatsApp
 Video/VID-20200404-WA0000.mp4' :
 Metadata :
 major_brand : mp42
 minor_version : 0
 compatible_brands : mp42isom
 Duration : 00:03:43.14, start : 0.000000, bitrate : 774 kb/s
 Stream #1:0(und) : Video : h264 (Baseline) (avc1 / 0x31637661), yuv420p,
 640x352, 675 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
 Stream #1:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono,
 fltp, 96 kb/s (default)
 [Parsed_concat_0 @ 0xb4529400] Input link in1:v0 parameters (size
 640x352, SAR 0:1) do not match the corresponding output link in0:v0
 parameters (854x480, SAR 2136:2135)
 [Parsed_concat_0 @ 0xb4529400] Failed to configure output pad on
 Parsed_concat_0
 Error configuring complex filters.
 Invalid argument

    


    



    Seeing this answer i tried using-

    



    [0:v]setsar=1[v0]; [0:a0] [1:v]setsar=1[v1]; [1:a1]


    



    but did not worked !

    



    How can i resolve this ?

    


  • ffmpeg video to jpg frames poor quality

    23 décembre 2019, par Gert Gottschalk

    The quality of JPGs extracted by ffmpeg from an mp4 is much poorer than pause frame from video player (vlc). I am looking for ffmpeg cmd option to improve output quality.

    Using following cmd :

    /home/tools/bin/ffmpeg -i Merkurtransit_20191111_crf20_8fps_crop.mp4 Merkurtransit_20191111_crf20_8fps_crop_%04d.jpg -hide_banner

    The ffmpeg cmd is from instructions found here :
    https://www.bugcodemaster.com/article/extract-images-frame-frame-video-file-using-ffmpeg

    A comparing screen copy is here :
    http://skywatcher.space/download/vlc_player_vs_ffmpeg_bug.png

    A few items of note. I created the mp4 myself from high res png (actually originally from 16bit tiff) using ffmpeg :

    /home/tools/bin/ffmpeg -framerate 8.0 -i ./AS_P10_RS6_png_reg/Merkurtransit_20191111_%03d.png -vf "crop=760:560:20:40" -pix_fmt yuv420p -crf 20 -r 24 -y ./Video/Merkurtransit_20191111_crf20_8fps_crop.mp4

    The crf 20 is pretty high quality, close to 100% and the recovered frame should be close to original. The video player pause frame shows adequate quality. (though I can’t say if it is on a key frame or not)

    ffmpeg version info :

    home/tools/bin/ffmpeg -v
    ffmpeg version N-80251-g0c7fa15 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --prefix=/home/tools/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/tools/ffmpeg_build/include --extra-ldflags=-L/home/tools/ffmpeg_build/lib --bindir=/home/tools/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 45.100 / 57. 45.100
     libavformat    57. 37.101 / 57. 37.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 46.101 /  6. 46.101
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100