Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (29)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (4067)

  • Revision 49b6302044 : SSE2 4x4 invserse ADST/DCT transform Enable SSE2 4x4 inverse ADST/DCT transform

    10 juillet 2013, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_rtcd_defs.sh


     Modify /vp9/common/x86/vp9_idct_intrin_sse2.c



    SSE2 4x4 invserse ADST/DCT transform

    Enable SSE2 4x4 inverse ADST/DCT transform. The runtime goes from
    292 cycles down to 89 cycles. Running bus_cif at 2000 kbps, the
    overall runtime of speed 0 goes from 301s to 295s (2% speed-up).

    Change-Id : I24098136e7fee7ab2fbf1c11755bdf2ca37f3628

  • What is wrong with the following ffmpeg command

    14 août 2013, par Brad

    What is wrong with the following ffmpeg command. Originally this had -sameq instead of the -qscale:a 0

    Command :

    ffmpeg -loglevel debug -threads 4 -i sample-in.mpg -ss 00:00:01 -t 00:00:05 -f image2 -y sample-frames/frame%d.png -acodec copy -qscale:a 0  -y sample.mp3


    Output

    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jul  9 2013 04:36:42 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-ffplay
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100

    Splitting the commandline.
    Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument 'debug'.
    Reading option '-threads' ... matched as AVOption 'threads' with argument '4'.
    Reading option '-i' ... matched as input file with argument 'sample-in.mpg'.
    Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '00:00:01'.
    Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '00:00:05'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option 'sample-frames/frame%d.png' ... matched as output file.
    Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'copy'.
    Reading option '-qscale:a' ... matched as option 'qscale' (use fixed quality scale (VBR)) with argument '0'.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option 'sample.mp3' ... matched as output file.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option loglevel (set libav* logging level) with argument debug.
    Applying option y (overwrite output files) with argument 1.
       Last message repeated 1 times
    Successfully parsed a group of options.
    Parsing a group of options: input file sample-in.mpg.
    Successfully parsed a group of options.
    Opening an input file: sample-in.mpg.
    [mpeg @ 0x7ffb4a80f200] Format mpeg probed with size=16384 and score=52
    [mpeg @ 0x7ffb4a80f200] File position before avformat_find_stream_info() is 0
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2500
    [mpeg @ 0x7ffb4a80f200] Probe with size=2002, packets=1 detected mpegvideo with score=25
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2499
    [mpeg @ 0x7ffb4a80f200] Probe with size=4043, packets=2 detected mpegvideo with score=25
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2498
    [mpeg @ 0x7ffb4a80f200] Probe with size=6084, packets=3 detected mpegvideo with score=25
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2497
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2496
    [mpeg @ 0x7ffb4a80f200] Probe with size=10166, packets=5 detected mpegvideo with score=25
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2495
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2494
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2493
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2492
    [mpeg @ 0x7ffb4a80f200] Probe with size=18330, packets=9 detected mpegvideo with score=25
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2491
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2490
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2489
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2488
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2487
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2486
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2485
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2484
    [mpeg @ 0x7ffb4a80f200] Probe with size=34658, packets=17 detected mpegvideo with score=25
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2483
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2482
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2481
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2480
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2479
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2478
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2477
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2476
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2475
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2474
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2473
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2472
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2471
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2470
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2469
    [mpeg @ 0x7ffb4a80f200] probing stream 0 pp:2468
    [mpeg @ 0x7ffb4a80f200] Probe with size=67266, packets=33 detected mpegvideo with score=51
    [mpeg @ 0x7ffb4a80f200] probed stream 0
    [mpeg @ 0x7ffb4a80f200] first_dts 86997 not matching first dts 93003 in the queue
       Last message repeated 3 times
    [mpeg @ 0x7ffb4a80f200] first_dts 86997 not matching first dts 108018 in the queue
       Last message repeated 3 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 111600 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 135360 in the queue
       Last message repeated 8 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 156960 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 180720 in the queue
       Last message repeated 8 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 202320 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 226080 in the queue
       Last message repeated 8 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 247680 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 271440 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 295200 in the queue
       Last message repeated 8 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 316800 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 340560 in the queue
       Last message repeated 8 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 362160 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 385920 in the queue
       Last message repeated 8 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 407520 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 431280 in the queue
       Last message repeated 8 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 452880 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 476640 in the queue
       Last message repeated 8 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 498240 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] first_dts 90000 not matching first dts 522000 in the queue
       Last message repeated 9 times
    [mpeg @ 0x7ffb4a80f200] max_analyze_duration 5000000 reached at 5005000 microseconds
    [mpeg @ 0x7ffb4a80f200] File position after avformat_find_stream_info() is 0
    Input #0, mpeg, from 'sample-in.mpg':
     Duration: 00:00:05.97, start: 1.000000, bitrate: 6827 kb/s
       Stream #0:0[0x1e0], 152, 1/90000: Video: mpeg1video, yuv420p, 704x480 [SAR 200:219 DAR 880:657], 1001/30000, 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
       Stream #0:1[0x1c0], 211, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 64 kb/s
    Successfully opened the file.
    Parsing a group of options: output file sample-frames/frame%d.png.
    Applying option ss (set the start time offset) with argument 00:00:01.
    Applying option t (record or transcode "duration" seconds of audio/video) with argument 00:00:05.
    Applying option f (force format) with argument image2.
    Successfully parsed a group of options.
    Opening an output file: sample-frames/frame%d.png.
    Successfully opened the file.
    Parsing a group of options: output file sample.mp3.
    Applying option acodec (force audio codec ('copy' to copy stream)) with argument copy.
    Applying option qscale:a (use fixed quality scale (VBR)) with argument 0.
    Successfully parsed a group of options.
    Opening an output file: sample.mp3.
    Successfully opened the file.
    [buffer @ 0x7ffb4a411e40] Setting entry with key 'video_size' to value '704x480'
    [buffer @ 0x7ffb4a411e40] Setting entry with key 'pix_fmt' to value '0'
    [buffer @ 0x7ffb4a411e40] Setting entry with key 'time_base' to value '1/90000'
    [buffer @ 0x7ffb4a411e40] Setting entry with key 'pixel_aspect' to value '200/219'
    [buffer @ 0x7ffb4a411e40] Setting entry with key 'sws_param' to value 'flags=2'
    [buffer @ 0x7ffb4a411e40] Setting entry with key 'frame_rate' to value '30000/1001'
    [graph 0 input from stream 0:0 @ 0x7ffb4a411de0] w:704 h:480 pixfmt:yuv420p tb:1/90000 fr:30000/1001 sar:200/219 sws_param:flags=2
    [scale @ 0x7ffb4a414800] Setting 'w' to value '0'
    [scale @ 0x7ffb4a414800] Setting 'h' to value '0'
    [scale @ 0x7ffb4a414800] Setting 'flags' to value '0x4'
    [auto-inserted scaler 0 @ 0x7ffb4a414740] w:0 h:0 flags:'0x4' interl:0
    [format @ 0x7ffb4a42aa20] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
    [auto-inserted scaler 0 @ 0x7ffb4a414740] picking rgb24 out of 7 ref:yuv420p alpha:0
    [auto-inserted scaler 0 @ 0x7ffb4a414740] w:704 h:480 fmt:yuv420p sar:200/219 -> w:704 h:480 fmt:rgb24 sar:200/219 flags:0x4
    [png @ 0x7ffb4a831000] detected 4 logical cores
    [mp3 @ 0x7ffb4a831600] Invalid audio stream. Exactly one MP3 audio stream is required.
    Output #0, image2, to 'sample-frames/frame%d.png':
     Metadata:
       encoder         : Lavf54.63.104
       Stream #0:0, 0, 1/90000: Video: png, rgb24, 704x480 [SAR 200:219 DAR 880:657], 1001/30000, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
    Output #1, mp3, to 'sample.mp3':
     Metadata:
       encoder         : Lavf54.63.104
       Stream #1:0, 0, 1/90000: Audio: mp2, 48000 Hz, stereo, 64 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg1video -> png)
     Stream #0:1 -> #1:0 (copy)
    Could not write header for output file #1 (incorrect codec parameters ?): Invalid argument
    Statistics: 4542608 bytes read, 2 seeks

    I found the code above from : http://kwlug.org/node/854
    I did a few edits removing the -sameq and replacing it with -qscale:a 0 which probably is wrong.

  • ffmpeg conversion skips audio

    10 mars 2012, par user504879

    While converting a video to mp4 format using ffmpeg the audio gets skipped because of which the audio goes out of sync with the Video.

    One can have a look at the following Video :
    https://vialogues.com/vialogues/play/486

    I am using the following options for conversion

    /usr/local/bin/ffmpeg -y -i $inputfile -acodec libfaac -ar 44100 -ab 96k -vcodec libx264 -level 41 -bufsize 20000k -maxrate 25000k -g 250 -r 20 -s 480x270 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +dct8x8+bpyramid -me_method umh -subq 7 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -bf 16 -b_strategy 1 -bidir_refine 1 -refs 6 -crf 25 -deblockalpha 0 -vpre medium -deblockbeta 0 $outputfile

    Also the ffmpeg version is

    ffmpeg
    FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
     built on Feb 19 2011 19:03:56 with gcc 4.4.5
     configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --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
     libswscale     0.11. 0 /  0.11. 0
     libpostproc   51. 2. 0 / 51. 2. 0
    Hyper fast Audio and Video encoder

    Any ideas as to why this would be happening ?