Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (105)

  • 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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (8939)

  • On-the-fly transcoding using derolf/transcoder

    8 septembre 2015, par user1811678

    https://github.com/derolf/transcoder

    I need to transcode locally and playback locally in my project, no other external connection to the server.
    It is a good source of doing on the fly transcoding by ffmpeg.

    In my case i have to transcode it to mp4 as it could perform faster.
    However i run into following problem, and i need some help in here to fix it.

    ----------------------------------------
    Exception happened during processing of request from ('127.0.0.1', 34089)
    Traceback (most recent call last):
     File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
       self.finish_request(request, client_address)
     File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
       self.RequestHandlerClass(request, client_address, self)
     File "/usr/lib/python2.7/SocketServer.py", line 651, in __init__
       self.finish()
     File "/usr/lib/python2.7/SocketServer.py", line 710, in finish
       self.wfile.close()
     File "/usr/lib/python2.7/socket.py", line 279, in close
       self.flush()
     File "/usr/lib/python2.7/socket.py", line 303, in flush
       self._sock.sendall(view[write_offset:write_offset+buffer_size])
    error: [Errno 32] Broken pipe

    Here is my code :
    server.py

       from flask import Flask, request, Response, abort, send_file, jsonify
    import os, subprocess, re
    import config

    app = Flask(__name__)

    @app.route('/media/.js')
    def media_content_js(path):
       d= os.path.abspath( os.path.join( config.media_folder, path ) )
       print d
       if not os.path.isfile( d ): abort(404)
       cmdline= list()
       cmdline.append( config.ffmpeg )
       cmdline.append( "-i" )
       cmdline.append( d );
       print cmdline
       duration= -1
       FNULL = open(os.devnull, 'w')
       proc= subprocess.Popen( cmdline, stderr=subprocess.PIPE, stdout=FNULL )
       try:
           for line in iter(proc.stderr.readline,''):
               line= line.rstrip()
               #Duration: 00:00:45.13, start: 0.000000, bitrate: 302 kb/s
               m = re.search('Duration: (..):(..):(..)\...', line)
               if m is not None: duration= int(m.group(1)) * 3600 + int(m.group(2)) * 60 + int(m.group(3)) + 1
       finally:
           proc.kill()

       return jsonify(duration=duration)

    @app.route('/media/.mp4')
    def media_content_ogv(path):
       d= os.path.abspath( os.path.join( config.media_folder, path ) )
       print d
       if not os.path.isfile( d ): abort(404)
       start= request.args.get("start") or 0
       print start
       def generate():
           cmdline= list()
           cmdline.append( config.ffmpeg )
           cmdline.append( "-i" )
           cmdline.append( d );
           cmdline.append( "-ss" )
           cmdline.append( str(start) );
           cmdline.extend( config.ffmpeg_args )
           print cmdline
           FNULL = open(os.devnull, 'w')
           proc= subprocess.Popen( cmdline, stdout=subprocess.PIPE, stderr=FNULL )
           try:
               f= proc.stdout
               byte = f.read(512)
               while byte:
                   yield byte
                   byte = f.read(512)
           finally:
               proc.kill()

       return Response(response=generate(),status=200,mimetype='video/mp4',headers={'Access-Control-Allow-Origin': '*', "Content-Type":"video/mp4","Content-Disposition":"inline","Content-Transfer-Enconding":"binary"})

    @app.route('/', defaults={"path":"index.html"})
    @app.route('/')
    def static_content(path):
       d= os.path.abspath( os.path.join( config.static_folder, path ) )
       if not os.path.isfile( d ): abort(404)
       return send_file( d )

    app.run( host="0.0.0.0",port=config.port, threaded=True, debug=True )

    config.py

    media_folder=   "media"
    static_folder=  "static"
    port=       8123
    ffmpeg=     "/usr/bin/ffmpeg"

    ffmpeg_args=    [ "-f", "avi" ,"-acodec", "libfdk_aac", "-b:a", "128k", "-vcodec", "libx264", "-b:v", "1200k" , "-flags" , "+aic+mv4", "pipe:1"]

    index.html

       
       <code class="echappe-js">&lt;script src=&quot;http://vjs.zencdn.net/4.5/video.js&quot;&gt;&lt;/script&gt;

    &lt;script src=&quot;http://code.jquery.com/jquery-1.9.1.min.js&quot;&gt;&lt;/script&gt;

    &lt;script&gt;<br />
           var video= videojs('video');<br />
           video.src(&quot;media/testavi.avi.mp4&quot;);<br />
    <br />
           // hack duration<br />
           video.duration= function() { return video.theDuration; };<br />
           video.start= 0;<br />
           video.oldCurrentTime= video.currentTime;<br />
           video.currentTime= function(time) <br />
           { <br />
               if( time == undefined )<br />
               {<br />
                   return video.oldCurrentTime() + video.start;<br />
               }<br />
               console.log(time)<br />
               video.start= time;<br />
               video.oldCurrentTime(0);<br />
               video.src(&quot;media/testavi.avi.mp4?start=&quot; + time);<br />
               video.play();<br />
               return this;<br />
           };<br />
    <br />
           $.getJSON( &quot;media/testavi.avi.js&quot;, function( data ) <br />
           {<br />
               video.theDuration= data.duration;<br />
           });<br />
       &lt;/script&gt;
  • Errors converting EXRs to mp4 with ffmpeg

    3 février 2021, par GaryO

    I'm using ffmpeg 4.3.1 to convert some EXRs to mp4, with tone mapping for the extended range in the source and rec709 conversion for the mp4.

    &#xA;

    I'm using this command :

    &#xA;

    ffmpeg -pattern_type glob  -framerate 24 -i &#x27;frames/*.exr&#x27; -vf zscale=transfer=linear,tonemap=hable,zscale=transfer=bt709,format=yuv420p -c:v libx264 -r 24 -preset slow -crf 18 -pix_fmt yuv420p foo-tonemap-01.mp4&#xA;

    &#xA;

    but it gives me this error :

    &#xA;

    Input #0, image2, from &#x27;frames/*.exr&#x27;:&#xA;  Duration: 00:00:00.08, start: 0.000000, bitrate: N/A&#xA;    Stream #0:0: Video: exr, gbrapf32le, 1920x1080 [SAR 1:1 DAR 16:9], 24 tbr, 24 tbn, 24 tbc&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (exr (native) -> h264 (libx264))&#xA;code 3074: no path between colorspaces&#xA;Error while filtering: Generic error in an external library&#xA;

    &#xA;

    What does that error "no path between colorspaces" mean ? Do I need to tell it what colorspace the EXRs are in (scene-linear RGB) or something ?

    &#xA;

    Complete log :

    &#xA;

    ffmpeg started on 2020-08-05 at 22:22:33&#xA;Report written to "ffmpeg-20200805-222233.log"&#xA;Log level: 48&#xA;Command line:&#xA;ffmpeg -report -y -i frames/0240.exr -vf "zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p" -c:v libx264 -r 24 -preset slow -crf 18 -pix_fmt yuv420p foo-tonemap-01.mp4&#xA;ffmpeg version 4.3.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 8 (Debian 8.3.0-6)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Splitting the commandline.&#xA;Reading option &#x27;-report&#x27; ... matched as option &#x27;report&#x27; (generate a report) with argument &#x27;1&#x27;.&#xA;Reading option &#x27;-y&#x27; ... matched as option &#x27;y&#x27; (overwrite output files) with argument &#x27;1&#x27;.&#xA;Reading option &#x27;-i&#x27; ... matched as input url with argument &#x27;frames/0240.exr&#x27;.&#xA;Reading option &#x27;-vf&#x27; ... matched as option &#x27;vf&#x27; (set video filters) with argument &#x27;zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p&#x27;.&#xA;Reading option &#x27;-c:v&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;libx264&#x27;.&#xA;Reading option &#x27;-r&#x27; ... matched as option &#x27;r&#x27; (set frame rate (Hz value, fraction or abbreviation)) with argument &#x27;24&#x27;.&#xA;Reading option &#x27;-preset&#x27; ... matched as AVOption &#x27;preset&#x27; with argument &#x27;slow&#x27;.&#xA;Reading option &#x27;-crf&#x27; ... matched as AVOption &#x27;crf&#x27; with argument &#x27;18&#x27;.&#xA;Reading option &#x27;-pix_fmt&#x27; ... matched as option &#x27;pix_fmt&#x27; (set pixel format) with argument &#x27;yuv420p&#x27;.&#xA;Reading option &#x27;foo-tonemap-01.mp4&#x27; ... matched as output url.&#xA;Finished splitting the commandline.&#xA;Parsing a group of options: global .&#xA;Applying option report (generate a report) with argument 1.&#xA;Applying option y (overwrite output files) with argument 1.&#xA;Successfully parsed a group of options.&#xA;Parsing a group of options: input url frames/0240.exr.&#xA;Successfully parsed a group of options.&#xA;Opening an input file: frames/0240.exr.&#xA;[NULL @ 0x6db71c0] Opening &#x27;frames/0240.exr&#x27; for reading&#xA;[file @ 0x6db7c80] Setting default whitelist &#x27;file,crypto,data&#x27;&#xA;[exr_pipe @ 0x6db71c0] Format exr_pipe probed with size=2048 and score=51&#xA;[exr_pipe @ 0x6db71c0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1&#xA;[exr_pipe @ 0x6db71c0] parser not found for codec exr, packets or times may be invalid.&#xA;[exr_pipe @ 0x6db71c0] parser not found for codec exr, packets or times may be invalid.&#xA;[exr @ 0x6db92c0] line order: 0.&#xA;[exr_pipe @ 0x6db71c0] After avformat_find_stream_info() pos: 4970635 bytes read:4970635 seeks:0 frames:1&#xA;Input #0, exr_pipe, from &#x27;frames/0240.exr&#x27;:&#xA;  Duration: N/A, bitrate: N/A&#xA;    Stream #0:0, 1, 1/25: Video: exr, gbrapf32le, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc&#xA;Successfully opened the file.&#xA;Parsing a group of options: output url foo-tonemap-01.mp4.&#xA;Applying option vf (set video filters) with argument zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p.&#xA;Applying option c:v (codec name) with argument libx264.&#xA;Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 24.&#xA;Applying option pix_fmt (set pixel format) with argument yuv420p.&#xA;Successfully parsed a group of options.&#xA;Opening an output file: foo-tonemap-01.mp4.&#xA;[file @ 0x6e0a0c0] Setting default whitelist &#x27;file,crypto,data&#x27;&#xA;Successfully opened the file.&#xA;detected 32 logical cores&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (exr (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)&#xA;cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)&#xA;[exr @ 0x6dbe700] line order: 0.&#xA;[Parsed_zscale_0 @ 0x725c4c0] Setting &#x27;transfer&#x27; to value &#x27;linear&#x27;&#xA;[Parsed_tonemap_1 @ 0x725c940] Setting &#x27;tonemap&#x27; to value &#x27;clip&#x27;&#xA;[Parsed_zscale_2 @ 0x725d380] Setting &#x27;transfer&#x27; to value &#x27;bt709&#x27;&#xA;[Parsed_format_3 @ 0x725e100] Setting &#x27;pix_fmts&#x27; to value &#x27;yuv420p&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x725eb40] Setting &#x27;video_size&#x27; to value &#x27;1920x1080&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x725eb40] Setting &#x27;pix_fmt&#x27; to value &#x27;180&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x725eb40] Setting &#x27;time_base&#x27; to value &#x27;1/25&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x725eb40] Setting &#x27;pixel_aspect&#x27; to value &#x27;1/1&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x725eb40] Setting &#x27;frame_rate&#x27; to value &#x27;25/1&#x27;&#xA;[graph 0 input from stream 0:0 @ 0x725eb40] w:1920 h:1080 pixfmt:gbrapf32le tb:1/25 fr:25/1 sar:1/1&#xA;[format @ 0x725fc00] Setting &#x27;pix_fmts&#x27; to value &#x27;yuv420p&#x27;&#xA;[AVFilterGraph @ 0x6dc0000] query_formats: 7 queried, 6 merged, 0 already done, 0 delayed&#xA;[Parsed_zscale_0 @ 0x725c4c0] w:1920 h:1080 fmt:gbrapf32le sar:1/1 -> w:1920 h:1080 fmt:gbrapf32le sar:1/1&#xA;[Parsed_zscale_2 @ 0x725d380] w:1920 h:1080 fmt:gbrapf32le sar:1/1 -> w:1920 h:1080 fmt:yuv420p sar:1/1&#xA;[Parsed_zscale_0 @ 0x725c4c0] w:1920 h:1080 fmt:gbrapf32le sar:1/1 -> w:1920 h:1080 fmt:gbrapf32le sar:1/1&#xA;code 3074: no path between colorspaces&#xA;Error while filtering: Generic error in an external library&#xA;Failed to inject frame into filter network: Generic error in an external library&#xA;Error while processing the decoded data for stream #0:0&#xA;[AVIOContext @ 0x6e08a80] Statistics: 0 seeks, 0 writeouts&#xA;[AVIOContext @ 0x6dc00c0] Statistics: 4970635 bytes read, 0 seeks&#xA;Conversion failed!&#xA;

    &#xA;

  • ffmpeg : unable to use hardware encoder h264_rkmpp with software decoded ATSC OTA transmission

    20 août 2020, par Brad Bruggemann

    When attempting to hardware encode to h264 using the Rockchip MPP encoder h264_rkmpp from an ATSC source, FFMPEG errors out with :

    &#xA;

    "Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0'"

    &#xA;

    The sample file used in this example can be downloaded here : https://transfer.sh/BRMej/out.ts

    &#xA;

    The full command used and resulting output is as follows :

    &#xA;

    $ ffmpeg -loglevel 48 -c:v mpeg2video -f mpegts -i out.ts -f mp4 -c:v h264_rkmpp -c:a libfdk_aac -preset ultrafast -mbd rd -copyinkf -flags &#x2B;ilme&#x2B;ildct -fflags &#x2B;genpts out.mp4 -y&#xA;&#xA;ffmpeg version N-98732-g9f702fc8f4 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.0 (GCC)&#xA;  configuration: --prefix=/usr/local --extra-libs=&#x27;-lpthread -lm&#x27; --enable-hardcoded-tables --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-rkmpp --enable-version3 --enable-libdrm --enable-libx265 --enable-nonfree&#xA;  libavutil      56. 58.100 / 56. 58.100&#xA;  libavcodec     58.100.100 / 58.100.100&#xA;  libavformat    58. 51.100 / 58. 51.100&#xA;  libavdevice    58. 11.101 / 58. 11.101&#xA;  libavfilter     7. 87.100 /  7. 87.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;&#xA;Splitting the commandline.&#xA;Reading option &#x27;-loglevel&#x27; ... matched as option &#x27;loglevel&#x27; (set logging level) with argument &#x27;48&#x27;.&#xA;Reading option &#x27;-c:v&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;mpeg2video&#x27;.&#xA;Reading option &#x27;-f&#x27; ... matched as option &#x27;f&#x27; (force format) with argument &#x27;mpegts&#x27;.&#xA;Reading option &#x27;-i&#x27; ... matched as input url with argument &#x27;out.ts&#x27;.&#xA;Reading option &#x27;-f&#x27; ... matched as option &#x27;f&#x27; (force format) with argument &#x27;mp4&#x27;.&#xA;Reading option &#x27;-c:v&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;h264_rkmpp&#x27;.&#xA;Reading option &#x27;-c:a&#x27; ... matched as option &#x27;c&#x27; (codec name) with argument &#x27;libfdk_aac&#x27;.&#xA;Reading option &#x27;-preset&#x27; ... matched as AVOption &#x27;preset&#x27; with argument &#x27;ultrafast&#x27;.&#xA;Reading option &#x27;-mbd&#x27; ... matched as AVOption &#x27;mbd&#x27; with argument &#x27;rd&#x27;.&#xA;Reading option &#x27;-copyinkf&#x27; ... matched as option &#x27;copyinkf&#x27; (copy initial non-keyframes) with argument &#x27;1&#x27;.&#xA;Reading option &#x27;-flags&#x27; ... matched as AVOption &#x27;flags&#x27; with argument &#x27;&#x2B;ilme&#x2B;ildct&#x27;.&#xA;Reading option &#x27;-fflags&#x27; ... matched as AVOption &#x27;fflags&#x27; with argument &#x27;&#x2B;genpts&#x27;.&#xA;Reading option &#x27;out.mp4&#x27; ... matched as output url.&#xA;Reading option &#x27;-y&#x27; ... matched as option &#x27;y&#x27; (overwrite output files) with argument &#x27;1&#x27;.&#xA;Finished splitting the commandline.&#xA;Parsing a group of options: global .&#xA;Applying option loglevel (set logging level) with argument 48.&#xA;Applying option y (overwrite output files) with argument 1.&#xA;Successfully parsed a group of options.&#xA;Parsing a group of options: input url out.ts.&#xA;Applying option c:v (codec name) with argument mpeg2video.&#xA;Applying option f (force format) with argument mpegts.&#xA;Successfully parsed a group of options.&#xA;Opening an input file: out.ts.&#xA;[mpegts @ 0xaaaaec9acf20] Opening &#x27;out.ts&#x27; for reading&#xA;[file @ 0xaaaaec9ad830] Setting default whitelist &#x27;file,crypto,data&#x27;&#xA;[mpegts @ 0xaaaaec9acf20] Before avformat_find_stream_info() pos: 0 bytes read:5013504 seeks:1 nb_streams:0&#xA;[mpegts @ 0xaaaaec9acf20] stream=0 stream_type=0 pid=31 prog_reg_desc=&#xA;[mpegts @ 0xaaaaec9acf20] probing stream 0 pp:2500&#xA;[mpegts @ 0xaaaaec9acf20] Probe with size=204749, packets=1 detected mpegvideo with score=25&#xA;[mpegts @ 0xaaaaec9acf20] probed stream 0&#xA;[mpegts @ 0xaaaaec9acf20] stream=1 stream_type=0 pid=34 prog_reg_desc=&#xA;[mpeg2video @ 0xaaaaec9cb7d0] Format yuv420p chosen by get_format().&#xA;[mpegts @ 0xaaaaec9acf20] probing stream 1 pp:2500&#xA;[mpegts @ 0xaaaaec9acf20] Probe with size=7680, packets=1 detected ac3 with score=25&#xA;[mpegts @ 0xaaaaec9acf20] probed stream 1&#xA;[mpegts @ 0xaaaaec9acf20] max_analyze_duration 5000000 reached at 5005000 microseconds st:0&#xA;[mpegts @ 0xaaaaec9acf20] PES packet size mismatch&#xA;[mpegts @ 0xaaaaec9acf20] Packet corrupt (stream = 1, dts = 2632691898).&#xA;[mpegts @ 0xaaaaec9acf20] After avformat_find_stream_info() pos: 0 bytes read:9195664 seeks:3 frames:306&#xA;Input #0, mpegts, from &#x27;out.ts&#x27;:&#xA;  Duration: 00:00:18.42, start: 29234.532200, bitrate: 5406 kb/s&#xA;    Stream #0:0[0x31], 152, 1/90000: Video: mpeg2video (Main), 1 reference frame, yuv420p(yuv420p) (tv, bt709, top first, left), 1920x1080 [SAR 1:1 DAR 16:9], 0/1, Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 15000000/0/0 buffer size: 7995392 vbv_delay: N/A&#xA;    Stream #0:1[0x34], 154, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s&#xA;Successfully opened the file.&#xA;Parsing a group of options: output url out.mp4.&#xA;Applying option f (force format) with argument mp4.&#xA;Applying option c:v (codec name) with argument h264_rkmpp.&#xA;Applying option c:a (codec name) with argument libfdk_aac.&#xA;Applying option copyinkf (copy initial non-keyframes) with argument 1.&#xA;Successfully parsed a group of options.&#xA;Opening an output file: out.mp4.&#xA;Codec AVOption preset (Set the encoding preset (cf. x264 --fullhelp)) specified for output file #0 (out.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;[file @ 0xaaaaec9cef20] Setting default whitelist &#x27;file,crypto,data&#x27;&#xA;Successfully opened the file.&#xA;detected 4 logical cores&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_rkmpp))&#xA;  Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))&#xA;Press [q] to stop, [?] for help&#xA;cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)&#xA;[mpeg2video @ 0xaaaaec9cf7b0] Format yuv420p chosen by get_format().&#xA;cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)&#xA;[mpeg2video @ 0xaaaaec9cf7b0] Skipping B slice due to open GOP&#xA;    Last message repeated 67 times&#xA;cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)&#xA;[mpeg2video @ 0xaaaaec9cf7b0] Skipping B slice due to open GOP&#xA;    Last message repeated 67 times&#xA;cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)&#xA;[graph 0 input from stream 0:0 @ 0xaaaaecd8c290] Setting &#x27;video_size&#x27; to value &#x27;1920x1080&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xaaaaecd8c290] Setting &#x27;pix_fmt&#x27; to value &#x27;0&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xaaaaecd8c290] Setting &#x27;time_base&#x27; to value &#x27;1/90000&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xaaaaecd8c290] Setting &#x27;pixel_aspect&#x27; to value &#x27;1/1&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xaaaaecd8c290] Setting &#x27;frame_rate&#x27; to value &#x27;30000/1001&#x27;&#xA;[graph 0 input from stream 0:0 @ 0xaaaaecd8c290] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:30000/1001 sar:1/1&#xA;[format @ 0xaaaaecadf950] Setting &#x27;pix_fmts&#x27; to value &#x27;drm_prime&#x27;&#xA;[auto_scaler_0 @ 0xaaaaecd80070] Setting &#x27;flags&#x27; to value &#x27;bicubic&#x27;&#xA;[auto_scaler_0 @ 0xaaaaecd80070] w:iw h:ih flags:&#x27;bicubic&#x27; interl:0&#xA;[format @ 0xaaaaecadf950] auto-inserting filter &#x27;auto_scaler_0&#x27; between the filter &#x27;Parsed_null_0&#x27; and the filter &#x27;format&#x27;&#xA;Impossible to convert between the formats supported by the filter &#x27;Parsed_null_0&#x27; and the filter &#x27;auto_scaler_0&#x27;&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Function not implemented&#xA;Error while processing the decoded data for stream #0:0&#xA;[AVIOContext @ 0xaaaaec9cf190] Statistics: 0 seeks, 0 writeouts&#xA;[AVIOContext @ 0xaaaaec9b5900] Statistics: 9556112 bytes read, 3 seeks&#xA;Conversion failed!&#xA;

    &#xA;