javascript - Google Cloud Platform Storage JSON API upload breaks audio files..?! How to fix? -
i did manage upload files google storage gcp resumable upload (json api): https://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload
using jquery , plupload http://www.plupload.com
but seems audio files loses codecs in upload , won't play or ffmpeg can't probe those. more testing showed .flac files ok ffmpeg, example .m4a files not.
i need of audio files uploaded google storage , able probe ffmpeg. , must able upload big files on 100mb. that's why believe json api best or possible way.
i think have metadata added correctly, i'm confused how continue.. ideas problem here?
edit (more info):
i had working software:
- using regular post > /temp > google cloud storage client (php).
- gcp storage client uploaded files perfection.
- even named uploaded files random unique name "woeiwehf.tmp", did work , ffmpeg probe them fine.
then happened, guess uploading limited (or something):
what meant solution couldn't upload anymore big files, on 32mb.
well wasn't best solution anyway, that's okey, changed.
now:
- i have changed software uses gcp json api upload resumable, , works
- but had change files "woeiwehf.flac" or ever type is. ".tmp" didn't work anymore.
- for example .flac files work nicely, .m4a not.
- i've tested uploading many different ways, , seems json api upload loses @ least codecs , bit rate.
--
i grateful if how resolve this. guess 1 solution may fork ffmpeg client , manually set audio codec, i'm saving last solution.
Comments
Post a Comment