[FFmpeg-user] 4K Way to large to stream

rbarnes at njdevils.net rbarnes at njdevils.net
Mon Jun 28 22:47:55 EEST 2021


Hello All,

 

I have a 4K Video that plays fine on my ROKU Stick through my PLEX Server on
my internal Network.  Nice, Crisp and clear.

 

Here is my dilemma and hopefully this Mail group is my solution.

 

My Daughter and I are visiting Grandma in Florida for the entire month of
July, However, I want to stream this move there so we can all watch it
together.

It is way too big.  The video is 50GB.  I have tried to shrink it down using
this script.

 

ffmpeg -i Family_Fun.mkv -c:v libx265 -crf 26 -preset medium -c: aac -b:a
128k Family_Fun.mp4

 

So far.

It took 24+ Hours to finish.  The file size went from 50GB to 38GB.  Still
way too big to stream.

 

Can someone offer a better script than what I'm using.  Below is the output
from FFPROBE

 

Thanks,

 

-Ron

 

 

Microsoft Windows [Version 10.0.19042.1052]

(c) Microsoft Corporation. All rights reserved.

 

C:\>ffprobe -i Family_Fun.mkv

 

ffprobe version 4.4-full_build-www.gyan.dev Copyright (c) 2007-2021 the
FFmpeg developers

  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)

  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv
--enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma
--enable-libsnappy --enable-zlib --enable-librist --enable-libsrt
--enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray
--enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi
--enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg
--enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype
--enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl
--enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine
--enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus
--enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b
--enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr
--enable-chromaprint

  libavutil      56. 70.100 / 56. 70.100

  libavcodec     58.134.100 / 58.134.100

  libavformat    58. 76.100 / 58. 76.100

  libavdevice    58. 13.100 / 58. 13.100

  libavfilter     7.110.100 /  7.110.100

  libswscale      5.  9.100 /  5.  9.100

  libswresample   3.  9.100 /  3.  9.100

  libpostproc    55.  9.100 / 55.  9.100

[matroska,webm @ 000001fd4e50ac80] Stream #13: not enough frames to estimate
rate; consider increasing probesize

[matroska,webm @ 000001fd4e50ac80] Stream #14: not enough frames to estimate
rate; consider increasing probesize

[matroska,webm @ 000001fd4e50ac80] Stream #15: not enough frames to estimate
rate; consider increasing probesize

[matroska,webm @ 000001fd4e50ac80] Stream #16: not enough frames to estimate
rate; consider increasing probesize

[matroska,webm @ 000001fd4e50ac80] Could not find codec parameters for
stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options

[matroska,webm @ 000001fd4e50ac80] Could not find codec parameters for
stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options

[matroska,webm @ 000001fd4e50ac80] Could not find codec parameters for
stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options

[matroska,webm @ 000001fd4e50ac80] Could not find codec parameters for
stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options

[matroska,webm @ 000001fd4e50ac80] Could not find codec parameters for
stream 10 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options

[matroska,webm @ 000001fd4e50ac80] Could not find codec parameters for
stream 11 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options

[matroska,webm @ 000001fd4e50ac80] Could not find codec parameters for
stream 12 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options

