Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (19)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • 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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (4236)

  • FFMPEG conversion error from MKV to MP4 using libfdk_aac codec

    23 août 2014, par Charlie Brown

    The purpose of doing this is because my "Smart" samsung TV doesn’t play MKV files.

    This thread mentions that there is no need for video conversion, just changing the container might suffice. After reading multiple threads on how to change the container of MKV to MP4, I downloaded and compiled the FFMPEG with libfdk_aac support from here. I tried converting a sample MKV file using this command :

    ffmpeg -i "C:\VideoTest\Sample1.mkv" -c:v copy -c:a libfdk_aac -b:a 384k "C:\VideoTest\Sample2.mp4"

    but getting the following errors (copied from command prompt) :

    [hevc @ 0000000000308ae0] Could not find ref with POC 113
    [hevc @ 0000000000308ae0] Could not find ref with POC 111
    [hevc @ 0000000000308ae0] Could not find ref with POC 109
    [hevc @ 0000000000308ae0] Could not find ref with POC 107
    Input #0, matroska,webm, from 'C:\VideoTest\Sample-1.mk
    v':
     Metadata:
       encoder         : libebml v1.3.0 + libmatroska v1.4.1
       creation_time   : 2014-07-16 08:54:02
     Duration: 00:00:58.68, start: 0.042000, bitrate: 3520 kb/s
       Chapter #0.0: start 0.000000, end 58.717000
       Metadata:
         title           : Chapter 4
       Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x816, SAR 1:1 DAR 40:17, 2
    4 fps, 24 tbr, 1k tbn, 1k tbc (default)
       Metadata:
         _STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 64bit built on
    Jun  9 2014 15:16:27
         _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 64bit buil
    t on Jun  9 2014 15:16:27
         _STATISTICS_WRITING_DATE_UTC: 2014-07-16 08:54:02
         _STATISTICS_WRITING_DATE_UTC-eng: 2014-07-16 08:54:02
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         BPS             : 2733260
         BPS-eng         : 2733260
         DURATION        : 00:00:58.667000000
         DURATION-eng    : 00:00:58.667000000
         NUMBER_OF_FRAMES: 1408
         NUMBER_OF_FRAMES-eng: 1408
         NUMBER_OF_BYTES : 20044023
         NUMBER_OF_BYTES-eng: 20044023
       Stream #0:1: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s (default)

       Metadata:
         _STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 64bit built on
    Jun  9 2014 15:16:27
         _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 64bit buil
    t on Jun  9 2014 15:16:27
         _STATISTICS_WRITING_DATE_UTC: 2014-07-16 08:54:02
         _STATISTICS_WRITING_DATE_UTC-eng: 2014-07-16 08:54:02
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         BPS             : 767986
         BPS-eng         : 767986
         DURATION        : 00:00:58.625000000
         DURATION-eng    : 00:00:58.625000000
         NUMBER_OF_FRAMES: 5496
         NUMBER_OF_FRAMES-eng: 5496
         NUMBER_OF_BYTES : 5627904
         NUMBER_OF_BYTES-eng: 5627904
       Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 (default)
       Metadata:
         _STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 64bit built on
    Jun  9 2014 15:16:27
         _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 64bit buil
    t on Jun  9 2014 15:16:27
         _STATISTICS_WRITING_DATE_UTC: 2014-07-16 08:54:02
         _STATISTICS_WRITING_DATE_UTC-eng: 2014-07-16 08:54:02
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         BPS             : 17485
         BPS-eng         : 17485
         DURATION        : 00:00:56.750000000
         DURATION-eng    : 00:00:56.750000000
         NUMBER_OF_FRAMES: 40
         NUMBER_OF_FRAMES-eng: 40
         NUMBER_OF_BYTES : 124036
         NUMBER_OF_BYTES-eng: 124036
    Output #0, mp4, to 'C:\VideoTest\Sample.mp4':
     Metadata:
       encoder         : Lavf56.1.100
       Chapter #0.0: start 0.000000, end 58.675000
       Metadata:
         title           : Chapter 4
       Stream #0:0: Video: hevc ([35][0][0][0] / 0x0023), yuv420p, 1920x816 [SAR 1:
    1 DAR 40:17], q=2-31, 24 fps, 16k tbn, 1k tbc (default)
       Metadata:
         _STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 64bit built on
    Jun  9 2014 15:16:27
         _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 64bit buil
    t on Jun  9 2014 15:16:27
         _STATISTICS_WRITING_DATE_UTC: 2014-07-16 08:54:02
         _STATISTICS_WRITING_DATE_UTC-eng: 2014-07-16 08:54:02
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         BPS             : 2733260
         BPS-eng         : 2733260
         DURATION        : 00:00:58.667000000
         DURATION-eng    : 00:00:58.667000000
         NUMBER_OF_FRAMES: 1408
         NUMBER_OF_FRAMES-eng: 1408
         NUMBER_OF_BYTES : 20044023
         NUMBER_OF_BYTES-eng: 20044023
       Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 48000 Hz, 5.1
    , s16, 128 kb/s (default)
       Metadata:
         _STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 64bit built on
    Jun  9 2014 15:16:27
         _STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 64bit buil
    t on Jun  9 2014 15:16:27
         _STATISTICS_WRITING_DATE_UTC: 2014-07-16 08:54:02
         _STATISTICS_WRITING_DATE_UTC-eng: 2014-07-16 08:54:02
         _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
         BPS             : 767986
         BPS-eng         : 767986
         DURATION        : 00:00:58.625000000
         DURATION-eng    : 00:00:58.625000000
         NUMBER_OF_FRAMES: 5496
         NUMBER_OF_FRAMES-eng: 5496
         NUMBER_OF_BYTES : 5627904
         NUMBER_OF_BYTES-eng: 5627904
         encoder         : Lavc56.0.101 libfdk_aac
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (dts (dca) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [mp4 @ 0000000003be0500] Invalid DTS: 656 PTS: -672 in output stream 0:0
    av_interleaved_write_frame(): Invalid argument
    [libfdk_aac @ 00000000042fa640] Trying to remove 1024 samples, but the queue is
    empty
    [mp4 @ 0000000003be0500] Encoder did not produce proper pts, making some up.
    [libfdk_aac @ 00000000042fa640] Trying to remove 1024 samples, but the queue is
    empty
    frame=    2 fps=0.0 q=-1.0 Lsize=      96kB time=00:00:00.04 bitrate=18415.0kbit
    s/s
    video:95kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing ov
    erhead: 0.570364%
    Conversion failed!

    Also tried using this command :

    ffmpeg -i input.wav -c:a libfdk_aac -b:a 128k output.mp4

    But this screws up the video quality and I start seeing some bad pixelated patches during the playback.

    Any help would be appreciated.

    Just an FYI : I got this far by reading blogs and posts. I have 0 knowledge about video conversion.

  • ffmpeg command failed

    25 octobre 2015, par Asad kamran

    I am experimenting FFMPEG command to convert any video format to mp4.

    Server admin execute the below command created by me and show me the errors :

    ffmpeg -ss 00:03:00  -i  /video/1444107854.mov -c:v libx264 /video/player/1444107854.mp4  -vframes 1 /video/thumb/1444107854.jpg

    This is error :

    [aac @ 0x2b845a0] The encoder ’aac’ is experimental but experimental
    codecs are not enabled, add ’-strict -2’ if you want to use it.

    how can i avoid this error and also experimental codec, so can any one let me know what can be best codec if i explicitly specify it.

    my ffmpeg and server are as follow :

    ffmpeg version N-75903-g14573b9 Copyright (c) 2000-2015 the FFmpeg
    developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)

    EDIT 1 :
    I change the command a bit and add -c:a copy to copy audio stream as it is but still no hope :

    New command :

    ffmpeg -ss 00:03:00  -i  /video/1444107854.mov -c:v libx264 -c:a copy /video/player/1444107854.mp4  -vframes 1 /video/thumb/1444107854.jpg

    After executing this i got a file of 23k size, apparently as in log it only copy audio stream and no video is added in final output.
    Its Log is as follow :

    > ffmpeg version N-75903-g14573b9 Copyright (c) 2000-2015 the FFmpeg
    > developers   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)  
    > configuration: --enable-libx264 --enable-gpl   libavutil      55.
    > 3.100 / 55.  3.100   libavcodec     57.  5.100 / 57.  5.100   libavformat    57.  3.100 / 57.  3.100   libavdevice    57.  0.100 /
    > 57.  0.100   libavfilter     6. 10.100 /  6. 10.100   libswscale      4.  0.100 /  4.  0.100   libswresample   2.  0.100 /  2.  0.100   libpostproc    54.  0.100 / 54.  0.100 Input #0, mpeg, from
    > '/video/1444108714.mpg':  
    > Duration: 00:00:02.14, start: 0.184278, bitrate: 15689 kb/s
    >     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], max. 38810 kb/s, 29.97 fps, 29.97 tbr,
    > 90k tbn, 59.94 tbc
    >     Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s [swscaler @ 0x347fda0] deprecated pixel format used, make sure you did
    > set range correctly [libx264 @ 0x34708a0] using SAR=1/1 [libx264 @
    > 0x34708a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 [libx264
    > @ 0x34708a0] profile High, level 4.0 [libx264 @ 0x34708a0] 264 - core
    > 148 r2597 e86f3a1 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 -
    > 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=34
    > lookahead_threads=5 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 [mp4 @ 0x346f6c0] Codec for stream 1 does not use global
    > headers but container format requires global headers [mp4 @ 0x346f6c0]
    > track 1: codec frame size is not set Output #0, mp4, to
    > '/video/player/1444108714.mp4':  
    > Metadata:
    >     encoder         : Lavf57.3.100
    >     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn,
    > 29.97 tbc
    >     Metadata:
    >       encoder         : Lavc57.5.100 libx264
    >     Stream #0:1: Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, 5.1(side), 448 kb/s Output #1, image2, to '/video/thumb/1444108714.jpg':  
    > Metadata:
    >     encoder         : Lavf57.3.100
    >     Stream #1:0: Video: mjpeg, yuvj420p(pc), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    >     Metadata:
    >       encoder         : Lavc57.5.100 mjpeg Stream mapping:   Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))   Stream #0:1 -> #0:1 (copy)   Stream #0:0 -> #1:0 (mpeg2video (native) -> mjpeg (native)) Press [q] to stop, [?] for help [mp4 @ 0x346f6c0]
    > Non-monotonous DTS in output stream 0:1; previous: 2208, current: 672;
    > changing to 2209. This may result in incorrect timestamps in the
    > output file. frame=    0 fps=0.0 q=0.0 Lq=0.0 size=      23kB
    > time=00:00:00.07 bitrate=2447.5kbits/s video:0kB audio:23kB
    > subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
    > 3.457839%

    EDIT 2 :

    ffmpeg -y -i ./1445675270.m4b -c:v libx264  -crf 20 -preset slow -pix_fmt yuv420p -movflags +faststart -c:a libfdk_aac -b:a 128k  ./player/1445675270.mp4 -vframes 1 ./thumb/1445675270.jpg

    Above command output the below message, i will appreciate if you can suggest.

    ffmpeg version git-2015-10-11-49f4967 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
     configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
     libavutil      55.  3.100 / 55.  3.100
     libavcodec     57.  5.100 / 57.  5.100
     libavformat    57.  3.100 / 57.  3.100
     libavdevice    57.  0.100 / 57.  0.100
     libavfilter     6. 11.100 /  6. 11.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.100 /  2.  0.100
     libpostproc    54.  0.100 / 54.  0.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x31e07c0] stream 0, timescale not set
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './1445675270.m4b':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       creation_time   : 2005-08-01 07:26:16
       tool            : ?
       title           : MAKE_2005-08-01
       artist          : MAKE Magazine
       composer        : MAKE Magazine - Phillip Torrone
       album           : Interview with Janus Wireless
       grouping        : MAKE Magazine enhanced podcast
       genre           : Podcast
       date            : 2005
       comment         : Interview with Janus wireless and their 5 Wi-Fi card packet capturing Linux box. This is a special enhanced podcast (this file plays images and links in iTunes and on iPod color devices).
     Duration: 00:02:57.54, start: 0.000000, bitrate: 162 kb/s
       Chapter #0:0: start 0.000000, end 17.000000
       Metadata:
         title           : MAKE Magazine @ DEFCON with JANUS
       Chapter #0:1: start 17.000000, end 37.000000
       Metadata:
         title           : Janus
       Chapter #0:2: start 37.000000, end 83.000000
       Metadata:
         title           : Construction
       Chapter #0:3: start 83.000000, end 109.000000
       Metadata:
         title           : The MAKERs
       Chapter #0:4: start 109.000000, end 177.540000
       Metadata:
         title           : Display
       Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 32 kb/s (default)
       Metadata:
         creation_time   : 2005-08-01 07:26:16
         handler_name    : ?Apple Alias Data Handler
       Stream #0:1(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s
       Metadata:
         creation_time   : 2005-08-01 07:26:16
         handler_name    : ?Apple Alias Data Handler
       Stream #0:2(eng): Video: tiff (tiff / 0x66666974), rgb24, 167x166, 126 kb/s, SAR 206:275 DAR 17201:22825, 0.03 fps, 1 tbr, 22050 tbn, 22050 tbc (default)
       Metadata:
         creation_time   : 2005-08-01 07:26:16
         handler_name    : ?Apple Alias Data Handler
         encoder         : TIFF (Uncompressed)
       Stream #0:3(eng): Subtitle: mov_text (tx3g / 0x67337874), 160x160, 0 kb/s (default)
       Metadata:
         creation_time   : 2005-08-01 07:26:16
         handler_name    : ?Apple Alias Data Handler
       Stream #0:4: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 167x166 [SAR 1:1 DAR 167:166], 90k tbr, 90k tbn, 90k tbc
    [swscaler @ 0x3242360] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0x3228c40] width not divisible by 2 (167x166)
    Output #0, mp4, to './player/1445675270.mp4':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       comment         : Interview with Janus wireless and their 5 Wi-Fi card packet capturing Linux box. This is a special enhanced podcast (this file plays images and links in iTunes and on iPod color devices).
       tool            : ?
       title           : MAKE_2005-08-01
       artist          : MAKE Magazine
       composer        : MAKE Magazine - Phillip Torrone
       album           : Interview with Janus Wireless
       grouping        : MAKE Magazine enhanced podcast
       genre           : Podcast
       date            : 2005
       Chapter #0:0: start 0.000000, end 17.000000
       Metadata:
         title           : MAKE Magazine @ DEFCON with JANUS
       Chapter #0:1: start 17.000000, end 37.000000
       Metadata:
         title           : Janus
       Chapter #0:2: start 37.000000, end 83.000000
       Metadata:
         title           : Construction
       Chapter #0:3: start 83.000000, end 109.000000
       Metadata:
         title           : The MAKERs
       Chapter #0:4: start 109.000000, end 177.540000
       Metadata:
         title           : Display
       Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 206:275 DAR 0:0, 1 fps (default)
       Metadata:
         creation_time   : 2005-08-01 07:26:16
         handler_name    : ?Apple Alias Data Handler
         encoder         : Lavc57.5.100 libx264
       Stream #0:1(eng): Audio: aac, 0 channels, 128 kb/s (default)
       Metadata:
         creation_time   : 2005-08-01 07:26:16
         handler_name    : ?Apple Alias Data Handler
         encoder         : Lavc57.5.100 libfdk_aac
    Output #1, image2, to './thumb/1445675270.jpg':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       comment         : Interview with Janus wireless and their 5 Wi-Fi card packet capturing Linux box. This is a special enhanced podcast (this file plays images and links in iTunes and on iPod color devices).
       tool            : ?
       title           : MAKE_2005-08-01
       artist          : MAKE Magazine
       composer        : MAKE Magazine - Phillip Torrone
       album           : Interview with Janus Wireless
       grouping        : MAKE Magazine enhanced podcast
       genre           : Podcast
       date            : 2005
       Chapter #1:0: start 0.000000, end 17.000000
       Metadata:
         title           : MAKE Magazine @ DEFCON with JANUS
       Chapter #1:1: start 17.000000, end 37.000000
       Metadata:
         title           : Janus
       Chapter #1:2: start 37.000000, end 83.000000
       Metadata:
         title           : Construction
       Chapter #1:3: start 83.000000, end 109.000000
       Metadata:
         title           : The MAKERs
       Chapter #1:4: start 109.000000, end 177.540000
       Metadata:
         title           : Display
       Stream #1:0(eng): Video: mjpeg, none, q=2-31, 128 kb/s, SAR 206:275 DAR 0:0, 1 fps (default)
       Metadata:
         creation_time   : 2005-08-01 07:26:16
         handler_name    : ?Apple Alias Data Handler
         encoder         : Lavc57.5.100 mjpeg
    Stream mapping:
     Stream #0:2 -> #0:0 (tiff (native) -> h264 (libx264))
     Stream #0:0 -> #0:1 (aac (native) -> aac (libfdk_aac))
     Stream #0:2 -> #1:0 (tiff (native) -> mjpeg (native))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • Touble when excuting the same ffmpeg command for many times

    4 janvier 2015, par morndust

    Decription

    when using the same ffmpeg command for a couple of times, some of those will succeed, but, some of those would failed, ffmpeg report Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height or Invalid data found when processing input error.

    Input

    ffprobe

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/2137b8d42dcf4607a625755994133e69':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.4.101
     Duration: 00:01:00.02, start: 0.021333, bitrate: N/A
       Chapter #0.0: start 0.000000, end 60.000000
       Metadata:
         title           : 00:00:00.000
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x798 [SAR 1:1 DAR 320:133], 3255 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s
       Metadata:
         handler_name    : SubtitleHandler

    Command

    /usr/local/bin/ffmpeg -i /tmp/2137b8d42dcf4607a625755994133e69 -f mp4 -b:v 3000k -r 24.0 -map_metadata -1 -vf scale=50:50 -y /tmp/foo.mp4

    Detail

    when i excute same command above 10 times, error would occur like 3 - 4 times.

    At the end, thanks for reading anyway, any answer would be appriciated.