Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (67)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (5408)

  • Trying to convert a VideoCD MPEG to MP4 using ffmpeg

    27 février 2023, par Niels Bosma

    I'm trying to convert a VideoCD MPEG to MP4 using :

    


    FFMPEG 5.1

    


    ffmpeg.exe -nostdin -y -loglevel info -hide_banner -i "ITEM0010.DAT" -c:v libx264 -crf 18 -qscale:v 3  -c:a aac -ar 96000 -map_metadata -1 "output.mp4"


    


    I'm getting :

    


    [mpeg @ 0000024b81bf4480] start time for stream 1 is not set in estimate_timings_from_pts
[mpeg @ 0000024b81bf4480] stream 1 : no TS found at start of file, duration not set
[mpeg @ 0000024b81bf4480] Could not find codec parameters for stream 1 (Audio: mp2, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, mpeg, from 'C:\Concierge\ITEM0010.DAT':
  Stream #0:1[0x1c0]: Audio: mp2, 0 channels, s16p
  Stream #0:2[0x1e2]: Video: mpeg1video, yuv420p(tv), 704x576 [SAR 178:163 DAR 1958:1467], 1100 kb/s, 25 tbr, 90k tbn
Stream mapping:
  Stream #0:2 -> #0:0 (mpeg1video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
[libx264 @ 0000024b81c86000] -qscale is ignored, -crf is recommended.
[libx264 @ 0000024b81c86000] using SAR=178/163
[libx264 @ 0000024b81c86000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000024b81c86000] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0000024b81c86000] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - 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=18 lookahead_threads=3 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=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[abuffer @ 0000024b84979880] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
    Last message repeated 1 times
[abuffer @ 0000024b84979880] Error setting option time_base to value 1/0.
[graph_1_in_0_1 @ 0000024b85187c00] Error applying options to the filter.
Error reinitializing filters!
Error while filtering: Result too large
Finishing stream 0:1 without any data written to it.
[abuffer @ 0000024b84979880] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
    Last message repeated 1 times
