Hello,

I hope someone could help me find out the cause of the problem with all files that being encoded via NVIDIA h264 encoder (NVENC). None of encoded files is not able to be uploaded.

Here is the mediainfo

Here is the ffmpeg output

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\encoderTest\twitter.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.76.100
  Duration: 00:00:12.03, start: 0.000000, bitrate: 4837 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 4758 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:03:17:06
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 69 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
    Metadata:
      handler_name    : TimeCodeHandler
      timecode        : 00:03:17:06
   1.30 A-V: -0.023 fd=   2 aq=   18KB vq=  786KB sq=    0B f=0/0

Is this using the API chunked upload or using the official client somehow? what’s the exact API call / error you get when it fails?

Hi,
I am using the website interface, according to Chrome NetworkTab I have the following JSON answer

image

I will be glad to share the test file (size: 7Mb), but seem that I am not able to put the links to any cloud storage here.

Oh, if the web upload fails, i doubt the API will work - GitHub - twitterdev/large-video-upload-python: Sample Python code for uploading video up to 140 seconds and/or up to 512Mb. but it’s worth trying.

The format expected is documented here Media Best Practices | Docs | Twitter Developer Platform but i can’t immediately make out if there’s anything wrong there.

To post links, you can use the "preformatted text" format option btw.

hmm, it’s quite interesting that API could work, meanwhile the web uploading is failed, unfortunately the end user scenario in current case upload the video files via web interface, but already start to check out the python scripts, thank you for that. Will how it will behave with API.

Btw here it the file which I am using for tests
https://1drv.ms/v/s!ArMLJTATcLADgzpSV4MRvcEMUala?e=6FOqDl