Generate video for playback on Hyperdesk Studio 12G

Do you have questions about Desktop Video, Converters, Routers and Monitoring?
  • Author
  • Message
Offline

Yoann Baveye

  • Posts: 8
  • Joined: Tue Oct 03, 2017 2:39 pm

Generate video for playback on Hyperdesk Studio 12G

PostTue Oct 03, 2017 3:10 pm

Hello,

I am trying to generate uncompressed videos using ffmpeg for playback on my Hyperdesk Studio 12G.
Here is the command line I am using, which converts an yuv420p input to the desired uncompressed yuv 4:2:2 10 bits (codec: v210 yuv422p10le):

ffmpeg -s 1920x1080 -i input_video.yuv -r 23.976 -pix_fmt yuv422p10le -c:v v210 output_video.mov

While the generated video plays fine on my computer, once played on the Hyperdesk Studio, the colors are not preserved and each pixel is either pink or green. The result is very similar to this picture:

Image

Am I missing something during the encoding step?

Thank you,
Yoann
Last edited by Yoann Baveye on Tue Oct 03, 2017 7:47 pm, edited 1 time in total.
Offline

Gary Adams

Blackmagic Design

  • Posts: 627
  • Joined: Sat Aug 25, 2012 6:14 am

Re: Generate video for playback on Hyperdesk Studio 12G

PostTue Oct 03, 2017 5:36 pm

Hello Yoann. The Hyperdecks are only 422. They will not play back 444 video.

Regards, Gary
Gary Adams
Blackmagic Design
Offline

Yoann Baveye

  • Posts: 8
  • Joined: Tue Oct 03, 2017 2:39 pm

Re: Generate video for playback on Hyperdesk Studio 12G

PostWed Oct 04, 2017 7:31 am

Gary Adams wrote:Hello Yoann. The Hyperdecks are only 422. They will not play back 444 video.
Regards, Gary


Hello Gary,
Yes it was a typo in my first post I edited. I am generating uncompressed yuv 422 videos and I am using the same encoder (v210) and same pixel format (yuv422p10le) as those used by the hyperdeck studio to record uncompressed files.
Offline

Andrew Kolakowski

  • Posts: 4255
  • Joined: Tue Sep 11, 2012 10:20 am

Re: Generate video for playback on Hyperdesk Studio 12G

PostMon Oct 09, 2017 11:06 pm

Don't use -r 23.976, but 24000/1001. v210 should work fine. You can also try ProRes. I found that Hyperdeck is more picky about audio. Even if you don't have one make sure there is at least 2 channels 24bit silence in the file.
Offline

Yoann Baveye

  • Posts: 8
  • Joined: Tue Oct 03, 2017 2:39 pm

Re: Generate video for playback on Hyperdesk Studio 12G

PostMon Oct 23, 2017 1:43 pm

Thank you for your answer. I added a silent audio track but the problem is similar using:

ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -s 1920x1080 -i input.yuv -r 24000/1001 -pix_fmt yuv422p10le -shortest -c:v v210 -c:a pcm_s24le output.mov

Still no clue how to encode a lossless video for playback.
Offline

Andrew Kolakowski

  • Posts: 4255
  • Joined: Tue Sep 11, 2012 10:20 am

Re: Generate video for playback on Hyperdesk Studio 12G

PostTue Oct 24, 2017 9:44 am

Make sure you are on fairly latest ffmpeg e.g. 3.x version.
-f lavfi remove this.
Try -c:a pcm_s24be, not sure if BM uses little or big endian.
shortest is not 100% precise, so remove it an make sure source has video and audio with the same length (e.g. use in/out points when exporting from FCP).
You can also try adding this: -chunk_duration 500K
Not sure about audio- it may have to be 2x mono tracks, not 1x stereo. Check how Hyperdeck records it.
You can also use ffmbc if above fails.
Is your SSD decent?
Offline

Yoann Baveye

  • Posts: 8
  • Joined: Tue Oct 03, 2017 2:39 pm

Re: Generate video for playback on Hyperdesk Studio 12G

PostWed Oct 25, 2017 10:22 am

-f lavfi is needed to add the null audio source.
Also tried big endian with similar result, still using little endian since it is the one used when hyperdesk is recording, but Hyperdeck records a 16 channels audio track (?!).
-chunk_duration 500K did not change the playback.

Thank you for pointing ffmbc, I will compile it to give it a try.

The SSD should not be an issue (SanDisk Extreme PRO recommended by Blackmagic).
Offline

Andrew Kolakowski

  • Posts: 4255
  • Joined: Tue Sep 11, 2012 10:20 am

Re: Generate video for playback on Hyperdesk Studio 12G

PostWed Oct 25, 2017 10:07 pm

When I tried playing footage with Hyperdeck some time ago issue was audio not video.
Try 16 channels 1 track or 16x separate mono tracks.
Offline

Yoann Baveye

  • Posts: 8
  • Joined: Tue Oct 03, 2017 2:39 pm

Re: Generate video for playback on Hyperdesk Studio 12G

PostThu Oct 26, 2017 1:27 pm

Andrew Kolakowski wrote:When I tried playing footage with Hyperdeck some time ago issue was audio not video.
Try 16 channels 1 track or 16x separate mono tracks.


Thank you, you were completely right. I tried to generate a 16 channels blank audio track with ffmpeg but the result was similar :