[abuffer @ 0000024b84979880] Error setting option time_base to value 1/0.
[graph_1_in_0_1 @ 0000024b85186b00] Error applying options to the filter.
Error configuring filter graph
[libx264 @ 0000024b81c86000] frame I:1     Avg QP:22.68  size: 40674
[libx264 @ 0000024b81c86000] mb I  I16..4:  3.8% 72.3% 23.9%
[libx264 @ 0000024b81c86000] 8x8 transform intra:72.3%
[libx264 @ 0000024b81c86000] coded y,uvDC,uvAC intra: 88.4% 81.1% 50.3%
[libx264 @ 0000024b81c86000] i16 v,h,dc,p: 43% 13%  0% 43%
[libx264 @ 0000024b81c86000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 16% 20%  5%  5%  6%  5%  7%  6%
[libx264 @ 0000024b81c86000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 20%  8%  5%  9%  8%  8%  6%  4%
[libx264 @ 0000024b81c86000] i8c dc,h,v,p: 42% 23% 28%  7%
[libx264 @ 0000024b


    


    81c86000] kb/s:8134.80
Conversion failed !

    


    The same command using FFMPEG 4.1 works fine.

    


  • FFMPEG/AVCONV Video flipping is taking long time, How can we reduce the process time ?

    10 juillet 2014, par Prasanth P

    I am trying to flip video using FFMPEG/AVCONV on Ubuntu. When it flips 1 minute video, it takes 12 to 40 seconds for processing and conversion.

    ffmpeg is deprecated and avconv is being using instead.

    Video file size : 7mb, Duration : 1 minute

    avconv -i 1_1.mp4 -c:v libx264 -c:a copy -vf "vflip" conv.mp4

    and the result is :

    avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
     built on Jun 10 2014 15:32:44 with gcc 4.6.3
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1_1.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2013-06-06 07:42:07
     Duration: 00:03:45.15, start: 0.000000, bitrate: 266 kb/s
       Stream #0.0(eng): Video: h264 (High), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 216 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc
       Metadata:
         creation_time   : 2013-06-06 07:42:07
       Stream #0.1(eng): Audio: aac, 32000 Hz, mono, s16, 46 kb/s
       Metadata:
         creation_time   : 2013-06-06 07:42:07
    [buffer @ 0x972c240] w:640 h:360 pixfmt:yuv420p
    [libx264 @ 0x9745e20] using SAR=1/1
    [libx264 @ 0x9745e20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x9745e20] profile Main, level 3.0
    [libx264 @ 0x9745e20] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 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.25 aq=1:1.00
    Output #0, mp4, to 'conv.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2013-06-06 07:42:07
       encoder         : Lavf53.21.1
       Stream #0.0(eng): Video: libx264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc
       Metadata:
         creation_time   : 2013-06-06 07:42:07
       Stream #0.1(eng): Audio: libvo_aacenc, 32000 Hz, mono, 46 kb/s
       Metadata:
         creation_time   : 2013-06-06 07:42:07
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (copy)
    Press ctrl-c to stop encoding
    frame= 5627 fps=153 q=-1.0 Lsize=    7880kB time=225.04 bitrate= 286.9kbits/s    
    video:6487kB audio:1271kB global headers:0kB muxing overhead 1.580010%
    [libx264 @ 0x9745e20] frame I:27    Avg QP:15.59  size: 19598
    [libx264 @ 0x9745e20] frame P:1478  Avg QP:20.11  size:  3175
    [libx264 @ 0x9745e20] frame B:4122  Avg QP:29.13  size:   344
    [libx264 @ 0x9745e20] consecutive B-frames:  1.9%  0.5%  2.1% 95.5%
    [libx264 @ 0x9745e20] mb I  I16..4: 20.1%  0.0% 79.9%
    [libx264 @ 0x9745e20] mb P  I16..4:  1.2%  0.0%  1.7%  P16..4: 23.9% 12.3%  5.6%  0.0%  0.0%    skip:55.2%
    [libx264 @ 0x9745e20] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 18.4%  2.3%  0.2%  direct: 0.3%  skip:78.8%  L0:41.7% L1:51.7% BI: 6.6%
    [libx264 @ 0x9745e20] coded y,uvDC,uvAC intra: 64.4% 44.0% 15.7% inter: 4.3% 4.8% 0.2%
    [libx264 @ 0x9745e20] i16 v,h,dc,p: 40% 19% 13% 28%
    [libx264 @ 0x9745e20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 22% 17%  5%  7%  6%  6%  5%  4%
    [libx264 @ 0x9745e20] i8c dc,h,v,p: 65% 13% 19%  3%
    [libx264 @ 0x9745e20] Weighted P-Frames: Y:1.9% UV:1.2%
    [libx264 @ 0x9745e20] ref P L0: 72.8%  7.2% 13.5%  6.4%  0.0%
    [libx264 @ 0x9745e20] ref B L0: 91.2%  8.8%
    [libx264 @ 0x9745e20] kb/s:236.07

    And time taken is 13 seconds.

  • Add SRT subtitle to video with ffmpeg

    3 juillet 2015, par jAckOdE

    I use ffmpeg to encode, and add subtitle to a video by following command

    $ ffmpeg -i hifi.avi -i hifi.srt -acodec libfaac -ar 48000 -ab 128k -ac 2 -vcodec libx264 -vpre ipod640 -s 480x240 -b 256k -scodec copy  hifi.m4v -newsubtitle

    Here is the output

    ffmpeg version 0.8.git, Copyright (c) 2000-2011 the FFmpeg developers
     built on Aug  4 2011 11:11:39 with gcc 4.5.2
     configuration: --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --disable-shared --enable-static --enable-gpl --enable-postproc --enable-pthreads --enable-ffplay --disable-ffserver --enable-memalign-hack --enable-nonfree --enable-libfaac --arch=x86 --enable-swscale --enable-libx264 --enable-avfilter --enable-debug=3
     libavutil    51. 11. 1 / 51. 11. 1
     libavcodec   53.  9. 1 / 53.  9. 1
     libavformat  53.  6. 0 / 53.  6. 0
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 27. 5 /  2. 27. 5
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, avi, from 'hifi.avi':
     Metadata:
       encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
       IAS1            : English
     Duration: 01:49:02.20, start: 0.000000, bitrate: 897 kb/s
       Stream #0.0: Video: mpeg4 (Simple Profile), yuv420p, 544x304 [SAR 1:1 DAR 34:19], 25 tbr, 25 tbn, 25 tbc
       Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 32 kb/s
    [srt @ 0152c100] Estimating duration from bitrate, this may be inaccurate
    Input #1, srt, from 'hifi.srt':
     Duration: N/A, start: 56.080000, bitrate: N/A
       Stream #1.0: Subtitle: srt
    File 'hifi.m4v' already exists. Overwrite ? [y/N] y
    [buffer @ 02548920] w:544 h:304 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [scale @ 02558ee0] w:544 h:304 fmt:yuv420p -> w:480 h:240 fmt:yuv420p flags:0x4
    [libx264 @ 02547f20] Default settings detected, using medium profile
    [libx264 @ 02547f20] using SAR=1/1
    [libx264 @ 02547f20] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
    [libx264 @ 02547f20] profile High, level 3.0
    [libx264 @ 02547f20] 264 - core 115 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - 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=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=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=256 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=10000 vbv_bufsize=10000 nal_hrd=none ip_ratio=1.40 aq=1:1.00
    Output #0, ipod, to 'hifi.m4v':
       Stream #0.0: Video: libx264, yuv420p, 480x240 [SAR 1:1 DAR 2:1], q=2-31, 256 kb/s, 90k tbn, 25 tbc
       Stream #0.1: Audio: libfaac, 48000 Hz, 2 channels, s16, 128 kb/s
       Stream #0.2: Subtitle: srt
       Stream #0.3: Subtitle: [0][0][0][0] / 0x0000, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
     Stream #1.0 -> #0.2
     Stream #1.0 -> #0.3
    Encoder (codec id 0) not found for output stream #0.3

    can anyone tell what wrong with my command ??

    thanks,