Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (39)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les images

    15 mai 2013
  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (5225)

  • Create stopmotion video with ffmpeg - error while rendering

    30 mai 2012, par Niklas

    I'm currently creating a stopmotion video with the help of ffmpeg and some scripts I've made. Although in the last clip I attempted to render I had a couple of frames which I've edited. The method I'm using has worked before so I'm certain that it has to do with GIMP changing something with the files. I work with .png-images. This is the command and the output I get :

    ffmpeg -sameq -f image2 -r 7 -i "$src_dir/frame-%06d.png" -r 25 "$dest_dir/$file_name.avi"

    output :

    ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
     built on Mar 22 2012 05:09:06 with gcc 4.6.3
    This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
    Input #0, image2, from '/mnt/storage/selected_frames/005-Middag-Animation/frame-%06d.png':
     Duration: 00:00:02.85, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: png, bgra, 1280x720, 7 fps, 7 tbr, 7 tbn, 7 tbc
    File '/mnt/storage/Videoklipp//005-Middag-Animation.avi' already exists. Overwrite ? [y/N] y
    Incompatible pixel format 'bgra' for codec 'mpeg4', auto-selecting format 'yuv420p'
    [buffer @ 0x1b88860] w:1280 h:720 pixfmt:bgra
    [avsink @ 0x1b8a480] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x1b8ab80] w:1280 h:720 fmt:bgra -> w:1280 h:720 fmt:yuv420p flags:0x4
    Output #0, avi, to '/mnt/storage/Videoklipp//005-Middag-Animation.avi':
     Metadata:
       ISFT            : Lavf53.21.0
       Stream #0.0: Video: mpeg4, yuv420p, 1280x720, q=2-31, 2 kb/s, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    [buffer @ 0x1b88860] Changing frame properties on the fly is not supported.
       Last message repeated 6 times
    frame=   13 fps=  0 q=0.0 Lsize=     524kB time=2.20 bitrate=1951.2kbits/s    
    video:517kB audio:0kB global headers:0kB muxing overhead 1.323318%

    "[buffer @ 0x1b88860] Changing frame properties on the fly is not supported"

    What can I do to fix this ? Any help is appreciated :)

  • Why does ffmpeg report different durations ?

    18 mai 2012, par kenitech

    Source videos : http://www.artworknotavailable.com/tmp/ffmpegtest

    Quicktime Pro 7.7.1 Inspector (Win 7) reports the following for the file 2398.mov

    4.19MB
    H.264
    Movie FPS : 23.98
    Data Rate : 2.35 mbits/Sec
    Duration 14:97

    ffmpeg reports the following (see full ffmpeg version info at bottom of post)

    ffmpeg -i 2398.mov

    Seems stream 1 codec frame rate differs from container frame rate : 47952.00 (47952/1) -> >23.98 (2997/125)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2398.mov' :
    Metadata :
    major_brand : qt

    minor_version : 537199360
    compatible_brands : qt
    Duration : 00:00:15.97, start : 0.-963005, bitrate : 2210 kb/s
    Stream #0.0(eng) : Audio : aac, 48000 Hz, stereo, s16, 152 kb/s
    Stream #0.1(eng) : Video : h264, yuv420p, 848x480, 2060 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47952 tbc

    One second longer than what Quicktime reports.

    As an experiment I exported this file from Quicktime Pro using the following settings :

    Frame Rate : Current
    Key Frames : Every 24 frames
    Frame Reordering On
    Quality : High
    Encoding Best
    Data Rate : Automatic
    Optimized for Download
    Output file : qtime-export-2398.mov

    Quicktime Inspector reports :

    5.62 MB
    H.264
    Movie FPS : 23.98
    Data Rate : 3.15 mbits/Sec
    Duration 14:97

    ffmpeg now reports :

    ffmpeg -i qtime-export-2398.mov

    Seems stream 1 codec frame rate differs from container frame rate : 1200.00 (1200/1) -> 23.98 (24000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'qtime-export-2398.mov' :
    Metadata :
    major_brand : qt
    minor_version : 537199360
    compatible_brands : qt
    Duration : 00:00:14.96, start : 0.000000, bitrate : 3153 kb/s
    Stream #0.0(eng) : Audio : pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Stream #0.1(eng) : Video : h264, yuv420p, 678x384, 1738 kb/s, 23.98 fps, 23.98 tbr, 600 tbn, 1200 tbc

    ffmpeg's report on duration went from 15.97 to 14.96 (I can live with .1)

    Is this duration calculated from the bitrate ?

    I need to accurately report the duration of uploaded videos as well as convert them to FLV. Can somebody tell me what is going on here and how I might get around this ?

    ffmpeg info below. I've tried this on 2 completely different installs/versions of ffmpeg. Same result.

    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
    built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
    configuration : —prefix=/usr —libdir=/usr/lib64 —shlibdir=/usr/lib64 —mandir=/usr/share/man —incdir=/usr/include —disable-avisynth —extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector —param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' —enable-avfilter —enable-avfilter-lavf —enable-libdirac —enable-libfaac —enable-libfaad —enable-libfaadbin —enable-libgsm —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-gpl —enable-nonfree —enable-postproc —enable-pthreads —enable-shared —enable-swscale —enable-vdpau —enable-version3 —enable-x11grab
    libavutil 50.15. 1 / 50.15. 1
    libavcodec 52.72. 2 / 52.72. 2
    libavformat 52.64. 2 / 52.64. 2
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.19. 0 / 1.19. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    FFmpeg 0.6.5
    libavutil 50.15. 1 / 50.15. 1
    libavcodec 52.72. 2 / 52.72. 2
    libavformat 52.64. 2 / 52.64. 2
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.19. 0 / 1.19. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0

  • Corrupt playback of .flv when using JW Player

    21 mai 2012, par Adam Ingmansson

    This question is also asked on Audio-Video Production

    I have some files that when played in jwplayer the playback is corrupt.
    The files are encoded to h.264 using FFMpeg and there is other files encoded in the same way that works.

    At the moment we only use the flash version of the player.

    The corrupt playback looks like this :

    http://adam.ingmansson.com/public/jwplayer-corrupt-video.png

    This problem started showing up after we did an upgrade to FFMpeg, so I haven't ruled out that it could be an encoding error.

    the command used to run FFMpeg is :

    ffmpeg
       -i /home/ftp/1c8f08b7d0d9e7fa4b24066156ad50bc981497a0.mov
       -vcodec libx264
       -preset ultrafast
       -profile baseline
       -acodec libfaac
       -ab 96k
       -crf 19
       -vf movie="/home/adam/logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]"
       -y /home/ftp/1c8f08b7d0d9e7fa4b24066156ad50bc981497a0.flv

    I am in no way an expert in FFMpeg commandline, so feel free to point out any mistakes made.

    FFMpeg info :

    ffmpeg version git-2012-05-02-2330eb1 Copyright (c) 2000-2012 the FFmpeg developers
     built on May  3 2012 08:51:25 with gcc 4.4.3
     configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
     libavutil      51. 49.100 / 51. 49.100
     libavcodec     54. 17.101 / 54. 17.101
     libavformat    54.  3.100 / 54.  3.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 72.103 /  2. 72.103
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 11.100 /  0. 11.100
     libpostproc    52.  0.100 / 52.  0.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x24300e0] max_analyze_duration 5000000 reached at 5187000
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/ftp/javarecorder/1c8f08b7d0d9e7fa4b24066156ad50bc981497a0.mov':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2012-05-16 08:19:41
     Duration: 00:13:33.00, start: 0.000000, bitrate: 2164 kb/s
       Stream #0:0(eng): Video: qtrle (rle  / 0x20656C72), rgb24, 1366x768, 1457 kb/s, 8.43 fps, 1k tbr, 1k tbn, 1k tbc
       Metadata:
         creation_time   : 2012-05-16 08:19:41
         handler_name    : Apple Alias Data Handler
       Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 44100 Hz, 1 channels, s16, 705 kb/s
       Metadata:
         creation_time   : 2012-05-16 08:19:41
         handler_name    : Apple Alias Data Handler
    Please use -profile:a or -profile:v, -profile is ambiguous
    [buffer @ 0x2446ac0] w:1366 h:768 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:flags=2
    [movie @ 0x242f840] seek_point:0 format_name:(null) file_name:/home/adam/logo.png stream_index:0
    [overlay @ 0x2442840] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'Parsed_overlay_1'
    [overlay @ 0x2442840] auto-inserting filter 'auto-inserted scale 1' between the filter 'Parsed_movie_0' and the filter 'Parsed_overlay_1'
    [scale @ 0x24444a0] w:1366 h:768 fmt:rgb24 sar:0/1 -> w:1366 h:768 fmt:yuv420p sar:0/1 flags:0x4
    [scale @ 0x2445100] w:80 h:80 fmt:rgba sar:1/1 -> w:80 h:80 fmt:yuva420p sar:1/1 flags:0x4
    [overlay @ 0x2442840] main w:1366 h:768 fmt:yuv420p overlay x:1276 y:678 w:80 h:80 fmt:yuva420p
    [overlay @ 0x2442840] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000 exact:1
    [libx264 @ 0x242d8c0] MB rate (4128000) > level limit (2073600)
    [libx264 @ 0x242d8c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x242d8c0] profile Constrained Baseline, level 5.2
    [libx264 @ 0x242d8c0] 264 - core 124 r2197 69a0443 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=36 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=19.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    [libfaac @ 0x2443540] channel_layout not specified
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Output #0, flv, to '/home/ftp/javarecorder/1c8f08b7d0d9e7fa4b24066156ad50bc981497a0.flv':
     Metadata:
       major_brand     : qt
       minor_version   : 537199360
       compatible_brands: qt
       creation_time   : 2012-05-16 08:19:41
       encoder         : Lavf54.3.100
       Stream #0:0(eng): Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1366x768, q=-1--1, 1k tbn, 1k tbc
       Metadata:
         creation_time   : 2012-05-16 08:19:41
         handler_name    : Apple Alias Data Handler
       Stream #0:1(eng): Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, mono, s16, 96 kb/s
       Metadata:
         creation_time   : 2012-05-16 08:19:41
         handler_name    : Apple Alias Data Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (qtrle -> libx264)
     Stream #0:1 -> #0:1 (pcm_s16be -> libfaac)
    Press [q] to stop, [?] for help
    Input stream #0:1 frame changed from rate:44100 fmt:s16 ch:1 chl:0x0 to rate:44100 fmt:s16 ch:1 chl:0x4
    frame= 6856 fps=105 q=-1.0 Lsize=   36030kB time=00:13:32.83 bitrate= 363.1kbits/s
    video:27775kB audio:7540kB global headers:0kB muxing overhead 2.026555%
    [libx264 @ 0x242d8c0] frame I:28    Avg QP: 4.61  size:238170
    [libx264 @ 0x242d8c0] frame P:6828  Avg QP: 7.31  size:  3189
    [libx264 @ 0x242d8c0] mb I  I16..4: 100.0%  0.0%  0.0%
    [libx264 @ 0x242d8c0] mb P  I16..4:  0.9%  0.0%  0.0%  P16..4:  2.2%  0.0%  0.0%  0.0%  0.0%    skip:96.9%
    [libx264 @ 0x242d8c0] coded y,uvDC,uvAC intra: 32.3% 30.0% 29.0% inter: 1.0% 1.1% 1.0%
    [libx264 @ 0x242d8c0] i16 v,h,dc,p: 66% 32%  1%  1%
    [libx264 @ 0x242d8c0] i8c dc,h,v,p: 62% 23% 14%  1%
    [libx264 @ 0x242d8c0] kb/s:279.82

    EDIT :

    A coworker was able to view a "corrupted" file. The only difference between my computer and his is that he have a Mac. Same flash version, same JW Player version. Something is not right here.