Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (67)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (6379)

  • Can't play mp4 video using html5 video tag

    7 août 2020, par John Doe

    I am trying to present an mp4 video (h264) using html5 :

    


    <video width="320" controls="controls">&#xA;            <source src="/home/nabil/FWork/hikvision/ch01_00000100068000101.mp4" type="video/mp4">&#xA;</source></video>&#xA;

    &#xA;

    analyzing video codec with ffmpeg gives the following :

    &#xA;

    ffprobe ch01_00000100068000101.mp4 &#xA;ffprobe version 2.8.17-0ubuntu0.1 Copyright (c) 2007-2020 the FFmpeg developers&#xA;  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g&#x2B;&#x2B; --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv&#xA;  libavutil      54. 31.100 / 54. 31.100&#xA;  libavcodec     56. 60.100 / 56. 60.100&#xA;  libavformat    56. 40.101 / 56. 40.101&#xA;  libavdevice    56.  4.100 / 56.  4.100&#xA;  libavfilter     5. 40.101 /  5. 40.101&#xA;  libavresample   2.  1.  0 /  2.  1.  0&#xA;  libswscale      3.  1.101 /  3.  1.101&#xA;  libswresample   1.  2.101 /  1.  2.101&#xA;  libpostproc    53.  3.100 / 53.  3.100&#xA;Invalid UE golomb code&#xA;    Last message repeated 3 times&#xA;Input #0, mpeg, from &#x27;ch01_00000100068000101.mp4&#x27;:&#xA;  Duration: 00:09:27.33, start: 35024.106667, bitrate: 507 kb/s&#xA;    Stream #0:0[0x1e0]: Video: h264 (Baseline), yuv420p, 1280x720, 10 fps, 10 tbr, 90k tbn, 20 tbc&#xA;

    &#xA;

    a possible relevant detail is that playing the video using ubuntu's default video reader (ffmpeg in the background) doesn't show any video controls

    &#xA;

  • FFMPEG cannot find H264 encoder

    31 juillet 2020, par Serban Stoenescu

    I am running ffmpeg from a program, and we built ffmpeg ourselves (we did not install it with package managers or pre-built stuff).&#xA;This is the command that is built :

    &#xA;

    2020-07-31 12:14:11.942 INFO ffmpeg::FFTranscoder Executing: "../deps/ffmpeg/bin/ffmpeg" -y -r 26.062 -i ""/home/sstoenescu/Work/myproject/sample/myvideo.h264"" -c:v openh264 -vcodec h264 -movflags &#x2B;faststart ""/home/sstoenescu/Work/myproject/sample/myvideo.mp4""&#xA;

    &#xA;

    The file myvideo.h264 is valid, I can play it with ffplay and I can run ffprobe on it without problems.&#xA;However, the command above gives this error :

    &#xA;

    ffmpeg version N-98068-g16bdc2b541 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --arch=x86_64 --cpu=nehalem --disable-ffplay --enable-shared --enable-network --enable-gpl --enable-libx265 --enable-encoder=libx265 --disable-hwaccels --enable-hwaccel=h264_qsv --enable-hwaccel=h264_vaapi&#xA;  libavutil      56. 50.100 / 56. 50.100&#xA;  libavcodec     58. 90.100 / 58. 90.100&#xA;  libavformat    58. 44.100 / 58. 44.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 84.100 /  7. 84.100&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;[h264 @ 0x5597c38defc0] error while decoding MB 86 45, bytestream -30&#xA;[h264 @ 0x5597c38defc0] concealing 2723 DC, 2723 AC, 2723 MV errors in I frame&#xA;Input #0, h264, from &#x27;/home/sstoenescu/Work/edvr/laba/gaoazar.h264&#x27;:&#xA;  Duration: N/A, bitrate: N/A&#xA;    Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 50 tbc&#xA;Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 0, only the last option &#x27;-c:v h264&#x27; will be used.&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_v4l2m2m))&#xA;Press [q] to stop, [?] for help&#xA;[h264 @ 0x5597c38e30c0] error while decoding MB 86 45, bytestream -30&#xA;[h264 @ 0x5597c38e30c0] concealing 2723 DC, 2723 AC, 2723 MV errors in I frame&#xA;[h264_v4l2m2m @ 0x5597c3905500] Could not find a valid device&#xA;[h264_v4l2m2m @ 0x5597c3905500] can&#x27;t configure encoder&#xA;Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;

    &#xA;

    It used to work, I did not change anything in the command, so I'm assuming it's something in the way we build ffmpeg. We are using these flags : --enable-decoder=h264 --enable-encoder=h264_qsv    --enable-encoder=h264_vaapi --enable-decoder=h264 --enable-decoder=h264_qsv&#xA;Here's the full configuration :

    &#xA;

    ./configure \&#xA;    --arch=x86_64 --cpu=nehalem \&#xA;    --disable-ffplay --enable-shared \&#xA;    --enable-network \&#xA;    --enable-gpl --enable-libx265 \&#xA;    --enable-encoder=libx265\&#xA;    --disable-hwaccels --enable-hwaccel=h264_qsv --enable-hwaccel=h264_vaapi \&#xA;     #--enable-encoder=libopenh264 \&#xA;     --enable-encoder=h264_qsv \&#xA;        --enable-encoder=h264_vaapi --enable-encoder=mjpeg --enable-encoder=gif \&#xA;    --enable-decoder=h264 --enable-decoder=h264_qsv \&#xA;        #--enable-decoder=libopenh264 &#xA;    --enable-libx264 \&#xA;        --enable-decoder=png \&#xA;    --enable-protocol=tcp \&#xA;    --enable-demuxer=rtsp --enable-demuxer=mov --enable-demuxer=h264 --enable-demuxer=image2 \&#xA;    --enable-muxer=mp4 --enable-muxer=h264 --enable-muxer=image2 \&#xA;    --prefix="./build"\&#xA;    --disable-doc&#xA;

    &#xA;

    Any ideas what could be wrong ?&#xA;Thanks.

    &#xA;

    Regards,&#xA;Serban

    &#xA;

  • ffmpeg -ss then apply filter then concat producing timestamp errors

    6 août 2020, par Bob Ramsey

    Using ffmpeg, I have split a file into multiple parts using -ss. Then I apply a filter to some of the files, then concat the files back together. When I do that, I get : Non-monotonous DTS in output stream 0:0 ; previous : 341334, current : 340526 ; changing to 341335. This may result in incorrect timestamps in the output file. The output file plays, but there are noticeable skips where the files are joined.

    &#xA;

    Here's how I am splitting the file :

    &#xA;

    ffmpeg -i full_source.mp4 -ss 0 -to 14.264250 -c copy  01-plain.mp4&#xA;ffmpeg -i full_source.mp4 -ss 14.264250 -to 18.435083 -c copy  01-filtered.mp4&#xA;&#xA;ffmpeg -i full_source.mp4 -ss 18.435083 -to 29.988292 -c copy  02-plain.mp4&#xA;ffmpeg -i full_source.mp4 -ss 29.988292 -to 31.865167 -c copy  02-filtered.mp4&#xA;...&#xA;ffmpeg -i full_source.mp4 -ss 0 -to 14.264250 -c copy  10-plain.mp4&#xA;ffmpeg -i full_source.mp4 -ss 234.484203 -to 300.000 -c copy  10-filtered.mp4&#xA;

    &#xA;

    Then I apply a different drawtext filter on each of the 10 filtered files and save them with a new name, like :

    &#xA;

    ffmpeg -hide_banner -loglevel warning -y -i 01-filtered.mp4 -filter_complex "drawtext=fontfile=calibri.ttf:fontsize=24:fontcolor=white:x=300:y=500:text=&#x27;hello world&#x27;" -crf 15 01-filtered-complete.mp4&#xA;

    &#xA;

    Finally, I join all of the plain and complete files back together like this :

    &#xA;

    ffmpeg  -f concat -safe 0 -i mylist.txt -c:a copy -c:v copy  outfile.mp4&#xA;

    &#xA;

    And that's where the timing error comes in. I've tried adding -vsync drop in the concat command, but that didn't really work either. Same version of ffmpeg does the split, the filter, and the concat. I've tried different versions, everything from 20170519 to one from May 2020 with the same result. Always making sure that all three steps are done by the same version of ffmpeg.

    &#xA;

    The only thing I can see is that ffprobe shows a duration of 14.27 for 01-plain.mp4 when it should be 14.264250. All of the other files show a similar rounding difference. The files are 23.98 fps. If I do all of my filters in really long command without splitting the file, I can use the more precise numbers with no problem. It just takes 10 times as long. This is all scripted, it happens a couple of hundred times a day and time is money, so I can't take 10 times as long to do each file.

    &#xA;

    Any ideas ? Thanks in advance !

    &#xA;