Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (100)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (13308)

  • FFMPEG convert from MP3 to M4A- Getting errors

    4 juin 2021, par JK81

    I'm working on Windows 10 x64, build ffmpeg-20180916-5109c38-win64-static.

    



    I have a folder of MP3 audio files that I want to convert to M4A.

    



    This is the command that I'm running :

    



    FOR /F "tokens=*" %G IN ('dir /b *.mp3') DO ffmpeg -i "%G" -map_metadata 0 -c:a aac -b:a 192000 "%~nG.m4a"

    



    This scans my bin filder and converts all files. This works great for converting video files from MOV to MP4 (using a different code string) but I keep getting errors such as :
[ipod @ 0000025507991b40] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
[libx264 @ 0000025507e45180] using SAR=1/1
[libx264 @ 0000025507e45180] MB rate (129960000) > level limit (16711680)
[libx264 @ 0000025507e45180] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0000025507e45180] profile High 4:4:4 Predictive, level 6.2, 4:4:4, 8-bit
[libx264 @ 0000025507e45180] 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=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 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
[ipod @ 0000025507991b40] Could not find tag for codec h264 in stream #0, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --
[aac @ 0000025507e60100] Qavg: nan
Conversion failed!

    



    What's the best way to convert to M4A ? I'm doing this to reduce disk space.

    


  • Using libav-tools versus libav built from source - video quality much worse

    17 juin 2015, par kislo

    We are trying to create a video from still images, running on Ubuntu 14.04.

    If we have installed libav-tools then the output video is much higher quality than if we have installed libav manually. Unfortunately, we need to run a solution where libav is built from source, so we want to find out how to improve the quality.

    Here is the console output for the libav-tools (higher quality) :

    avconv version 9.18-6:9.18-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
     built on Mar 16 2015 13:19:10 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
    [image2 @ 0x22ae120] max_analyze_duration reached
    Input #0, image2, from 'frame.%04d.jpg':
     Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: mjpeg, yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], 8 fps, 8 tbr, 8 tbn
    [libx264 @ 0x22afac0] using SAR=1/1
    [libx264 @ 0x22afac0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    [libx264 @ 0x22afac0] profile High, level 3.1
    [libx264 @ 0x22afac0] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=6 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=8 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 'a1.mp4':
     Metadata:
       encoder         : Lavf54.20.4
       Stream #0.0: Video: libx264, yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], q=-1--1, 8 tbn, 8 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg -> libx264)
    Press ctrl-c to stop encoding
    frame=  159 fps= 43 q=32766.0 Lsize=    1580kB time=19.62 bitrate= 659.3kbits/s    
    video:607kB audio:0kB global headers:0kB muxing overhead 160.388953%
    [libx264 @ 0x22afac0] frame I:21    Avg QP:14.32  size: 21142
    [libx264 @ 0x22afac0] frame P:132   Avg QP:16.12  size:  8691
    [libx264 @ 0x22afac0] frame B:6     Avg QP:13.61  size:  3874
    [libx264 @ 0x22afac0] consecutive B-frames: 95.0%  0.0%  0.0%  5.0%
    [libx264 @ 0x22afac0] mb I  I16..4: 37.4% 61.4%  1.2%
    [libx264 @ 0x22afac0] mb P  I16..4:  9.1% 19.2%  0.3%  P16..4:  6.2%  2.8%  1.3%  0.0%  0.0%    skip:61.1%
    [libx264 @ 0x22afac0] mb B  I16..4:  1.8%  2.0%  0.0%  B16..8: 31.9%  7.1%  0.7%  direct: 9.2%  skip:47.3%  L0:69.8% L1:29.5% BI: 0.8%
    [libx264 @ 0x22afac0] 8x8 transform intra:65.0% inter:92.8%
    [libx264 @ 0x22afac0] coded y,uvDC,uvAC intra: 36.3% 31.8% 7.1% inter: 3.6% 6.0% 0.7%
    [libx264 @ 0x22afac0] i16 v,h,dc,p: 74% 14%  6%  6%
    [libx264 @ 0x22afac0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 24% 32%  5%  2%  3%  2%  1%  3%
    [libx264 @ 0x22afac0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 51% 23%  9%  2%  3%  6%  3%  1%  2%
    [libx264 @ 0x22afac0] i8c dc,h,v,p: 52% 20% 25%  2%
    [libx264 @ 0x22afac0] Weighted P-Frames: Y:6.8% UV:6.1%
    [libx264 @ 0x22afac0] ref P L0: 58.1%  6.2% 12.1% 22.6%  0.9%
    [libx264 @ 0x22afac0] ref B L0: 83.0% 16.3%  0.7%
    [libx264 @ 0x22afac0] ref B L1: 93.5%  6.5%
    [libx264 @ 0x22afac0] kb/s:649.85

    Here is the console output for libav built manually (lower quality) :

    avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
     built on Jun 17 2015 02:19:28 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
    [image2 @ 0x329f140] max_analyze_duration 5000000 reached
    Input #0, image2, from 'frame.%04d.jpg':
     Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: mjpeg, yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], 8 fps, 8 tbn
    Output #0, mp4, to 'a2.mp4':
     Metadata:
       encoder         : Lavf56.1.0
       Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 8 fps, 8 tbn, 8 tbc
       Metadata:
         encoder         : Lavc56.1.0 mpeg4
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
    Press ctrl-c to stop encoding
    frame=  159 fps=  0 q=31.0 Lsize=     902kB time=19.75 bitrate= 374.2kbits/s    
    video:900kB audio:0kB other streams:0kB global headers:0kB muxing overhead: 0.239928%

    In case it helps : the images are named frame.0000.jpg, frame.0001.jpg, etc., so our command is :
    avconv -y -f image2 -r 8 -i frame.%04d.jpg -vf "setpts=2*PTS" videofile.mp4 for both runs shown above. Any help would be hugely appreciated !

  • ffmpeg how to convert stereo to mono using audio pan filter [migrated]

    5 juin 2015, par John T

    From the documentation, it looks like this should work :

    ffmpeg -i input.mp4 -af "pan=1c|c0=.5*c0+.5*c1" output.mp4

    The output is a video with no sound. When I do ffprobe, it says theres a audio mono track, but its only 2kbps.

    However, when I do it this way though, it seems to work and produce a video with a mono track :

    ffmpeg -i input.mp4 -ac 1 output.mp4

    Does anyone know the reason why the first way isn’t working for me ?

    Thanks !

    Adding Console output

    ffmpeg output :

    ffmpeg -loglevel verbose -i video_tong_hua.mp4 -af "pan=1c|c0=.5*c0+.5*c1" output.mp4
    ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
     built on Feb 25 2015 23:01:46 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 92.100 / 52. 92.100
     libavcodec     55. 69.100 / 55. 69.100
     libavformat    55. 48.100 / 55. 48.100
     libavdevice    55. 13.102 / 55. 13.102
     libavfilter     4. 11.100 /  4. 11.100
     libavresample   1.  3.  0 /  1.  3.  0
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 19.100 /  0. 19.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, matroska,webm, from 'video_tong_hua.mp4':
     Metadata:
       encoder         : google
     Duration: 00:06:18.38, start: 0.000000, bitrate: 283 kb/s
       Stream #0:0: Video: vp8, yuv420p, 322x240, SAR 1:1 DAR 161:120, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
       Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)
    [graph 0 input from stream 0:0 @ 0x7fc8235003a0] w:322 h:240 pixfmt:yuv420p tb:1/1000 fr:2997/100 sar:1/1 sws_param:flags=2
    [graph 1 input from stream 0:1 @ 0x7fc82340d320] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
    [audio format for output stream 0:1 @ 0x7fc82340d880] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_pan_0' and the filter 'audio format for output stream 0:1'
    [Parsed_pan_0 @ 0x7fc82340da40] o0 = 0.5 i0 + 0.5 i1
    [auto-inserted resampler 0 @ 0x7fc82340ce40] ch:1 chl:1 channels fmt:fltp r:44100Hz -> ch:1 chl:mono fmt:s16 r:44100Hz
    [libx264 @ 0x7fc823826000] using SAR=1/1
    [libx264 @ 0x7fc823826000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x7fc823826000] profile High, level 1.3
    [libx264 @ 0x7fc823826000] 264 - core 142 r2455 021c0dc - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=12 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 'output.mp4':
     Metadata:
       encoder         : Lavf55.48.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 322x240 [SAR 1:1 DAR 161:120], q=-1--1, 29.97 fps, 11988 tbn, 29.97 tbc (default)
       Metadata:
         encoder         : Lavc55.69.100 libx264
       Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, mono, s16, 128 kb/s (default)
       Metadata:
         encoder         : Lavc55.69.100 libfaac
    Stream mapping:
     Stream #0:0 -> #0:0 (vp8 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (vorbis (native) -> aac (libfaac))
    Press [q] to stop, [?] for help
    No more output streams to write to, finishing.e=00:06:06.87 bitrate= 132.5kbits/s    
    frame=11340 fps=992 q=-1.0 Lsize=    6514kB time=00:06:18.31 bitrate= 141.1kbits/s    
    video:5995kB audio:95kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 6.954813%
    Input file #0 (video_tong_hua.mp4):
     Input stream #0:0 (video): 11970 packets read (8625600 bytes); 11340 frames decoded;
     Input stream #0:1 (audio): 23356 packets read (4543310 bytes); 23355 frames decoded (16675392 samples);
     Total: 35326 packets (13168910 bytes) demuxed
    Output file #0 (output.mp4):
     Output stream #0:0 (video): 11340 frames encoded; 11340 packets muxed (6139214 bytes);
     Output stream #0:1 (audio): 16285 frames encoded (16675392 samples); 16286 packets muxed (97733 bytes);
     Total: 27626 packets (6236947 bytes) muxed
    [libx264 @ 0x7fc823826000] frame I:70    Avg QP:17.29  size:  7924
    [libx264 @ 0x7fc823826000] frame P:4501  Avg QP:21.54  size:  1006
    [libx264 @ 0x7fc823826000] frame B:6769  Avg QP:21.74  size:   156
    [libx264 @ 0x7fc823826000] consecutive B-frames: 16.7%  8.8%  7.4% 67.1%
    [libx264 @ 0x7fc823826000] mb I  I16..4: 37.6% 29.0% 33.4%
    [libx264 @ 0x7fc823826000] mb P  I16..4:  1.9%  2.5%  0.7%  P16..4: 23.3%  8.0%  4.1%  0.0%  0.0%    skip:59.4%
    [libx264 @ 0x7fc823826000] mb B  I16..4:  0.1%  0.1%  0.0%  B16..8: 17.1%  1.2%  0.2%  direct: 0.8%  skip:80.6%  L0:42.2% L1:52.9% BI: 4.8%
    [libx264 @ 0x7fc823826000] 8x8 transform intra:44.2% inter:55.4%
    [libx264 @ 0x7fc823826000] coded y,uvDC,uvAC intra: 33.9% 47.6% 18.3% inter: 5.4% 4.5% 1.1%
    [libx264 @ 0x7fc823826000] i16 v,h,dc,p: 57% 24% 16%  3%
    [libx264 @ 0x7fc823826000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 18% 43%  3%  3%  4%  3%  4%  4%
    [libx264 @ 0x7fc823826000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 30% 14%  4%  6%  6%  6%  5%  5%
    [libx264 @ 0x7fc823826000] i8c dc,h,v,p: 51% 30% 17%  3%
    [libx264 @ 0x7fc823826000] Weighted P-Frames: Y:1.6% UV:0.5%
    [libx264 @ 0x7fc823826000] ref P L0: 66.8% 17.2% 11.7%  4.3%  0.1%
    [libx264 @ 0x7fc823826000] ref B L0: 91.0%  7.4%  1.7%
    [libx264 @ 0x7fc823826000] ref B L1: 96.0%  4.0%
    [libx264 @ 0x7fc823826000] kb/s:129.79

    ffprobe output :

    ffprobe output.mp4
    ffprobe version 2.3.3 Copyright (c) 2007-2014 the FFmpeg developers
     built on Feb 25 2015 23:01:46 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 92.100 / 52. 92.100
     libavcodec     55. 69.100 / 55. 69.100
     libavformat    55. 48.100 / 55. 48.100
     libavdevice    55. 13.102 / 55. 13.102
     libavfilter     4. 11.100 /  4. 11.100
     libavresample   1.  3.  0 /  1.  3.  0
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 19.100 /  0. 19.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.48.100
     Duration: 00:06:18.38, start: 0.010227, bitrate: 141 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 322x240 [SAR 1:1 DAR 161:120], 129 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 2 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    digitaltsai:videos jtsai$