Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (101)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (9626)

  • ffmpeg v4l2 combine incoming odd and even fields comming from v4l2

    3 août 2022, par Нияз Фаттахов

    I have a alternating PAL signal comming from video decoder 720x240@50fps.
I need to combine incomming odd and even fields using ffmpeg, so I could get 720x480@25fps
I'm using embedded arm chip cortex-a7 width hardware encoder, so I have constrained cpu-resourses.

    


    At the moment I can write PAL video by using this command :

    


    ffmpeg -f v4l2 -r 50 -t 5 -s 720x240 -i /dev/video0 -pix_fmt uyvy422 -c:v h264_omx /mnt/output_240p.avi -y


    


    But I get 720x240@50.

    


    To get 720x480@25fps, I tried this :

    


    ffmpeg -f v4l2 -r 50 -t 5 -s 720x240 -pix_fmt uyvy422 -i /dev/video0  -vf "fieldorder=bff" -r 25 -pix_fmt uyvy422 -s:v 720x480 -c:v h264_omx /mnt/output_480p.avi -y


    


    ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.3.0 (Buildroot 2021.11)
  configuration: --enable-cross-compile --cross-prefix=/home/niyaz/lichee-pi-zero/buildroot-2021.11[ 2673.495744] tvp5150 0-005c: width = 720, height = 240
