Recherche avancée

Médias (91)

Autres articles (23)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

Sur d’autres sites (3149)

  • How to find video time by using FFProbe in java ?

    13 octobre 2022, par Dadireddy Chenna

    I have used the below logic to get the duration but how can i convert to time using any library ?

    


       <dependency>&#xA;        <groupid>net.bramp.ffmpeg</groupid>&#xA;        <artifactid>ffmpeg</artifactid>&#xA;        <version>0.7.0</version>&#xA;    </dependency>&#xA;&#xA;    FFprobe ffprobe = new FFprobe();&#xA;    FFmpegProbeResult probeResult = ffprobe.probe(mediaPath);&#xA;    FFmpegFormat format = probeResult.getFormat();&#xA;    double duration = format.duration;&#xA;    // how to convert double to video time (01:29:01)&#xA;

    &#xA;

    ffprobe -i /video/sample.mp4 -show_entries format=duration -v quiet -of csv="p=0" -sexagesimal

    &#xA;

  • Ffmpeg is installed, but I get the exception : You do not have ffmpeg installed on your machine

    13 janvier 2023, par Tin Kommen

    I've searched for hours for a solution, but I haven't found one yet. Maybe someone here knows what is going wrong.

    &#xA;

    I'm trying to make a Bar Chart Race in Python. Although I have downloaded and installed Ffmpeg,&#xA;I keep on getting multiple errors :

    &#xA;

        MovieWriter ffmpeg unavailable; using Pillow instead.&#xA;    Traceback (most recent call last):&#xA;      File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site-        packages/matplotlib/animation.py", line 251, in saving&#xA;        yield self&#xA;      File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site-        packages/matplotlib/animation.py", line 1161, in save&#xA;        writer.grab_frame(**savefig_kwargs)&#xA;      File "/Users/____/PycharmProjects/data_visualization/venv/lib/python3.6/site-        packages/matplotlib/animation.py", line 549, in grab_frame&#xA;        renderer = self.fig.canvas.get_renderer()&#xA;    AttributeError: &#x27;FigureCanvasBase&#x27; object has no attribute &#x27;get_renderer&#x27;&#xA;&#xA;    During handling of the above exception, another exception occurred:&#xA;&#xA;    Traceback (most recent call last):&#xA;      File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site-        packages/bar_chart_race/_make_chart.py", line 435, in make_animation&#xA;        ret_val = anim.save(self.filename, fps=self.fps, writer=self.writer)&#xA;      File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site-        packages/matplotlib/animation.py", line 1161, in save&#xA;        writer.grab_frame(**savefig_kwargs)&#xA;      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line         100, in __exit__&#xA;        self.gen.throw(type, value, traceback)&#xA;      File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site-                        packages/matplotlib/animation.py", line 253, in saving&#xA;        self.finish()&#xA;              File "/Users/____/PycharmProjects/data_visualization/venv/lib/python3.6/site-        packages/matplotlib/animation.py", line 554, in finish&#xA;        self._frames[0].save(&#xA;            IndexError: list index out of range&#xA;&#xA;    During handling of the above exception, another exception occurred:&#xA;&#xA;    Exception: You do not have ffmpeg installed on your machine. Download&#xA;    ffmpeg from here: https://www.ffmpeg.org/download.html.&#xA;    Matplotlib&#x27;s original error message below:&#xA;    list index out of range&#xA;

    &#xA;

    I've tried installing ffmpeg with conda, pip and homebrew. When I check the version, i get the following :

    &#xA;

        ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers&#xA;      built with clang version 9.0.1&#xA;      configuration: --prefix=/Users/___/opt/miniconda3 --cc=x86_64-apple-darwin13.4.0-clang --disable-doc --disable-openssl --enable-avresample --enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-libx264 --enable-pic --enable-pthreads --enable-shared --enable-static --enable-version3 --enable-zlib --enable-libmp3lame&#xA;      libavutil      56. 31.100 / 56. 31.100&#xA;      libavcodec     58. 54.100 / 58. 54.100&#xA;      libavformat    58. 29.100 / 58. 29.100&#xA;      libavdevice    58.  8.100 / 58.  8.100&#xA;      libavfilter     7. 57.100 /  7. 57.100&#xA;      libavresample   4.  0.  0 /  4.  0.  0&#xA;      libswscale      5.  5.100 /  5.  5.100&#xA;      libswresample   3.  5.100 /  3.  5.100&#xA;      libpostproc    55.  5.100 / 55.  5.100&#xA;

    &#xA;

    Here is the code :

    &#xA;

        import numpy as np&#xA;    import pandas as pd&#xA;    import bar_chart_race as bcr&#xA;    import os&#xA;&#xA;&#xA;&#xA;    df = pd.read_csv(&#x27;/Users/____/Documents/data/dummy_data.csv&#x27;, delimiter=&#x27;;&#x27;, encoding="utf-8-sig")&#xA;    bcr.bar_chart_race(&#xA;        df=df,&#xA;        filename=&#x27;test_win2.mov&#x27;,&#xA;        orientation=&#x27;h&#x27;,&#xA;        sort=&#x27;desc&#x27;,&#xA;        n_bars=8,&#xA;        fixed_order=False,&#xA;        fixed_max=False,&#xA;        steps_per_period=50,&#xA;        interpolate_period=False,&#xA;        label_bars=True,&#xA;        bar_size=.95,&#xA;        period_label={&#x27;x&#x27;: .99, &#x27;y&#x27;: .25, &#x27;ha&#x27;: &#x27;right&#x27;, &#x27;va&#x27;: &#x27;center&#x27;},&#xA;        period_summary_func=lambda v, r: {&#x27;x&#x27;: .99, &#x27;y&#x27;: .18,&#xA;                                  &#x27;s&#x27;: f&#x27;Totaal: {v.nlargest(8).sum():,.0f}&#x27;,&#xA;                                  &#x27;ha&#x27;: &#x27;right&#x27;, &#x27;size&#x27;: 8, &#x27;family&#x27;: &#x27;Courier New&#x27;},&#xA;        perpendicular_bar_func=&#x27;median&#x27;,&#xA;        figsize=(3.5, 3),&#xA;        period_length=100,&#xA;        dpi=300,&#xA;        cmap=&#x27;dark12&#x27;,&#xA;        title=&#x27;Title?&#x27;,&#xA;        title_size=&#x27;&#x27;,&#xA;        bar_label_size=4,&#xA;        tick_label_size=4,&#xA;        shared_fontdict={&#x27;family&#x27;: &#x27;Helvetica&#x27;, &#x27;color&#x27;: &#x27;.1&#x27;},&#xA;        scale=&#x27;linear&#x27;,&#xA;        writer=None,&#xA;        fig=None,&#xA;        bar_kwargs={&#x27;alpha&#x27;: .3},&#xA;        filter_column_colors=False)&#xA;

    &#xA;

  • Laravel Process() with FFMPEG times out for any video that is even kind of large

    16 août 2024, par Hunter

    I am creating an application that lets users upload video files, and once they do it will convert them all to .mp4's (it does some other things, but since this first part of the code is breaking before it gets a chance to reach the other stuff, and the process for each is pretty similar, lets just discuss this issue).

    &#xA;&#xA;

    Once a user submits, it gets sent to GameController@store. Below is a code sample (the one that keeps getting sent back to me as problematic) from the controller :

    &#xA;&#xA;

    $process = new Process(env(&#x27;APP_FFMPEG&#x27;, &#x27;ffmpeg&#x27;) . &#x27; -i &#x27; . $fileURL . &#x27; -f mp4 -vcodec libx264 -preset medium -profile:v main -c:a aac -movflags &#x2B;faststart &#x27; . $newFileName . &#x27; -hide_banner&#x27;);&#xA;              $process->setTimeout(360);&#xA;              $process->setIdleTimeout(60);&#xA;              $process->run();&#xA;              if (!$process->isSuccessful()) {&#xA;                throw new ProcessFailedException($process);&#xA;              }&#xA;

    &#xA;&#xA;

    I am using the Symfony Process() class to run the FFMpeg conversion. The weird thing is, when I run this with a 1 or 2 second video, it goes without a hitch. This, to me, rules out issues like path problems, permission problems, etc. Multiple file types work with this, as long as they are very short. As soon as I put in a video that is even around 1min, it returns with this :

    &#xA;&#xA;

    The process "/usr/local/bin/ffmpeg -i http://localhost/storage/team_1_folder/game_26/team_1_game_26_vid_1.mp4 -f mp4 -vcodec libx264 -preset medium -profile:v main -c:a aac -movflags &#x2B;faststart storage/team_1_folder/game_26/convertedVideo_1.mp4 -hide_banner" exceeded the timeout of 360 seconds.&#xA;

    &#xA;&#xA;

    Now, notice that it says 'timeout of 360 seconds'. That is because I have also edited ALL of the possible timeout constraints, as well as the file size constraints that I can think of. Here is what I have done :

    &#xA;&#xA;

    -Changed php.ini (in my MAMP installation) values :
    &#xA;—max_execution_time = 300 (default was 30)
    &#xA;—memory_limit = 1280M (default was 128)
    &#xA;—post_max_size = 800M
    &#xA;—upload_max_filesize = 3200M
    &#xA;-max_input_time=300

    &#xA;&#xA;

    -In the GameController (code above)
    &#xA;—$process->setTimeout(360) ;
    &#xA;—$process->setTimeout(360) ;

    &#xA;&#xA;

    After all that, with a big file, the thing will just stall for the 6 minutes that I have set on the timeout thing, and then send an error. Is FFmpeg just stalling, or is this a process issue ? Who knows. Errors surrounding these things are just beautifully vague.

    &#xA;&#xA;

    I have tagged Laravel, PHP, and FFmpeg in hopes that someone will recognize this issue. I know that Process() is sending me the error, but since it is sending me a timeout, I don't know what is at fault.

    &#xA;&#xA;

    I'm not ruling anything out, so hit me with ideas, even crazy ones !

    &#xA;&#xA;

    Edit&#xA;Here is the output of the -report. I cut some of it off because the end part gets repetitive and goes for literally 1000 lines :

    &#xA;&#xA;

    ffmpeg started on 2019-06-24 at 18:50:23&#xA;Report written to "ffmpeg-20190624-185023.log"&#xA;Command line:&#xA;/usr/local/bin/ffmpeg -i http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4 -f mp4 -vcodec libx264 -preset medium -profile:v main -c:a aac -movflags &#x2B;faststart storage/team_1_folder/game_31/convertedVideo_1.mp4 -report&#xA;ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3_1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags=&#x27;-I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include/darwin&#x27; --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr&#xA;  libavutil      56. 22.100 / 56. 22.100&#xA;  libavcodec     58. 35.100 / 58. 35.100&#xA;  libavformat    58. 20.100 / 58. 20.100&#xA;  libavdevice    58.  5.100 / 58.  5.100&#xA;  libavfilter     7. 40.101 /  7. 40.101&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  3.100 /  5.  3.100&#xA;  libswresample   3.  3.100 /  3.  3.100&#xA;  libpostproc    55.  3.100 / 55.  3.100&#xA;Splitting the commandline.&#xA;Reading option &#x27;-i&#x27; ... matched as input url with argument &#x27;http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4&#x27;.&#xA;Reading option &#x27;-f&#x27; ... matched as option &#x27;f&#x27; (force format) with argument &#x27;mp4&#x27;.&#xA;Reading option &#x27;-vcodec&#x27; ... matched as option &#x27;vcodec&#x27; (force video codec (&#x27;copy&#x27; to copy stream)) with argument &#x27;libx264&#x27;.&#xA;Reading option &#x27;-preset&#x27; ... matched as AVOption &#x27;preset&#x27; with argument &#x27;medium&#x27;.&#xA;Reading option &#x27;-profile:v&#x27; ... matched as option &#x27;profile&#x27; (set profile) with argument &#x27;main&#x27;.&#xA;Reading option &#x27;-c:a&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;aac&#x27;.&#xA;Reading option &#x27;-movflags&#x27; ... matched as AVOption &#x27;movflags&#x27; with argument &#x27;&#x2B;faststart&#x27;.&#xA;Reading option &#x27;storage/team_1_folder/game_31/convertedVideo_1.mp4&#x27; ... matched as output url.&#xA;Reading option &#x27;-report&#x27; ... matched as option &#x27;report&#x27; (generate a report) with argument &#x27;1&#x27;.&#xA;Finished splitting the commandline.&#xA;Parsing a group of options: global .&#xA;Applying option report (generate a report) with argument 1.&#xA;Successfully parsed a group of options.&#xA;Parsing a group of options: input url http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4.&#xA;Successfully parsed a group of options.&#xA;Opening an input file: http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4.&#xA;[NULL @ 0x7f9ad480ae00] Opening &#x27;http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4&#x27; for reading&#xA;[http @ 0x7f9ad3c6b540] Setting default whitelist &#x27;http,https,tls,rtp,tcp,udp,crypto,httpproxy&#x27;&#xA;[tcp @ 0x7f9ad3e00400] Original list of addresses:&#xA;[tcp @ 0x7f9ad3e00400] Address ::1 port 80&#xA;[tcp @ 0x7f9ad3e00400] Address 127.0.0.1 port 80&#xA;[tcp @ 0x7f9ad3e00400] Interleaved list of addresses:&#xA;[tcp @ 0x7f9ad3e00400] Address ::1 port 80&#xA;[tcp @ 0x7f9ad3e00400] Address 127.0.0.1 port 80&#xA;[tcp @ 0x7f9ad3e00400] Starting connection attempt to ::1 port 80&#xA;[tcp @ 0x7f9ad3e00400] Successfully connected to ::1 port 80&#xA;[http @ 0x7f9ad3c6b540] request: GET /storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4 HTTP/1.1&#xA;User-Agent: Lavf/58.20.100&#xA;Accept: */*&#xA;Range: bytes=0-&#xA;Connection: close&#xA;Host: localhost&#xA;Icy-MetaData: 1&#xA;&#xA;&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] ISO: File Type Major Brand: isom&#xA;[tcp @ 0x7f9ad3c6b840] Original list of addresses:&#xA;[tcp @ 0x7f9ad3c6b840] Address ::1 port 80&#xA;[tcp @ 0x7f9ad3c6b840] Address 127.0.0.1 port 80&#xA;[tcp @ 0x7f9ad3c6b840] Interleaved list of addresses:&#xA;[tcp @ 0x7f9ad3c6b840] Address ::1 port 80&#xA;[tcp @ 0x7f9ad3c6b840] Address 127.0.0.1 port 80&#xA;[tcp @ 0x7f9ad3c6b840] Starting connection attempt to ::1 port 80&#xA;[tcp @ 0x7f9ad3c6b840] Successfully connected to ::1 port 80&#xA;[http @ 0x7f9ad3c6b540] request: GET /storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4 HTTP/1.1&#xA;User-Agent: Lavf/58.20.100&#xA;Accept: */*&#xA;Range: bytes=170169585-&#xA;Connection: close&#xA;Host: localhost&#xA;Icy-MetaData: 1&#xA;&#xA;&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Unknown dref type 0x206c7275 size 12&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Processing st: 0, edit list 0 - media time: 0, duration: 10584600&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 0 ctts: 0, ctts_index: 0, ctts_count: 10575&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 1 ctts: 4002, ctts_index: 1, ctts_count: 10575&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 1000 ctts: 0, ctts_index: 2, ctts_count: 10575&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 2001 ctts: 0, ctts_index: 3, ctts_count: 10575&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 3002 ctts: 0, ctts_index: 4, ctts_count: 10575&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 4003 ctts: 4004, ctts_index: 5, ctts_count: 10575&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 5004 ctts: 0, ctts_index: 6, ctts_count: 10575&#xA;

    &#xA;&#xA;

    Edit 2&#xA;I also found this towards the bottom :

    &#xA;&#xA;

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 10582571 ctts: 0, ctts_index: 10573, ctts_count: 10575&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] stts: 10583572 ctts: 1001, ctts_index: 10574, ctts_count: 10575&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Setting codecpar->delay to 1 for stream st: 0&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Unknown dref type 0x206c7275 size 12&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Processing st: 1, edit list 0 - media time: 0, duration: 15563816&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] Before avformat_find_stream_info() pos: 170509020 bytes read:372203 seeks:1 nb_streams:2&#xA;[h264 @ 0x7f9ad4811200] nal_unit_type: 7(SPS), nal_ref_idc: 3&#xA;[h264 @ 0x7f9ad4811200] nal_unit_type: 8(PPS), nal_ref_idc: 3&#xA;[tcp @ 0x7f9ad3c72d40] Original list of addresses:&#xA;[tcp @ 0x7f9ad3c72d40] Address ::1 port 80&#xA;[tcp @ 0x7f9ad3c72d40] Address 127.0.0.1 port 80&#xA;[tcp @ 0x7f9ad3c72d40] Interleaved list of addresses:&#xA;[tcp @ 0x7f9ad3c72d40] Address ::1 port 80&#xA;[tcp @ 0x7f9ad3c72d40] Address 127.0.0.1 port 80&#xA;[tcp @ 0x7f9ad3c72d40] Starting connection attempt to ::1 port 80&#xA;[tcp @ 0x7f9ad3c72d40] Successfully connected to ::1 port 80&#xA;[http @ 0x7f9ad3c6b540] request: GET /storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4 HTTP/1.1&#xA;User-Agent: Lavf/58.20.100&#xA;Accept: */*&#xA;Range: bytes=48-&#xA;Connection: close&#xA;Host: localhost&#xA;Icy-MetaData: 1&#xA;&#xA;&#xA;[h264 @ 0x7f9ad4811200] nal_unit_type: 5(IDR), nal_ref_idc: 1&#xA;[h264 @ 0x7f9ad4811200] Format yuv420p chosen by get_format().&#xA;[h264 @ 0x7f9ad4811200] Reinit context to 1920x1088, pix_fmt: yuv420p&#xA;[h264 @ 0x7f9ad4811200] no picture &#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] All info found&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ad480ae00] After avformat_find_stream_info() pos: 308454 bytes read:680609 seeks:2 frames:2&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;http://localhost/storage/team_1_folder/game_31/team_1_game_31_vid_1.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf56.40.101&#xA;  Duration: 00:05:52.92, start: 0.000000, bitrate: 3865 kb/s&#xA;    Stream #0:0(und), 1, 1/30000: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3730 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und), 1, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;Successfully opened the file.&#xA;Parsing a group of options: output url storage/team_1_folder/game_31/convertedVideo_1.mp4.&#xA;Applying option f (force format) with argument mp4.&#xA;Applying option vcodec (force video codec (&#x27;copy&#x27; to copy stream)) with argument libx264.&#xA;Applying option profile:v (set profile) with argument main.&#xA;Applying option c:a (codec name) with argument aac.&#xA;Successfully parsed a group of options.&#xA;Opening an output file: storage/team_1_folder/game_31/convertedVideo_1.mp4.&#xA;[file @ 0x7f9ad3f02740] Setting default whitelist &#x27;file,crypto&#x27;&#xA;Successfully opened the file.&#xA;detected 4 logical cores&#xA;[h264 @ 0x7f9ad5813a00] nal_unit_type: 7(SPS), nal_ref_idc: 3&#xA;[h264 @ 0x7f9ad5813a00] nal_unit_type: 8(PPS), nal_ref_idc: 3&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[graph_1_in_0_1 @ 0x7f9ad3dbcc00] Setting &#x27;time_base&#x27; to value &#x27;1/44100&#x27;&#xA;[graph_1_in_0_1 @ 0x7f9ad3dbcc00] Setting &#x27;sample_rate&#x27; to value &#x27;44100&#x27;&#xA;[graph_1_in_0_1 @ 0x7f9ad3dbcc00] Setting &#x27;sample_fmt&#x27; to value &#x27;fltp&#x27;&#xA;[graph_1_in_0_1 @ 0x7f9ad3dbcc00] Setting &#x27;channel_layout&#x27; to value &#x27;0x3&#x27;&#xA;[graph_1_in_0_1 @ 0x7f9ad3dbcc00] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3&#xA;[format_out_0_1 @ 0x7f9ad3c71040] Setting &#x27;sample_fmts&#x27; to value &#x27;fltp&#x27;&#xA;[format_out_0_1 @ 0x7f9ad3c71040] Setting &#x27;sample_rates&#x27; to value &#x27;96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350&#x27;&#xA;[AVFilterGraph @ 0x7f9ad3e00440] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[h264 @ 0x7f9ad5813a00] nal_unit_type: 5(IDR), nal_ref_idc: 1&#xA;[h264 @ 0x7f9ad5813a00] Format yuv420p chosen by get_format().&#xA;[h264 @ 0x7f9ad5813a00] Reinit context to 1920x1088, pix_fmt: yuv420p&#xA;[h264 @ 0x7f9ad5813a00] no picture &#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[h264 @ 0x7f9ad5805800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[h264 @ 0x7f9ad5813a00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1&#xA;[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting &#x27;video_size&#x27; to value &#x27;1920x1080&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting &#x27;pix_fmt&#x27; to value &#x27;0&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting &#x27;time_base&#x27; to value &#x27;1/30000&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting &#x27;pixel_aspect&#x27; to value &#x27;1/1&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting &#x27;sws_param&#x27; to value &#x27;flags=2&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] Setting &#x27;frame_rate&#x27; to value &#x27;30000/1001&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x7f9ad3dbfb80] w:1920 h:1080 pixfmt:yuv420p tb:1/30000 fr:30000/1001 sar:1/1 sws_param:flags=2&#xA;[format @ 0x7f9ad3dc0100] Setting &#x27;pix_fmts&#x27; to value &#x27;yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21|yuv420p10le|yuv422p10le|yuv444p10le|nv20le&#x27;&#xA;[AVFilterGraph @ 0x7f9ad3c6e880] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed&#xA;[libx264 @ 0x7f9ad5811200] using mv_range_thread = 88&#xA;[libx264 @ 0x7f9ad5811200] using SAR=1/1&#xA;[libx264 @ 0x7f9ad5811200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7f9ad5811200] profile Main, level 4.0&#xA;[libx264 @ 0x7f9ad5811200] 264 - core 155 r2917 0a84d98 - 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=-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=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&#xA;Output #0, mp4, to &#x27;storage/team_1_folder/game_31/convertedVideo_1.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.20.100&#xA;    Stream #0:0(und), 0, 1/30000: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;      encoder         : Lavc58.35.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;    Stream #0:1(und), 0, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;      encoder         : Lavc58.35.100 aac&#xA;Clipping frame in rate conversion by 0.000008&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;Clipping frame in rate conversion by 0.000999&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;Clipping frame in rate conversion by 0.000999&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5805800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5813a00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5805800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5813a00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5805800] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5813a00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5804600] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5804c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;[h264 @ 0x7f9ad5805200] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid (this is harmless if it occurs once at the start per stream)&#xA;Clipping frame in rate conversion by 0.000999&#xA;

    &#xA;