Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (97)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

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

  • FFMpeg Concat Error - What needs to be changed ?

    19 avril 2018, par Andrew Baldinger

    I have a tv episode video (let’s say episode.mp4). I also have a short, 20 second closing credit video that I want to append to various episodes (let’s say closing.mp4) The episode and closing are always Mp4, h264. The frame sizes are also the same. The audio codecs do vary, though. I would like to concat using concat demuxer to avoid having to re-encode. I tried doing this, but it gives me an error. I would like to make any necessary encoding changes to the short closing clip (so I would create multiple closing files, each matching the main episode file I want to add it to). What do I need to additionally make sure matches with the two videos to be able to use concat demuxer ? How would I edit the closing clip to match the episode ?

    Here is a probe of the ending clip :

       [STREAM]
    index=0
    codec_name=h264
    codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    profile=High
    codec_type=video
    codec_time_base=1001/48000
    codec_tag_string=avc1
    codec_tag=0x31637661
    width=1280
    height=720
    coded_width=1280
    coded_height=720
    has_b_frames=2
    sample_aspect_ratio=1:1
    display_aspect_ratio=16:9
    pix_fmt=yuv420p
    level=31
    color_range=unknown
    color_space=unknown
    color_transfer=unknown
    color_primaries=unknown
    chroma_location=left
    field_order=unknown
    timecode=N/A
    refs=1
    is_avc=true
    nal_length_size=4
    id=N/A
    r_frame_rate=24000/1001
    avg_frame_rate=24000/1001
    time_base=1/24000
    start_pts=0
    start_time=0.000000
    duration_ts=672672
    duration=28.028000
    bit_rate=442973
    max_bit_rate=N/A
    bits_per_raw_sample=8
    nb_frames=672
    nb_read_frames=N/A
    nb_read_packets=N/A
    DISPOSITION:default=1
    DISPOSITION:dub=0
    DISPOSITION:original=0
    DISPOSITION:comment=0
    DISPOSITION:lyrics=0
    DISPOSITION:karaoke=0
    DISPOSITION:forced=0
    DISPOSITION:hearing_impaired=0
    DISPOSITION:visual_impaired=0
    DISPOSITION:clean_effects=0
    DISPOSITION:attached_pic=0
    DISPOSITION:timed_thumbnails=0
    TAG:language=eng
    TAG:handler_name=VideoHandler
    [/STREAM]
    [STREAM]
    index=1
    codec_name=aac
    codec_long_name=AAC (Advanced Audio Coding)
    profile=LC
    codec_type=audio
    codec_time_base=1/48000
    codec_tag_string=mp4a
    codec_tag=0x6134706d
    sample_fmt=fltp
    sample_rate=48000
    channels=2
    channel_layout=stereo
    bits_per_sample=0
    id=N/A
    r_frame_rate=0/0
    avg_frame_rate=0/0
    time_base=1/48000
    start_pts=0
    start_time=0.000000
    duration_ts=1344000
    duration=28.000000
    bit_rate=128651
    max_bit_rate=128651
    bits_per_raw_sample=N/A
    nb_frames=1314
    nb_read_frames=N/A
    nb_read_packets=N/A

    Here is a probe of a sample episode :

    [STREAM]
    index=0
    codec_name=h264
    codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    profile=High
    codec_type=video
    codec_time_base=208879/10016000
    codec_tag_string=avc1
    codec_tag=0x31637661
    width=1280
    height=718
    coded_width=1280
    coded_height=718
    has_b_frames=2
    sample_aspect_ratio=1:1
    display_aspect_ratio=640:359
    pix_fmt=yuv420p
    level=31
    color_range=unknown
    color_space=unknown
    color_transfer=unknown
    color_primaries=unknown
    chroma_location=left
    field_order=unknown
    timecode=N/A
    refs=1
    is_avc=true
    nal_length_size=4
    id=N/A
    r_frame_rate=24000/1001
    avg_frame_rate=5008000/208879
    time_base=1/16000
    start_pts=0
    start_time=0.000000
    duration_ts=40104768
    duration=2506.548000
    bit_rate=1092383
    max_bit_rate=N/A
    bits_per_raw_sample=8
    nb_frames=60096
    nb_read_frames=N/A
    nb_read_packets=N/A
    DISPOSITION:default=1
    DISPOSITION:dub=0
    DISPOSITION:original=0
    DISPOSITION:comment=0
    DISPOSITION:lyrics=0
    DISPOSITION:karaoke=0
    DISPOSITION:forced=0
    DISPOSITION:hearing_impaired=0
    DISPOSITION:visual_impaired=0
    DISPOSITION:clean_effects=0
    DISPOSITION:attached_pic=0
    DISPOSITION:timed_thumbnails=0
    TAG:language=und
    TAG:handler_name=VideoHandler
    [/STREAM]
    [STREAM]
    index=1
    codec_name=ac3
    codec_long_name=ATSC A/52A (AC-3)
    profile=unknown
    codec_type=audio
    codec_time_base=1/48000
    codec_tag_string=ac-3
    codec_tag=0x332d6361
    sample_fmt=fltp
    sample_rate=48000
    channels=2
    channel_layout=stereo
    bits_per_sample=0
    dmix_mode=-1
    ltrt_cmixlev=-1.000000
    ltrt_surmixlev=-1.000000
    loro_cmixlev=-1.000000
    loro_surmixlev=-1.000000
    id=N/A
    r_frame_rate=0/0
    avg_frame_rate=0/0
    time_base=1/48000
    start_pts=0
    start_time=0.000000
    duration_ts=120313200
    duration=2506.525000
    bit_rate=192000
    max_bit_rate=N/A
    bits_per_raw_sample=N/A
    nb_frames=78329
    nb_read_frames=N/A
    nb_read_packets=N/A

    Finally, I am running Windows 10 and here is a probe on my setup :

    ffprobe version N-87327-g18821e3 Copyright (c) 2007-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 75.100 / 55. 75.100
     libavcodec     57.106.101 / 57.106.101
     libavformat    57. 82.100 / 57. 82.100
     libavdevice    57.  8.101 / 57.  8.101
     libavfilter     6.105.100 /  6.105.100
     libswscale      4.  7.103 /  4.  7.103
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100

    I created a version of the ending with the same screen size and audio codec as the episode. But, when I try to concat, the resulting video is much longer (1:03:00) than it should be (about 42 mins), and it freezes when played. Here is the concat :

    ffmpeg -f concat -safe 0 -i "concat.txt" -c copy 's04e06.mp4'
    ffmpeg : ffmpeg version N-87327-g18821e3 Copyright (c) 2000-2017 the FFmpeg developers
    At line:1 char:1
    + ffmpeg -f concat -safe 0 -i "concat.txt"  ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       + CategoryInfo          : NotSpecified: (ffmpeg version ...mpeg developers:String) [], RemoteException
       + FullyQualifiedErrorId : NativeCommandError

     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2
    --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
    --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
    --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
    --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus
    --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
    --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
    --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2
    --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 75.100 / 55. 75.100
     libavcodec     57.106.101 / 57.106.101
     libavformat    57. 82.100 / 57. 82.100
     libavdevice    57.  8.101 / 57.  8.101
     libavfilter     6.105.100 /  6.105.100
     libswscale      4.  7.103 /  4.  7.103
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000047cb020]
    Auto-inserting h264_mp4toannexb bitstream filter
    Input #0, concat, from 'concat.txt':
     Duration: N/A, start: -0.002333, bitrate: 1284 kb/s
       Stream #0:
    0(und
    ): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x718 [SAR 1:1 DAR 640:359], 1092 kb/s
    ,
    23.98 fps,
    23.98 tbr,
    16k tbn, 47.95 tb
    c
       Metadata:
         handler_name    :
    VideoHandler
       Stream #0:
    1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s
       Metadata:
         handler_name    :
    SoundHandler
    [mp4 @ 0000000004daf380]

    track 1: codec frame size is not set
    Output #0, mp4, to 's04e06.mp4':
     Metadata:
       encoder         :
    Lavf57.82.10
    0
       Stream #0:
    0
    (und)
    : Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x718 [SAR 1:1 DAR 640:359], q=2-31, 1092 kb/s
    ,
    23.98 fps, 23.98 tbr,
    16k tbn,
    16k tbc
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 192 kb/s
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame= 3050 fps=0.0 q=-1.0 size=   32768kB time=00:02:07.16 bitrate=2110.9kbits/s speed= 254x    
    frame= 7005 fps=6993 q=-1.0 size=   65536kB time=00:04:52.12 bitrate=1837.8kbits/s speed= 292x    
    frame=12638 fps=8414 q=-1.0 size=   99072kB time=00:08:47.04 bitrate=1539.9kbits/s speed= 351x    
    frame=17009 fps=8492 q=-1.0 size=  125440kB time=00:11:49.34 bitrate=1448.7kbits/s speed= 354x    
    frame=18981 fps=7413 q=-1.0 size=  136704kB time=00:13:11.61 bitrate=1414.7kbits/s speed= 309x    
    frame=20233 fps=6444 q=-1.0 size=  144896kB time=00:14:03.80 bitrate=1406.7kbits/s speed= 269x    
    frame=23615 fps=6421 q=-1.0 size=  165888kB time=00:16:24.89 bitrate=1379.8kbits/s speed= 268x    
    frame=25322 fps=6057 q=-1.0 size=  175360kB time=00:17:36.06 bitrate=1360.3kbits/s speed= 253x    
    frame=26957 fps=5759 q=-1.0 size=  184576kB time=00:18:44.25 bitrate=1344.9kbits/s speed= 240x    
    frame=31478 fps=6076 q=-1.0 size=  215040kB time=00:21:52.83 bitrate=1341.8kbits/s speed= 253x    
    frame=33517 fps=5900 q=-1.0 size=  235264kB time=00:23:17.88 bitrate=1378.7kbits/s speed= 246x    
    frame=34974 fps=5658 q=-1.0 size=  246272kB time=00:24:18.65 bitrate=1383.1kbits/s speed= 236x    
    frame=36987 fps=5437 q=-1.0 size=  259840kB time=00:25:42.59 bitrate=1379.9kbits/s speed= 227x    
    frame=37543 fps=5140 q=-1.0 size=  263168kB time=00:26:05.79 bitrate=1376.9kbits/s speed= 214x    
    frame=39203 fps=4982 q=-1.0 size=  273152kB time=00:27:15.04 bitrate=1368.6kbits/s speed= 208x    
    frame=45904 fps=5484 q=-1.0 size=  305408kB time=00:31:54.52 bitrate=1306.8kbits/s speed= 229x    
    frame=47996 fps=5410 q=-1.0 size=  318720kB time=00:33:21.75 bitrate=1304.3kbits/s speed= 226x    
    frame=50719 fps=5409 q=-1.0 size=  336128kB time=00:35:15.32 bitrate=1301.7kbits/s speed= 226x    
    frame=53508 fps=5409 q=-1.0 size=  354560kB time=00:37:11.65 bitrate=1301.5kbits/s speed= 226x    
    frame=57118 fps=5452 q=-1.0 size=  372736kB time=00:39:42.24 bitrate=1281.8kbits/s speed= 227x    
    frame=58440 fps=5324 q=-1.0 size=  382208kB time=00:40:37.35 bitrate=1284.6kbits/s speed= 222x    
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000047d3640]
    Auto-inserting h264_mp4toannexb bitstream filter
    frame=60098 fps=5228 q=-1.0 size=  392960kB time=01:02:39.76 bitrate= 856.2kbits/s speed= 327x    
    frame=60746 fps=5031 q=-1.0 size=  393472kB time=01:03:20.30 bitrate= 848.2kbits/s speed= 315x    
    frame=60768 fps=4978 q=-1.0 Lsize=  397136kB time=01:03:21.67 bitrate= 855.8kbits/s speed= 311x    
    video:335753kB audio:59186kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.556209%
  • How to make Matomo GDPR compliant in 12 steps

    3 avril 2018, par InnoCraft

    Important note : this blog post has been written by digital analysts, not lawyers. The purpose of this article is to briefly show you where Matomo is entering into play within the GDPR process. This work comes from our interpretation of the UK privacy commission : ICO. It cannot be considered as professional legal advice. So as GDPR, this information is subject to change. We strongly advise you to have a look at the different privacy authorities in order to have up to date information.

    The General Data Protection Regulation (EU) 2016/679, also referred to RGPD in French, Datenschutz-Grundverordnung, DS-GVO in German, is a regulation on data protection and privacy for all individuals within the European Union. It concerns organizations worldwide dealing with EU citizens and will come into force on the 25th May 2018.

    The GDPR applies to ‘personal data’ meaning any information relating to an identifiable person who can be directly or indirectly identified in particular by reference to an identifier. It includes cookies, IP addresses, User ID, location, and any other data you may have collected.

    We will list below the 12 steps recommended by the UK privacy commissioner in order to be GDPR compliant and what you need to do for each step.

    The 12 steps of GDPR compliance according to ICO and how it fit with Matomo

    As mentioned in one of our previous blog post about GDPR, if you are not collecting any personal data with Matomo, then you are not concerned about what is written below.

    If you are processing personal data in any way, here are the 12 steps to follow along with some recommendations on how to be GDPR compliant with Matomo :

    1 – Awareness

    Make sure that people within your organization know that you are using Matomo in order to analyze traffic on the website/app. If needed, send them the link to the “What is Matomo ?” page.

    2 – Information you hold

    List all the personal data you are processing with Matomo within your record of processing activities. We are personally using the template provided by ICO which is composed of a set of 30 questions you need to answer regarding your use of Matomo. We have published an article which walks you through the list of questions specifically in the use case of Matomo Analytics. Please be aware that personal data may be also tracked in non-obvious ways for example as part of page URLs or page titles.

    3 – Communicating privacy information

    a – Add a privacy notice

    Add a privacy notice wherever you are using Matomo in order to collect personal data. Please refer to the ICO documentation in order to learn how to write a privacy notice. You can learn more in our article about creating your privacy notice for Matomo Analytics. Make sure that a privacy policy link is always available on your website or app.

    b – Add Matomo to your privacy policy page

    Add Matomo to the list of technologies you are using on your privacy policy page and add all the necessary information to it as requested in the following checklist. To learn more check out our article about Privacy policy.

    4 – Individuals’ rights

    Make sure that your Matomo installation respects all the individuals’ rights. To make it short, you will need to know the features in Matomo that you need to use to respect user rights (right of access, right of rectification, right of erasure…). These features are available starting in Matomo 3.5.0 released on May 8th : GDPR tools for Matomo (User guide).

    5 – Subject access requests

    Make sure that you are able to answer an access request from a data subject for Matomo. For example, when a person would like to access her or his personal data that you have collected about her or him, then you will need to be you able to provide her or him with this information. We recommend you design a process for this like “Who is dealing with it ?” and check that it is working. If you can answer to the nightmare letter, then you are ready. The needed features for this in Matomo will be available soon.

    6 – Lawful basis for processing personal data

    There are different lawful basis you can use under GDPR. It can be either “Legitimate interest” or “Explicit consent”. Do not forget to mention it within your privacy policy page. Read more in our article about lawful basis.

    7 – Consent

    Users should be able to remove their consent at any time. By chance, Matomo is providing a feature in order to do just that : add the opt-out feature to your privacy policy page.
    We are also offering a tool that allows you optionally to require consent before any data is tracked. This will be useful if a person should be only tracked after she or he has given explicit consent to be tracked.

    8 – Children

    If your website or app is targeted for children and you are using Matomo, extra measures will need to be taken. For example you will need to write your privacy policy even more clear and moreover getting parents consent if the child is below 13. As it is a very specific case, we strongly recommend you to follow this link for further information.

    9 – Data breaches

    As you may be collecting personal data with Matomo, you should also check your “data breach procedure” to define if a leak may have consequences on the privacy of the data subject. Please consult ICO’s website for further information.

    10 – Data Protection by Design and Data Protection Impact Assessments

    Ask yourself if you really need to process personal data within Matomo. If the data you are processing within Matomo is sensitive, we strongly recommend you to make a Data Protection Impact Assessment. A software is available from the The open source PIA software helps to carry out data protection impact assessment, by French Privacy Commissioner : CNIL.

    11 – Data Protection Officers

    If you are reading this article and you are the Data Protection Officer (DPO), you will not be concerned by this step. If that’s not the case, your duty is to provide to the DPO (if your business has a DPO) our blog post in order for her or him to ask you questions regarding your use of Matomo. Note that your DPO can also be interested in the different data that Matomo can process : “What data does Matomo track ?” (FAQ).

    12 – International

    Matomo data is hosted wherever you want. So according to the location of the data, you will need to show specific safeguard except for EU. For example regarding the USA, you will have to check if your web hosting platform is registered to the Privacy Shield : privacyshield.gov/list
    Note : our Matomo cloud infrastructure is based in France.

    That’s the end of this blog post. As GDPR is a huge topic, we will release many more blog posts in the upcoming weeks. If there are any Matomo GDPR topic related posts you would like us to write, please feel free to contact us.

    The post How to make Matomo GDPR compliant in 12 steps appeared first on Analytics Platform - Matomo.

  • ffmpeg livestream alway stop after 160hours streamming

    2 avril 2018, par JerryJumper88

    I use ffmpeg with this code to run stream youtube 24/7 from Windows VPS. But stream alway stop after 160-167 hours and I don’t know why.

      dir/b/s "C:\Users\NASA\Desktop\ffmpeg\bin\1\*.mp4" > list.txt
    :encode video
    :loop
    for /F "delims=;" %%F in (list.txt)  DO ffmpeg -re -i "%%F" -vcodec libx264 -preset veryfast -maxrate 2500k -bufsize 3368k -vf "format=yuv420p" -g 60 -acodec libmp3lame -b:a 198k -ar 44100 -metadata title="" -metadata artist="" -metadata album_artist="" -metadata album="" -metadata date="" -metadata track="" -metadata genre="" -metadata publisher="" -metadata encoded_by="" -metadata copyright="" -metadata composer="" -metadata performer="" -metadata TIT1="" -metadata TIT3="" -metadata disc="" -metadata TKEY="" -metadata TBPM="" -metadata language="eng" -metadata encoder="" -f flv -s 1280x720 rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx
    goto loop

    And this is stream log. I google " Larger timestamp than 24-bit : 0xffffff9f" but nothing about this error. I contacted to admin server system, he comfirmed that has no issue connection. Then I tried again in Windows 7 and Windows server 2012, same result, still drop after 160h on youtube.

       Larger timestamp than 24-bit: 0xffffff9f
    [flv @ 000000000275c820] Failed to update header with correct duration.
    [flv @ 000000000275c820] Failed to update header with correct filesize.
    frame=10575 fps= 30 q=-1.0 Lsize=   88449kB time=00:05:52.52 bitrate=2055.4kbits
    /s speed=0.998x
    video:79769kB audio:8263kB subtitle:0kB other streams:0kB global headers:0kB mux
    ing overhead: 0.474711%
    [libx264 @ 0000000002760560] frame I:182   Avg QP:20.08  size: 41314
    [libx264 @ 0000000002760560] frame P:4955  Avg QP:22.97  size: 11557
    [libx264 @ 0000000002760560] frame B:5438  Avg QP:23.75  size:  3108
    [libx264 @ 0000000002760560] consecutive B-frames: 29.6%  3.9%  5.0% 61.5%
    [libx264 @ 0000000002760560] mb I  I16..4: 23.0% 49.4% 27.5%
    [libx264 @ 0000000002760560] mb P  I16..4: 10.8% 15.7%  3.3%  P16..4: 17.4%  6.3
    %  2.4%  0.0%  0.0%    skip:44.1%
    [libx264 @ 0000000002760560] mb B  I16..4:  1.7%  1.6%  0.2%  B16..8: 12.4%  3.4
    %  0.3%  direct: 4.9%  skip:75.4%  L0:46.3% L1:46.0% BI: 7.6%
    [libx264 @ 0000000002760560] 8x8 transform intra:51.7% inter:36.6%
    [libx264 @ 0000000002760560] coded y,uvDC,uvAC intra: 38.7% 59.1% 14.8% inter: 4
    .5% 13.5% 0.3%
    [libx264 @ 0000000002760560] i16 v,h,dc,p: 43% 36% 17%  4%
    [libx264 @ 0000000002760560] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 31% 21%  2%  2%
    3%  3%  3%  4%
    [libx264 @ 0000000002760560] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 29% 15%  4%  5%
    5%  5%  5%  4%
    [libx264 @ 0000000002760560] i8c dc,h,v,p: 41% 27% 27%  4%
    [libx264 @ 0000000002760560] Weighted P-Frames: Y:0.1% UV:0.0%
    [libx264 @ 0000000002760560] kb/s:1853.78

    C:\Users\NASA\Desktop\ffmpeg\bin>ffmpeg -re -i "C:\Users\NASA\Desktop\ffmpeg\bin
    \1\6 x24.mp4" -vcodec libx264 -preset veryfast -maxrate 2500k -bufsize
    3368k -vf "format=yuv420p" -g 60 -acodec libmp3lame -b:a 198k -ar 44100 -metadat
    a title="" -metadata artist="" -metadata album_artist="" -metadata album="" -met
    adata date="" -metadata track="" -metadata genre="" -metadata publisher="" -meta
    data encoded_by="" -metadata copyright="" -metadata composer="" -metadata perfor
    mer="" -metadata TIT1="" -metadata TIT3="" -metadata disc="" -metadata TKEY="" -
    metadata TBPM="" -metadata language="eng" -metadata encoder="" -f flv -s 1280x72
    0 rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx
    ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
    nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
    enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
    --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
    bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
    -enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
    e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
    bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
    e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
    --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
    -libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enab
    le-zlib
     libavutil      55. 76.100 / 55. 76.100
     libavcodec     57.106.101 / 57.106.101
     libavformat    57. 82.101 / 57. 82.101
     libavdevice    57.  8.101 / 57.  8.101
     libavfilter     6.105.100 /  6.105.100
     libswscale      4.  7.103 /  4.  7.103
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\NASA\Desktop\ffmpeg\bin\1\6 x.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2017-10-16T20:51:09.000000Z
     Duration: 00:03:22.04, start: 0.000000, bitrate: 1300 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709)
    , 1280x720 [SAR 1:1 DAR 16:9], 1105 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (def
    ault)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt
    p, 191 kb/s (default)
       Metadata:
         creation_time   : 2017-10-16T20:51:09.000000Z
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    [libx264 @ 00000000029d0020] using SAR=1/1
    [libx264 @ 00000000029d0020] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    AVX FMA3 BMI2 AVX2
    [libx264 @ 00000000029d0020] profile High, level 3.1
    [libx264 @ 00000000029d0020] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC cod
    ec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 r
    ef=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed
    _ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
    p=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decim
    ate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_a
    dapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=60 keyint_min=6 s
    cenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 q
    pmin=0 qpmax=69 qpstep=4 vbv_maxrate=2500 vbv_bufsize=3368 crf_max=0.0 nal_hrd=n
    one filler=0 ip_ratio=1.40 aq=1:1.00
    frame=   14 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kb
    Output #0, flv, to 'rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       encoder         : Lavf57.82.101
       Stream #0:0(und): Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p(pro
    gressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 1k tbn, 30 tbc (default
    )
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc57.106.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 2500000/0/0 buffer size: 3368000 vbv_delay: -1
       Stream #0:1(eng): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz,
    stereo, fltp, 198 kb/s (default)
       Metadata:
         creation_time   : 2017-10-16T20:51:09.000000Z
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
         encoder         : Lavc57.106.101 libmp3lame
    frame=   29 fps= 28 q=29.0 size=      77kB time=00:00:00.41 bitrate=1498.7kbits/
    frame=   44 fps= 28 q=29.0 size=     129kB time=00:00:00.94 bitrate=1118.8kbits/
    frame=   60 fps= 29 q=29.0 size=     180kB time=00:00:01.88 bitrate= 781.8kbits/
    frame=   76 fps= 30 q=26.0 size=     220kB time=00:00:02.37 bitrate= 758.1kbits/
    frame=   91 fps= 29 q=29.0 size=     311kB time=00:00:02.84 bitrate= 895.3kbits/
    frame=  107 fps= 30 q=29.0 size=     356kB time=00:00:03.34 bitrate= 870.9kbits/
    frame=  122 fps= 30 q=29.0 size=     395kB time=00:00:03.84 bitrate= 843.3kbits/
    frame=  137 fps= 30 q=29.0 size=     428kB time=00:00:04.31 bitrate= 813.2kbits/
    frame=  153 fps= 30 q=29.0 size=     535kB time=00:00:04.80 bitrate= 911.9kbits/
    frame=  168 fps= 30 q=29.0 size=     598kB time=00:00:05.30 bitrate= 923.0kbits/
    frame=  184 fps= 30 q=29.0 size=     661kB time=00:00:05.77 bitrate= 938.2kbits/
    frame=  199 fps= 30 q=29.0 size=     757kB time=00:00:06.27 bitrate= 989.2kbits/
    frame=  215 fps= 30 q=29.0 size=     833kB time=00:00:06.76 bitrate=1008.2kbits/
    frame=  230 fps= 30 q=29.0 size=     893kB time=00:00:07.23 bitrate=1011.1kbits/
    frame=  246 fps= 30 q=29.0 size=     963kB time=00:00:07.73 bitrate=1019.8kbits/
    frame=  261 fps= 30 q=29.0 size=    1049kB time=00:00:08.23 bitrate=1043.7kbits/
    frame=  276 fps= 30 q=29.0 size=    1117kB time=00:00:08.70 bitrate=1052.2kbits/
    frame=  292 fps= 30 q=29.0 size=    1166kB time=00:00:09.19 bitrate=1038.3kbits/
    frame=  307 fps= 30 q=29.0 size=    1216kB time=00:00:09.69 bitrate=1027.8kbits/
    frame=  322 fps= 30 q=29.0 size=    1304kB time=00:00:10.18 bitrate=1048.4kbits/
    frame=  338 fps= 30 q=29.0 size=    1363kB time=00:00:11.15 bitrate=1000.8kbits/
    s speed=0.985x