Announcement: Our new CyberLink Feedback Forum has arrived! Please transfer to our new forum to provide your feedback or to start a new discussion. The content on this CyberLink Community forum is now read only, but will continue to be available as a user resource. Thanks!
CyberLink Community Forum
where the experts meet
| Advanced Search >
How to produce a streamable H.264 MP4 file compatible with YouTube?
JL_JL [Avatar]
Senior Contributor Location: Arizona, USA Joined: Oct 01, 2006 20:01 Messages: 6091 Offline
[Post New]
Quote: I get the well-known message: "Video / Audio quality: Your videos will process faster if you encode into a streamable file format. For more information, visit our Help Center." (https://support.google.com/youtube/answer/1722171?hl=en)


For your original issue and topic, to my knowledge PD14 cannot do that.

In order to do that, what YouTube needs to know is the data structure of the video container, in particular what's called a moov atom. For most local encode tasks, this information is at the end of a file so the entire file needs to upload prior to YT doing it's encode conversion. Many tools have the ability to move this information to the front of the file so processing can start immediately.

If you are familiar with ffmeg, one could move the info to the start of the file prior to uploading with a command like this: ffmpeg -i myinput.mp4 -codec copy -map 0 -movflags +faststart myoutput.mp4

Again, not required, just allows YT to start renencoding file immediately vs wating for upload to complete.

Jeff
noeld [Avatar]
Newbie Joined: Jan 07, 2012 06:46 Messages: 30 Offline
[Post New]
@SoNic67 When I upload WMV files I don't have any delay after the upload, the file is immediately available for viewing. I do have an AMD HD7950 graphics card though.

@Jeff thanks for this piece of information, I never used ffmpeg but I know it. I will have to give this a try as well. Thanks.

Best Regards,
-Noël
[Post New]
@noeld - I didn't deny that. Does it stream instantly as WMV? Is this avail in IE only or in Chrome too? How about the next day - is WebM/VP8 or VP9?

The moov atom is a well known issue when web viewing. Usually I am not in a hurry to show my videos instantly after upload, so I didn't investigate that further.

Handbrake has a tickmark called "Web Optimized" that takes care of that.

Plus, I already have speculated that might be a licensing issue - Google/Youtube can store and stream WMV directly on their servers without paying royalties (and re-encode it later). Microsoft allows that (commercial) usage. The MP4/H264/H265 requires licensing for commercial use so Google/Youtube has to convert it before making it available for viewing (the ads added to the stream mean commerical usage) on their servers. If not... they will have to pay fees.

This message was edited 7 times. Last update was at Aug 26. 2016 08:41

noeld [Avatar]
Newbie Joined: Jan 07, 2012 06:46 Messages: 30 Offline
[Post New]
@SoNic67 Unfortunately I cannot currently reply to your questions accurately, I'd have to run some more tests but I wouldn't think that it is ever streamed as WMV. I always upload manually using Chrome so that I can pause and resume uploads.

I already have Handbrake so I'm taking note of this "Web Optimized" option for later tests.

If I may look in a hurry to publish my videos it is mostly due to the fact that the upload process usually takes many hours (at least 6 hours for a video of a quarter of an hour) and I would like to keep the whole process within working hours or so. Best Regards,
-Noël
JL_JL [Avatar]
Senior Contributor Location: Arizona, USA Joined: Oct 01, 2006 20:01 Messages: 6091 Offline
[Post New]
Quote: If I may look in a hurry to publish my videos it is mostly due to the fact that the upload process usually takes many hours (at least 6 hours for a video of a quarter of an hour) and I would like to keep the whole process within working hours or so.


You've misread YT information in the OP then if you are trying to affect your upload time. Web optimized or the ability to move the container information to the front of a file will have no effect on upload speed for the same produced file specifications. If the produced video is 16Mbps as initially stated and 15 min long and taking 6 hours to upload, my guess is you most likely have a upload speed less than 2Mbps from your internet supplier.

What the feature does affect is how long before a quality video is available for others to view. Often initially only a lower quality view is permitted until YT finishes full re-encoding, this is the process that is sped up.

Jeff
noeld [Avatar]
Newbie Joined: Jan 07, 2012 06:46 Messages: 30 Offline
[Post New]
@Jeff, I understand that my sentence may have introduced some confusion but I did understand that the settings would not affect the upload time, this is not what I expected from them either. The thread is really about the YT warning message, recompression after upload and overall video quality.

The upload speed from my ISP is 384Kbps at most. The upload speed is usually between 15 and 30KBps in Resource Monitor when I upload a video to the YouTube servers in Chrome but it also drops to 0KBps at times! Best Regards,
-Noël
[Post New]
I'm sorry for you.
Powered by JForum 2.1.8 © JForum Team