Input #0, matroska,webm, from 'Family_Fun.mkv':

  Metadata:

    title           : Family_Fun

    encoder         : libebml v1.3.6 + libmatroska v1.4.9

    creation_time   : 2019-03-07T18:09:14.000000Z

  Duration: 02:13:50.01, start: 0.000000, bitrate: 49351 kb/s

  Chapters:

    Chapter #0:0: start 0.000000, end 435.309867

      Metadata:

        title           : Chapter 1

    Chapter #0:1: start 435.309867, end 1299.381400

      Metadata:

        title           : Chapter 2

    Chapter #0:2: start 1299.381400, end 1976.849867

      Metadata:

        title           : Chapter 3

    Chapter #0:3: start 1976.849867, end 2501.123622

      Metadata:

        title           : Chapter 4

    Chapter #0:4: start 2501.123622, end 3026.189822

      Metadata:

        title           : Chapter 5

    Chapter #0:5: start 3026.189822, end 3501.539689

      Metadata:

        title           : Chapter 6

    Chapter #0:6: start 3501.539689, end 4322.860200

      Metadata:

        title           : Chapter 7

    Chapter #0:7: start 4322.860200, end 4823.610444

      Metadata:

        title           : Chapter 8

    Chapter #0:8: start 4823.610444, end 5690.059356

      Metadata:

        title           : Chapter 9

    Chapter #0:9: start 5690.059356, end 6188.557356

      Metadata:

        title           : Chapter 10

    Chapter #0:10: start 6188.557356, end 6702.237200

      Metadata:

        title           : Chapter 11

    Chapter #0:11: start 6702.237200, end 7231.641067

      Metadata:

        title           : Chapter 12

    Chapter #0:12: start 7231.641067, end 8030.006000

      Metadata:

        title           : Chapter 13

  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 3840x1600 [SAR 1:1
DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)

    Metadata:

      title           : Family_Fun

      BPS-eng         : 41787398

      DURATION-eng    : 02:13:49.981000000

      NUMBER_OF_FRAMES-eng: 192527

      NUMBER_OF_BYTES-eng: 41944001708

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)

    Metadata:

      title           : Family_Fun

      BPS-eng         : 3457148

      DURATION-eng    : 02:13:49.981000000

      NUMBER_OF_FRAMES-eng: 9635977

      NUMBER_OF_BYTES-eng: 3470104716

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:2(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit)

    Metadata:

      title           : Family_Fun

      BPS-eng         : 3537784

      DURATION-eng    : 02:13:50.006000000

      NUMBER_OF_FRAMES-eng: 752813

      NUMBER_OF_BYTES-eng: 3551053572

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:3(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s

    Metadata:

      title           : Family_Fun

      BPS-eng         : 448000

      DURATION-eng    : 02:13:49.984000000

      NUMBER_OF_FRAMES-eng: 250937

      NUMBER_OF_BYTES-eng: 449679104

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:4(eng): Subtitle: subrip (default)

    Metadata:

      title           : English-SRT

      BPS-eng         : 41

      DURATION-eng    : 02:03:12.594000000

      NUMBER_OF_FRAMES-eng: 1265

      NUMBER_OF_BYTES-eng: 37943

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:5(eng): Subtitle: subrip

    Metadata:

      title           : English-SDH-SRT

      BPS-eng         : 43

      DURATION-eng    : 02:13:38.718000000

      NUMBER_OF_FRAMES-eng: 1506

      NUMBER_OF_BYTES-eng: 43343

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle

    Metadata:

      title           : English-PGS

      BPS-eng         : 27814

      DURATION-eng    : 02:13:38.719000000

      NUMBER_OF_FRAMES-eng: 3012

      NUMBER_OF_BYTES-eng: 27879640

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:7(fre): Subtitle: hdmv_pgs_subtitle

    Metadata:

      title           : French-PGS

      BPS-eng         : 21045

      DURATION-eng    : 02:12:56.677000000

      NUMBER_OF_FRAMES-eng: 2504

      NUMBER_OF_BYTES-eng: 20984064

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:8(spa): Subtitle: hdmv_pgs_subtitle

    Metadata:

      title           : Spanish-PGS

      BPS-eng         : 22907

      DURATION-eng    : 02:12:56.594000000

      NUMBER_OF_FRAMES-eng: 2496

      NUMBER_OF_BYTES-eng: 22840611

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:9(por): Subtitle: hdmv_pgs_subtitle

    Metadata:

      title           : Portuguese-PGS

      BPS-eng         : 22614

      DURATION-eng    : 02:12:56.594000000

      NUMBER_OF_FRAMES-eng: 2508

      NUMBER_OF_BYTES-eng: 22547985

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:10(ara): Subtitle: hdmv_pgs_subtitle

    Metadata:

      title           : Arabic-PGS

      BPS-eng         : 13135

      DURATION-eng    : 02:12:56.594000000

      NUMBER_OF_FRAMES-eng: 2512

      NUMBER_OF_BYTES-eng: 13096969

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:11(gre): Subtitle: hdmv_pgs_subtitle

    Metadata:

      title           : Greek-PGS

      BPS-eng         : 22685

      DURATION-eng    : 02:12:56.594000000

      NUMBER_OF_FRAMES-eng: 2500

      NUMBER_OF_BYTES-eng: 22619123

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:12(tur): Subtitle: hdmv_pgs_subtitle

    Metadata:

      title           : Turkish-PGS

      BPS-eng         : 21544

      DURATION-eng    : 02:12:56.594000000

      NUMBER_OF_FRAMES-eng: 2506

      NUMBER_OF_BYTES-eng: 21481599

      _STATISTICS_WRITING_APP-eng: mkvmerge v31.0.0 ('Dolores In A
Shoestand') 64-bit

      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-07 18:09:14

      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

  Stream #0:13: Video: mjpeg (Baseline), yuvj444p(pc,
bt470bg/unknown/unknown), 1067x600, 90k tbr, 90k tbn, 90k tbc (attached pic)

    Metadata:

      filename        : cover_land.jpg

      mimetype        : image/jpeg

  Stream #0:14: Video: mjpeg (Baseline), yuvj444p(pc,
bt470bg/unknown/unknown), 120x176, 90k tbr, 90k tbn, 90k tbc (attached pic)

    Metadata:

      filename        : small_cover.jpg

      mimetype        : image/jpeg

  Stream #0:15: Video: mjpeg (Baseline), yuvj444p(pc,
bt470bg/unknown/unknown), 213x120, 90k tbr, 90k tbn, 90k tbc (attached pic)

    Metadata:

      filename        : small_cover_land.jpg

      mimetype        : image/jpeg

  Stream #0:16: Video: mjpeg (Baseline), yuvj444p(pc,
bt470bg/unknown/unknown), 600x882, 90k tbr, 90k tbn, 90k tbc (attached pic)

    Metadata:

      filename        : cover.jpg

      mimetype        : image/jpeg



More information about the ffmpeg-user mailing list