/output/host/bin/arm-buildroot-linux-gnueabihf- --sysroot=/home/[ 2673.511300] tvp5150 0-005c: Set video std register to 4.
niyaz/lichee-pi-zero/buildroot-2021.11/output/host/arm-buildroot[ 2673.517724] tvp5150 0-005c: mbus_type: 1
-linux-gnueabihf/sysroot --host-cc=/usr/bin/gcc --arch=arm --tar[ 2673.527575] tvp5150 0-005c: V4L2_MBUS_PARALLEL
get-os=linux --disable-stripping --pkg-config=/home/niyaz/lichee-pi-zero/buildroot-2021.11/output/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --enable-ffmpeg --disable-ffplay --enable-libv4l2 --disable-avresample --disable-ffprobe --disable-libxcb --disable-postproc --disable-swscale --disable-encoders --enable-encoder=h264_omx --disable-decoders --enable-decoder='rawvideo,012v,v210,v210x,yuv4' --disable-muxers --enable-muxer='avi,mp4,rtp,rtsp' --disable-demuxers --disable-protocols --enable-protocol='file,rtp,tcp,udp,pipe' --enable-indevs --disable-alsa --enable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --disable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-iconv --enable-libfreetype --disable-fontconfig --disable-libopenjpeg --disable-libx264 --disable-libx265 --disable-libdav1d --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --enable-armv6 --enable-vfp --enable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=cortex-a7 --enable-omx
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswresample   3.  9.100 /  3.  9.100
[video4linux2,v4l2 @ 0x510440] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
[video4linux2,v4l2 @ 0x510440] Time per frame unknown
Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 2673.553994, bitrate: N/A
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x240, 50 tbr, 1000k tbn, 1000k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_omx))
Press [q] to stop, [?] for help
Output pad "default" with type video of the filter instance "Parsed_fieldorder_0" of fieldorder not connected to any destination
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
[video4linux2,v4l2 @ 0x510440] Some buffers are still owned by the caller on close.
ioctl(VIDIOC_QBUF): Bad file descriptor
Conversion failed!
#


    


    Is it possible to combine incoming odds and even fields from v4l2 without cpu load ?

    


  • How to ffmpeg a PNG image sequence in multiple subdirs to one mp4 ?

    17 août 2021, par MikeEcho

    I am trying desperately to get this working.

    


    I have multiple files in the format of : lago_20210817_1200.png, lago_20210817_1201.png and so on.

    


    I am having a folder for each day of the year. eg. lago_20210817_1200.png is the folder 2021, subfolder 08, subfolder 17.

    


    I have tried many different approaches :

    


      

    • ffmpeg -f concat -i filelist.txt -r 25 output.mp4
    • 


    • ffmpeg -f concat -i <(find '/home/user/lago/2021/08/*.png') -r 25 output.mp4
    • &#xA;

    &#xA;

    But no approach seems to work !

    &#xA;

    I tried to create a filelist with :

    &#xA;

    find . -name &#x27;*.png&#x27; -exec echo "file &#x27;{}&#x27;" \;|sort -h|sort&#xA;

    &#xA;

    the result looked promising

    &#xA;

    file &#x27;./lago_20210813_1959.png&#x27;&#xA;file &#x27;./lago_20210813_2000.png&#x27;&#xA;file &#x27;./lago_20210813_2001.png&#x27;&#xA;

    &#xA;

    I am getting very different error messages...

    &#xA;

    DTS -230584300921369, next:40000 st:0 invalid dropping&#xA;PTS -230584300921369, next:40000 invalid dropping st:0&#xA;DTS -230584300921369, next:40000 st:0 invalid dropping&#xA;

    &#xA;

    or

    &#xA;

    [concat @ 0x562531fe6c80] Unsafe file name &#x27;./lago_20210813_2155.png&#x27;&#xA;

    &#xA;

    Could anyone lead me in the right direction, i am desperate.

    &#xA;

    ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)&#xA;  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --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-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;

    &#xA;

  • Python FFMPEG Heroku|Remove audio from video with Byte to Byte. No web processes running Error on Heroku

    15 mai 2021, par samoel

    I'm trying to get a .mp4 file from an address and remove the sound from it.I also want the data sent to FFMPEG to be bytes and return the result in byte

    &#xA;

    i tried different command for my code like using -movflags frag_keyframe+empty_moov.&#xA;When I run this code in Heroku and receive the log...

    &#xA;

    Buildpacks on Heroku are :

    &#xA;

    https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git

    &#xA;

    https://github.com/codeinteger6/heroku-buildpack-libopus.git

    &#xA;

    git ://github.com/heroku/heroku-buildpack-python.git

    &#xA;

    def from_bytes_to_byte(input_bytes):&#xA;    command = f"ffmpeg -f mp4 -i /dev/stdin -vcodec copy -an -f mp4 -movflags frag_keyframe&#x2B;empty_moov -"&#xA;    convert_cmd = subprocess.Popen(&#xA;        shlex.split(command),&#xA;        stdin=subprocess.PIPE,&#xA;        stdout=subprocess.PIPE,&#xA;        shell=False&#xA;    )&#xA;    b = b&#x27;&#x27;&#xA;    convert_cmd.stdin.write(input_bytes)&#xA;    convert_cmd.stdin.close()&#xA;    while True:&#xA;        output = convert_cmd.stdout.read()&#xA;        if len(output) > 0:&#xA;            b &#x2B;= output&#xA;        else:&#xA;            error_msg = convert_cmd.poll()&#xA;            if error_msg is not None:&#xA;                break&#xA;    print("----------FINISHED------------")&#xA;    return b&#xA;&#xA;&#xA;result=requests.get("https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4") #.MP4 File&#xA;byterecieved=from_bytes_to_byte(result.content)&#xA;

    &#xA;

    heroku logs :

    &#xA;

    ffmpeg version N-57204-gc7c138e411-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers&#xA;built with gcc 8 (Debian 8.3.0-6)&#xA;configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg&#xA;libavutil      57.  0.100 / 57.  0.100&#xA;libavcodec     59.  0.100 / 59.  0.100&#xA;libavformat    59.  0.100 / 59.  0.100&#xA;libavdevice    59.  0.100 / 59.  0.100&#xA;libavfilter     8.  0.101 /  8.  0.101&#xA;libswscale      6.  0.100 /  6.  0.100&#xA;libswresample   4.  0.100 /  4.  0.100&#xA;libpostproc    56.  0.100 / 56.  0.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/dev/stdin&#x27;:&#xA;Metadata:&#xA;major_brand     : mp42&#xA;minor_version   : 0&#xA;compatible_brands: mp42mp41isomavc1&#xA;creation_time   : 2015-08-07T09:13:02.000000Z&#xA;Duration: 00:00:30.53, start: 0.000000, bitrate: N/A&#xA;Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 301 kb/s, 30 fps, 30 tbr, 30 tbn (default)&#xA;Metadata:&#xA;creation_time   : 2015-08-07T09:13:02.000000Z&#xA;handler_name    : L-SMASH Video Handler&#xA;vendor_id       : [0][0][0][0]&#xA;encoder         : AVC Coding&#xA;Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 112 kb/s (default)&#xA;Metadata:&#xA;creation_time   : 2015-08-07T09:13:02.000000Z&#xA;handler_name    : L-SMASH Audio Handler&#xA;vendor_id       : [0][0][0][0]&#xA;Output #0, mp4, to &#x27;pipe:&#x27;:&#xA;Metadata:&#xA;major_brand     : mp42&#xA;minor_version   : 0&#xA;compatible_brands: mp42mp41isomavc1&#xA;encoder         : Lavf59.0.100&#xA;Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x270 [SAR 1:1 DAR 16:9], q=2-31, 301 kb/s, 30 fps, 30 tbr, 15360 tbn (default)&#xA;Metadata:&#xA;creation_time   : 2015-08-07T09:13:02.000000Z&#xA;handler_name    : L-SMASH Video Handler&#xA;vendor_id       : [0][0][0][0]&#xA;encoder         : AVC Coding&#xA;Stream mapping:&#xA;**2021-05-14T21:32:09.639203&#x2B;00:00** app[worker.1]: Stream #0:0 -> #0:0 (copy)&#xA;**2021-05-14T22:12:36.527864&#x2B;00:00** heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=desolate-inlet-50581.herokuapp.com request_id=cc985185-6ba7-4530-95f8-f4512f465039 fwd="5.122.192.170" dyno= connect= service= status=503 bytes= protocol=https&#xA;2021-05-14T22:12:37.303089&#x2B;00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=desolate-inlet-50581.herokuapp.com request_id=f26b18a5-30ac-41e2-9b63-8f945b746b12 fwd="5.122.192.170" dyno= connect= service= status=503 bytes= protocol=https&#xA;2021-05-14T22:13:39.737155&#x2B;00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=desolate-inlet-50581.herokuapp.com request_id=12a28261-d746-4067-ab4b-05d3e2e8c379 fwd="5.122.192.170" dyno= connect= service= status=503 bytes= protocol=https&#xA;2021-05-14T22:13:40.372446&#x2B;00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=desolate-inlet-50581.herokuapp.com request_id=c2e2ebc8-9fb2-4d30-8876-2fede3dfd141 fwd="5.122.192.170" dyno= connect= service= status=503 bytes= protocol=https&#xA;

    &#xA;