ffmpeg -f lavfi -i anullsrc=channel_layout=hexadecagonal:sample_rate=48000 -s 1920x1080 -i input.yuv -r 24 -pix_fmt yuv422p10le -shortest -c:v v210 -c:a pcm_s24le output.mov

ffmpeg -i output-audio.wav -s 1920x1080 -i input.yuv -r 24 -pix_fmt yuv422p10le -shortest -c:v v210 -c:a copy ouput.mov

So I extracted the audio track from a video recorded by the player, merged it with the video and now finally it looks fine!
I will now try to generate this 16 channels using ffmpeg. Thank you again!
Offline

Andrew Kolakowski

  • Posts: 4255
  • Joined: Tue Sep 11, 2012 10:20 am

Re: Generate video for playback on Hyperdesk Studio 12G

PostThu Oct 26, 2017 1:50 pm

It suggest that Hyperdeck has some very restricted/fixed MOV reading engine. It expects audio "chunks" to be precise (size?) and if it's not then whole reading goes out of sequence, so you end up with garbage.
Don't try to sassing channel order- make them plain 16 channels track.
Offline

Yoann Baveye

  • Posts: 8
  • Joined: Tue Oct 03, 2017 2:39 pm

Re: Generate video for playback on Hyperdesk Studio 12G

PostThu Oct 26, 2017 2:08 pm

Yes you are probably right: the only difference between both audio tracks (generated by ffmpeg or recorded by blackmagix) is the size of the muxing overhead which is slightly bigger for the blackmagic audiotrack and I'm not sure that ffmpeg can reproduce this information. I will thus stick with the method copying the audio track... a shame that there is no information at all provided by blackmagic about the audio configuration.
Offline

Andrew Kolakowski

  • Posts: 4255
  • Joined: Tue Sep 11, 2012 10:20 am

Re: Generate video for playback on Hyperdesk Studio 12G

PostThu Oct 26, 2017 4:09 pm

You should be able to produce such a file. I did have files encoded with ffmpeg working in Hyperdeck, but older Hyperdeck version.
Try ffmbc.
Offline

Yoann Baveye

  • Posts: 8
  • Joined: Tue Oct 03, 2017 2:39 pm

Re: Generate video for playback on Hyperdesk Studio 12G

PostWed Jan 31, 2018 1:26 pm

Finally managed to generate a HD video file by adding -timecode 00:00:00:00 in the command line.
Still not working for a UHD video but the problem may be different since I can't even record in uncompressed UHD on y Hyperdesk 12G... will try to figure out why...
Offline

Andrew Kolakowski

  • Posts: 4255
  • Joined: Tue Sep 11, 2012 10:20 am

Re: Generate video for playback on Hyperdesk Studio 12G

PostWed Jan 31, 2018 6:51 pm

Is uncompressed UHD supported? This requires way more speed than single SDD (specially for 50/60p), so probably this is locked.
Offline
User avatar

Xtreemtec

  • Posts: 2625
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: Generate video for playback on Hyperdesk Studio 12G

PostWed Jan 31, 2018 7:27 pm

You might want to look at this:
Frequently Asked Questions - Recording> Point 3.01
I collected a few usefull topics about how to generate media files for playback. Still want to create a ftp or dropbox folder with all settings in it... :)
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV, ATEM TVS HD, 1M/E 4K, 2M/E Broadcast Studio 4K, Hyperdeck Studio Mini, SONY FS7 4K, Ursa Broadcast 4K
Offline

Yoann Baveye

  • Posts: 8
  • Joined: Tue Oct 03, 2017 2:39 pm

Re: Generate video for playback on Hyperdesk Studio 12G

PostTue Feb 06, 2018 2:13 pm

Andrew Kolakowski wrote:Is uncompressed UHD supported? This requires way more speed than single SDD (specially for 50/60p), so probably this is locked.

In the specs for the 12G it is clearly written that it is supported:

HDMI Video Inputs
HDMI 2.0 type A connector with support for Ultra HD 4K 10-bit 60p 4:2:2.

HDMI Video Outputs
HDMI 2.0 type A connector with support for Ultra HD 4K 10-bit 60p 4:2:2.
Offline

Andrew Kolakowski

  • Posts: 4255
  • Joined: Tue Sep 11, 2012 10:20 am

Re: Generate video for playback on Hyperdesk Studio 12G

PostTue Feb 06, 2018 3:46 pm

This is irrelevant to what you can write to single SSD which is about 500MB/sec.
It just lists that full HDMI 2.0 is supported.

4K 60p 4:2:2 10bit is about 1.3GBytes/sec, so not sure who are you planing to write it into drive which can do 500MB/sec. You would need 3x SSDs in RAID0 to record it.
Online
User avatar

Jack Fairley

  • Posts: 775
  • Joined: Mon Oct 03, 2016 7:58 pm

Re: Generate video for playback on Hyperdesk Studio 12G

PostTue Feb 06, 2018 7:14 pm

Andrew Kolakowski wrote:This is irrelevant to what you can write to single SSD which is about 500MB/sec.
It just lists that full HDMI 2.0 is supported.

4K 60p 4:2:2 10bit is about 1.3GBytes/sec, so not sure who are you planing to write it into drive which can do 500MB/sec. You would need 3x SSDs in RAID0 to record it.

It's faster than the interface too, so simply impossible for these devices.

Return to Post Production

Who is online

Users browsing this forum: No registered users and 3 guests