Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (93)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

Sur d’autres sites (6320)

  • Scroll one image top to bottom

    17 septembre 2018, par Cyber

    I am trying to scroll an image top to bottom like this video :
    https://youtu.be/8GCrrsiBLzs

    And here’s what I tried

    ffmpeg -loop 1 -t 24 -i "image.jpg" -filter_complex "color=000000:s=640x360[bg]; [bg][0]overlay=shortest=1:y='min(0,-(t)*26)'" -y out6.mp4

    But video didn’t created, ffmpeg close immediately and returns following results :

    ffmpeg version N-91960-g63c69d51c7 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 8.2.1 (GCC) 20180813
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56. 19.101 / 56. 19.101
     libavcodec     58. 30.100 / 58. 30.100
     libavformat    58. 18.101 / 58. 18.101
     libavdevice    58.  4.103 / 58.  4.103
     libavfilter     7. 31.100 /  7. 31.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    Input #0, image2, from 'image.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 134122 kb/s
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x1920 [SAR 96:96 DAR 2:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 (mjpeg) -> overlay:overlay
     overlay -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    [swscaler @ 000001a855f90100] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 000001a856483200] using SAR=1/1
    [libx264 @ 000001a856483200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 000001a856483200] profile High, level 3.0, 4:2:0, 8-bit
    [libx264 @ 000001a856483200] 264 - core 157 r2932 303c484 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'out6.mp4':
     Metadata:
       encoder         : Lavf58.18.101
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
       Metadata:
         encoder         : Lavc58.30.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
  • ffmpeg Too many bits per frame requested

    18 novembre 2016, par GRaecuS

    I am using ffmpeg to convert videos to mp4 format. Everything works fine except with MOV format.

    The command I use for everything is :

    ffmpeg -i input.mov -strict experimental -sameq -s vga -aspect 1.7777 -vcodec libx264 -preset fast -crf 22 -y output.mp4

    but the output I keep getting is :

    ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
    built on Mar 12 2012 11:01:05 with gcc 4.4.5
    configuration: --enable-libx264 --enable-gpl --disable-yasm
     libavutil    51. 32. 0 / 51. 32. 0
     libavcodec   53. 42. 0 / 53. 42. 0
     libavformat  53. 24. 0 / 53. 24. 0
     libavdevice  53.  4. 0 / 53.  4. 0
     libavfilter   2. 53. 0 /  2. 53. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x21767a0] Referenced QT chapter track not found

    Seems stream 0 codec frame rate differs from container frame rate: 30.00 (30/1) -> 30.07 (2225/74)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
     Metadata:
       creation_time   : 2009-04-04 07:12:29
       comment         : EASTMAN KODAK COMPANY  KODAK Z1275 ZOOM DIGITAL CAMERA
       comment-eng     : EASTMAN KODAK COMPANY  KODAK Z1275 ZOOM DIGITAL CAMERA
     Duration: 00:00:17.76, start: 0.000000, bitrate: 8100 kb/s
       Stream #0:0(eng): Video: mpeg4 (Advanced Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 7968 kb/s, 30.07 fps, 30.07 tbr, 8544k tbn, 30 tbc
       Metadata:
         creation_time   : 2009-04-04 07:12:29
         handler_name    :
       Stream #0:1(eng): Audio: pcm_mulaw (ulaw / 0x77616C75), 16000 Hz, 1 channels, s16, 128 kb/s
       Metadata:
         creation_time   : 2009-04-04 07:12:29
         handler_name    :
    [buffer @ 0x2187f00] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [scale @ 0x219c120] w:1280 h:720 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0x4
    [libx264 @ 0x2190d20] using SAR=4/3
    [libx264 @ 0x2190d20] using cpu capabilities: none!
    [libx264 @ 0x2190d20] profile High, level 3.0
    [libx264 @ 0x2190d20] 264 - core 120 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [aac @ 0x21917e0] Too many bits per frame requested
    Output #0, mp4, to 'output.mp4':
     Metadata:
       creation_time   : 2009-04-04 07:12:29
       comment         : EASTMAN KODAK COMPANY  KODAK Z1275 ZOOM DIGITAL CAMERA
       comment-eng     : EASTMAN KODAK COMPANY  KODAK Z1275 ZOOM DIGITAL CAMERA
       Stream #0:0(eng): Video: h264, yuv420p, 640x480 [SAR 4:3 DAR 16:9], q=-1--1, 90k tbn, 30.07 tbc
       Metadata:
         creation_time   : 2009-04-04 07:12:29
         handler_name    :
       Stream #0:1(eng): Audio: aac, 16000 Hz, 1 channels, s16, 128 kb/s
       Metadata:
         creation_time   : 2009-04-04 07:12:29
         handler_name    :
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> libx264)
     Stream #0:1 -> #0:1 (pcm_mulaw -> aac)
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    It seems the problem is with audio’s bit per frame.
    Which might be the right solution ?

  • Seeking with FFMPEG at the end of an RTSP stream

    30 juillet 2019, par kealist

    I am using ffmpeg to play RTSP streams in an application. I have been running into a problem that once I reach the end of an RTSP stream, I am no longer able to see back to anywhere in the stream.

    The program I am writing is using LGPL shared libraries, but I can see the same behavior using ffplay using GPL version.

    ffplay.exe "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov"

    While the video is playing, I can seek forward or backwards using the keyboard shortcuts for ffplay (left / right arrow key). Once the stream reaches the end, it is not possible and the stream is paused or playing, seeking no longer works. I see errors in the shared lib, but in ffplay, I do not see errors unless I use the s key (which may make sense that I cannot seek). In other streams, I have seen an issue where the stream is longer than the reported length, and once the extra video is buffered/downloaded, it is not possible to seek. Any guidance on what is going on here ?

    Using ffplay.exe (also verified with newer build) :

    C:\Users\kealist\Downloads\ffmpeg-20180526-63c4a4b-win64-static\bin>ffplay "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov"
    ffplay version N-91158-g63c4a4b0d6 Copyright (c) 2003-2018 the FFmpeg developers
     built with gcc 7.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 19.104 / 58. 19.104
     libavformat    58. 17.100 / 58. 17.100
     libavdevice    58.  4.100 / 58.  4.100
     libavfilter     7. 24.100 /  7. 24.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
     libpostproc    55.  2.100 / 55.  2.100
    [udp @ 0000023ce71807c0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 0000023ce7174ac0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 0000023ce71a6f40] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 0000023ce7174bc0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [rtsp @ 0000023ce717d900] UDP timeout, retrying with TCP 0B f=0/0
    Input #0, rtsp, from 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov':
     Metadata:
       title           : BigBuckBunny_115k.mov
     Duration: 00:09:56.48, start: 0.000000, bitrate: N/A
       Stream #0:0: Audio: aac (LC), 12000 Hz, stereo, fltp
       Stream #0:1: Video: h264 (Constrained Baseline), yuv420p(progressive), 240x160, 24 fps, 24 tbr, 90k tbn, 48 tbc
    rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov: error while seeking
    rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov: error while seeking
    596.27 A-V:-32.424 fd=1290 aq=    0KB vq=    0KB sq=    0B f=1/1

    With -v trace I can see that there is a Seek message, but no seeking actually occurs whether it is paused or playing.

    video: delay=0.000 A-V=0.173265
    Seek to 37% ( 0:03:38) of total duration ( 0:09:56)       B f=1/1
    Seek to 83% ( 0:08:14) of total duration ( 0:09:56)       B f=1/1
    Seek to 57% ( 0:05:42) of total duration ( 0:09:56)       B f=1/1
    Seek to 78% ( 0:07:41) of total duration ( 0:09:56)       B f=1/1
    Seek to 85% ( 0:08:24) of total duration ( 0:09:56)       B f=1/1
    Seek to 92% ( 0:09:06) of total duration ( 0:09:56)       B f=1/1
       Last message repeated 1 times
    Seek to 92% ( 0:09:08) of total duration ( 0:09:56)       B f=1/1
       Last message repeated 1 times
    597.08 A-V:-34.561 fd= 312 aq=    0KB vq=    0KB sq=    0B f=1/1

    Is there a way to mitigate this without reloading the stream ?