[FFmpeg-user] Output to S3

Bohdan Fihar bohdan.fihar at gmail.com
Wed Sep 9 08:45:47 EEST 2020


Hi Carl,
This is the whole output:

d:\Programs\ffmpeg-20200831-4a11a6f-win64-static\bin>
ffmpeg -i sample_640x360.ts -method PUT
https://bogdan-public.s3.us-east-2.amazonaws.com/video/output.ts
ffmpeg version git-2020-08-31-4a11a6f Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 10.2.1 (GCC) 20200805
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
--enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
--enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm
--enable-librav1e --enable-libsvtav1 --disable-w32threads --enable-libmfx
--enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va
--enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
--enable-libopenmpt --enable-amf
  libavutil      56. 58.100 / 56. 58.100
  libavcodec     58.101.101 / 58.101.101
  libavformat    58. 51.101 / 58. 51.101
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mpegts, from 'sample_640x360.ts':
  Duration: 00:00:13.35, start: 1.433367, bitrate: 387 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, progressive), 640x360 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr,
90k tbn, 59.94 tbc
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 49152 vbv_delay: N/A
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
Output #0, mpegts, to '
https://bogdan-public.s3.us-east-2.amazonaws.com/video/output.ts':
  Metadata:
    encoder         : Lavf58.51.101
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 640x360 [SAR 1:1 DAR
16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc58.101.101 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame=   17 fps=0.0 q=7.6 size=      93kB time=00:00:00.46
bitrate=1622.7kbits/s speed=0.9frame=  148 fps=147 q=12.7 size=     310kB
time=00:00:04.83 bitrate= 525.4kbits/s speed=4.[tls @ 00000279bdb62940] Error
in the push function.
av_interleaved_write_frame(): I/O error
Error writing trailer of
https://bogdan-public.s3.us-east-2.amazonaws.com/video/output.ts: I/O error
frame=  177 fps=156 q=13.1 Lsize=     349kB time=00:00:05.80 bitrate=
491.9kbits/s speed= 5.1x
video:300kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 16.271618%
[tls @ 00000279bdb62940] The specified session has been invalidated for
some reason.
[tls @ 00000279bdb62940] Error in the pull function.
[https @ 00000279bdb62840] URL read error: I/O error
Conversion failed!

I tried several video formats.
The video files I downloaded from https://filesamples.com/.
AWS will not be installed on the machine.

-- 
All the best,

Bohdan


More information about the ffmpeg-user mailing list