Convert video to .bin for hologram 3D fanConvert Decimal to Double?Convert a string to an enum in C#How do you convert a byte array to a hexadecimal string, and vice versa?Converting a String to DateTimeHow to convert UTF-8 byte[] to string?Streaming video from Android camera to serverHow do I convert struct System.Byte byte[] to a System.IO.Stream object in C#?How convert byte array to stringCutting the videos based on start and end time using ffmpegCould not find a part of the path … binroslyncsc.exe

Is there any easy technique written in Bhagavad GITA to control lust?

What is difference between behavior and behaviour

How can I use the arrow sign in my bash prompt?

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

Should my PhD thesis be submitted under my legal name?

Is it correct to write "is not focus on"?

What's the purpose of "true" in bash "if sudo true; then"

At which point does a character regain all their Hit Dice?

How do I rename a LINUX host without needing to reboot for the rename to take effect?

What are the ramifications of creating a homebrew world without an Astral Plane?

If you attempt to grapple an opponent that you are hidden from, do they roll at disadvantage?

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

Everything Bob says is false. How does he get people to trust him?

Is there a problem with hiding "forgot password" until it's needed?

Opposite of a diet

Was Spock the First Vulcan in Starfleet?

Confused about a passage in Harry Potter y la piedra filosofal

Implement the Thanos sorting algorithm

Dot above capital letter not centred

What defines a dissertation?

apt-get update is failing in debian

Student evaluations of teaching assistants

How can I replace every global instance of "x[2]" with "x_2"

Why did Kant, Hegel, and Adorno leave some words and phrases in the Greek alphabet?



Convert video to .bin for hologram 3D fan


Convert Decimal to Double?Convert a string to an enum in C#How do you convert a byte array to a hexadecimal string, and vice versa?Converting a String to DateTimeHow to convert UTF-8 byte[] to string?Streaming video from Android camera to serverHow do I convert struct System.Byte byte[] to a System.IO.Stream object in C#?How convert byte array to stringCutting the videos based on start and end time using ffmpegCould not find a part of the path … binroslyncsc.exe













2















I am facing the issue where I need to convert a video(in .mp4 for example) to .bin so it can be read by one of these infamous 3D Holographic Fan. At the moment I am doing it this way using C#.



private async Task<bool> convertToBin(string file)

byte[] bytes = System.IO.File.ReadAllBytes(file);
string path = Path.GetFullPath(file) + ".bin";
string str = System.Text.Encoding.UTF8.GetString(bytes);
System.IO.File.WriteAllText(path, str);
return true;



However, the produced .bin is recognized by the fan but when played the LEDs all turn white. Furthermore if I open a .bin generated with the fan's software the format seems completely different, as the first 8.000 lines of the correct .bin are just 0000 0000 0000 0000.



Any idea how to accomplish this?










share|improve this question

















  • 4





    You are not converting anything, you are just, and only, changing the extension of the file while assuming the original file was encoded with UTF8. I highly doubt that's true for any kind of video.

    – Camilo Terevinto
    Mar 7 at 11:53











  • Which video format are you using? what encoding? Anyways - the right approach would be to read its bytes and then write them into a new .bin file

    – Ido H Levi
    Mar 11 at 17:30











  • Have you tried to use Unity? Check this: How to compress and decompress binary streams in Unity

    – Maciej Los
    Mar 11 at 20:40











  • Can you convert a test image like this one to .bin? Share a link to the converted bin file and tell us details of expected (3D fan's) display resolution? It's possible that .bin is just RGB data.

    – VC.One
    Mar 18 at 22:36
















2















I am facing the issue where I need to convert a video(in .mp4 for example) to .bin so it can be read by one of these infamous 3D Holographic Fan. At the moment I am doing it this way using C#.



private async Task<bool> convertToBin(string file)

byte[] bytes = System.IO.File.ReadAllBytes(file);
string path = Path.GetFullPath(file) + ".bin";
string str = System.Text.Encoding.UTF8.GetString(bytes);
System.IO.File.WriteAllText(path, str);
return true;



However, the produced .bin is recognized by the fan but when played the LEDs all turn white. Furthermore if I open a .bin generated with the fan's software the format seems completely different, as the first 8.000 lines of the correct .bin are just 0000 0000 0000 0000.



Any idea how to accomplish this?










share|improve this question

















  • 4





    You are not converting anything, you are just, and only, changing the extension of the file while assuming the original file was encoded with UTF8. I highly doubt that's true for any kind of video.

    – Camilo Terevinto
    Mar 7 at 11:53











  • Which video format are you using? what encoding? Anyways - the right approach would be to read its bytes and then write them into a new .bin file

    – Ido H Levi
    Mar 11 at 17:30











  • Have you tried to use Unity? Check this: How to compress and decompress binary streams in Unity

    – Maciej Los
    Mar 11 at 20:40











  • Can you convert a test image like this one to .bin? Share a link to the converted bin file and tell us details of expected (3D fan's) display resolution? It's possible that .bin is just RGB data.

    – VC.One
    Mar 18 at 22:36














2












2








2








I am facing the issue where I need to convert a video(in .mp4 for example) to .bin so it can be read by one of these infamous 3D Holographic Fan. At the moment I am doing it this way using C#.



private async Task<bool> convertToBin(string file)

byte[] bytes = System.IO.File.ReadAllBytes(file);
string path = Path.GetFullPath(file) + ".bin";
string str = System.Text.Encoding.UTF8.GetString(bytes);
System.IO.File.WriteAllText(path, str);
return true;



However, the produced .bin is recognized by the fan but when played the LEDs all turn white. Furthermore if I open a .bin generated with the fan's software the format seems completely different, as the first 8.000 lines of the correct .bin are just 0000 0000 0000 0000.



Any idea how to accomplish this?










share|improve this question














I am facing the issue where I need to convert a video(in .mp4 for example) to .bin so it can be read by one of these infamous 3D Holographic Fan. At the moment I am doing it this way using C#.



private async Task<bool> convertToBin(string file)

byte[] bytes = System.IO.File.ReadAllBytes(file);
string path = Path.GetFullPath(file) + ".bin";
string str = System.Text.Encoding.UTF8.GetString(bytes);
System.IO.File.WriteAllText(path, str);
return true;



However, the produced .bin is recognized by the fan but when played the LEDs all turn white. Furthermore if I open a .bin generated with the fan's software the format seems completely different, as the first 8.000 lines of the correct .bin are just 0000 0000 0000 0000.



Any idea how to accomplish this?







c# video bin






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 11:51









ctabuyoctabuyo

340420




340420







  • 4





    You are not converting anything, you are just, and only, changing the extension of the file while assuming the original file was encoded with UTF8. I highly doubt that's true for any kind of video.

    – Camilo Terevinto
    Mar 7 at 11:53











  • Which video format are you using? what encoding? Anyways - the right approach would be to read its bytes and then write them into a new .bin file

    – Ido H Levi
    Mar 11 at 17:30











  • Have you tried to use Unity? Check this: How to compress and decompress binary streams in Unity

    – Maciej Los
    Mar 11 at 20:40











  • Can you convert a test image like this one to .bin? Share a link to the converted bin file and tell us details of expected (3D fan's) display resolution? It's possible that .bin is just RGB data.

    – VC.One
    Mar 18 at 22:36













  • 4





    You are not converting anything, you are just, and only, changing the extension of the file while assuming the original file was encoded with UTF8. I highly doubt that's true for any kind of video.

    – Camilo Terevinto
    Mar 7 at 11:53











  • Which video format are you using? what encoding? Anyways - the right approach would be to read its bytes and then write them into a new .bin file

    – Ido H Levi
    Mar 11 at 17:30











  • Have you tried to use Unity? Check this: How to compress and decompress binary streams in Unity

    – Maciej Los
    Mar 11 at 20:40











  • Can you convert a test image like this one to .bin? Share a link to the converted bin file and tell us details of expected (3D fan's) display resolution? It's possible that .bin is just RGB data.

    – VC.One
    Mar 18 at 22:36








4




4





You are not converting anything, you are just, and only, changing the extension of the file while assuming the original file was encoded with UTF8. I highly doubt that's true for any kind of video.

– Camilo Terevinto
Mar 7 at 11:53





You are not converting anything, you are just, and only, changing the extension of the file while assuming the original file was encoded with UTF8. I highly doubt that's true for any kind of video.

– Camilo Terevinto
Mar 7 at 11:53













Which video format are you using? what encoding? Anyways - the right approach would be to read its bytes and then write them into a new .bin file

– Ido H Levi
Mar 11 at 17:30





Which video format are you using? what encoding? Anyways - the right approach would be to read its bytes and then write them into a new .bin file

– Ido H Levi
Mar 11 at 17:30













Have you tried to use Unity? Check this: How to compress and decompress binary streams in Unity

– Maciej Los
Mar 11 at 20:40





Have you tried to use Unity? Check this: How to compress and decompress binary streams in Unity

– Maciej Los
Mar 11 at 20:40













Can you convert a test image like this one to .bin? Share a link to the converted bin file and tell us details of expected (3D fan's) display resolution? It's possible that .bin is just RGB data.

– VC.One
Mar 18 at 22:36






Can you convert a test image like this one to .bin? Share a link to the converted bin file and tell us details of expected (3D fan's) display resolution? It's possible that .bin is just RGB data.

– VC.One
Mar 18 at 22:36













1 Answer
1






active

oldest

votes


















0














This is a pretty broad question on file conversion since technically you can just change the extension on any file to .bin and it is a valid .bin file.



The reason being that the .bin extension has no specific standard, its just a collection of binary data - this means that different companies can (if they wish) implement their own standards within files that they work with.



In terms of holo fans, most manufacturers of them will often either have for free (or a small fee) a video conversion piece of software available that converts a file into a .bin that will work with the fan for you. (also many fans now can just work with .mp4 etc too, but im guessing yours cant)



If the first X amount of data in the correct file really is just a stream of 0's it seems as if there is some amount of "padding" at the beginning of the file though without really being able to see the file not 100% on that.



Either way, generic conversion to a .bin without knowing the specific format that the device / manufacturer is potentially enforcing is pretty hard - like trying to get the exact amount of water to fill a bucket, without ever seeing the bucket




Binary itself is meaningless, until such time as an executed algorithm defines what should be done with each bit, byte, word or block. Thus, just examining the binary and attempting to match it against known formats can lead to the wrong conclusion as to what it actually represents.




Quote from the Wiki page on Binary files :)






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55043127%2fconvert-video-to-bin-for-hologram-3d-fan%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    This is a pretty broad question on file conversion since technically you can just change the extension on any file to .bin and it is a valid .bin file.



    The reason being that the .bin extension has no specific standard, its just a collection of binary data - this means that different companies can (if they wish) implement their own standards within files that they work with.



    In terms of holo fans, most manufacturers of them will often either have for free (or a small fee) a video conversion piece of software available that converts a file into a .bin that will work with the fan for you. (also many fans now can just work with .mp4 etc too, but im guessing yours cant)



    If the first X amount of data in the correct file really is just a stream of 0's it seems as if there is some amount of "padding" at the beginning of the file though without really being able to see the file not 100% on that.



    Either way, generic conversion to a .bin without knowing the specific format that the device / manufacturer is potentially enforcing is pretty hard - like trying to get the exact amount of water to fill a bucket, without ever seeing the bucket




    Binary itself is meaningless, until such time as an executed algorithm defines what should be done with each bit, byte, word or block. Thus, just examining the binary and attempting to match it against known formats can lead to the wrong conclusion as to what it actually represents.




    Quote from the Wiki page on Binary files :)






    share|improve this answer



























      0














      This is a pretty broad question on file conversion since technically you can just change the extension on any file to .bin and it is a valid .bin file.



      The reason being that the .bin extension has no specific standard, its just a collection of binary data - this means that different companies can (if they wish) implement their own standards within files that they work with.



      In terms of holo fans, most manufacturers of them will often either have for free (or a small fee) a video conversion piece of software available that converts a file into a .bin that will work with the fan for you. (also many fans now can just work with .mp4 etc too, but im guessing yours cant)



      If the first X amount of data in the correct file really is just a stream of 0's it seems as if there is some amount of "padding" at the beginning of the file though without really being able to see the file not 100% on that.



      Either way, generic conversion to a .bin without knowing the specific format that the device / manufacturer is potentially enforcing is pretty hard - like trying to get the exact amount of water to fill a bucket, without ever seeing the bucket




      Binary itself is meaningless, until such time as an executed algorithm defines what should be done with each bit, byte, word or block. Thus, just examining the binary and attempting to match it against known formats can lead to the wrong conclusion as to what it actually represents.




      Quote from the Wiki page on Binary files :)






      share|improve this answer

























        0












        0








        0







        This is a pretty broad question on file conversion since technically you can just change the extension on any file to .bin and it is a valid .bin file.



        The reason being that the .bin extension has no specific standard, its just a collection of binary data - this means that different companies can (if they wish) implement their own standards within files that they work with.



        In terms of holo fans, most manufacturers of them will often either have for free (or a small fee) a video conversion piece of software available that converts a file into a .bin that will work with the fan for you. (also many fans now can just work with .mp4 etc too, but im guessing yours cant)



        If the first X amount of data in the correct file really is just a stream of 0's it seems as if there is some amount of "padding" at the beginning of the file though without really being able to see the file not 100% on that.



        Either way, generic conversion to a .bin without knowing the specific format that the device / manufacturer is potentially enforcing is pretty hard - like trying to get the exact amount of water to fill a bucket, without ever seeing the bucket




        Binary itself is meaningless, until such time as an executed algorithm defines what should be done with each bit, byte, word or block. Thus, just examining the binary and attempting to match it against known formats can lead to the wrong conclusion as to what it actually represents.




        Quote from the Wiki page on Binary files :)






        share|improve this answer













        This is a pretty broad question on file conversion since technically you can just change the extension on any file to .bin and it is a valid .bin file.



        The reason being that the .bin extension has no specific standard, its just a collection of binary data - this means that different companies can (if they wish) implement their own standards within files that they work with.



        In terms of holo fans, most manufacturers of them will often either have for free (or a small fee) a video conversion piece of software available that converts a file into a .bin that will work with the fan for you. (also many fans now can just work with .mp4 etc too, but im guessing yours cant)



        If the first X amount of data in the correct file really is just a stream of 0's it seems as if there is some amount of "padding" at the beginning of the file though without really being able to see the file not 100% on that.



        Either way, generic conversion to a .bin without knowing the specific format that the device / manufacturer is potentially enforcing is pretty hard - like trying to get the exact amount of water to fill a bucket, without ever seeing the bucket




        Binary itself is meaningless, until such time as an executed algorithm defines what should be done with each bit, byte, word or block. Thus, just examining the binary and attempting to match it against known formats can lead to the wrong conclusion as to what it actually represents.




        Quote from the Wiki page on Binary files :)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 12 at 8:48









        GibbonGibbon

        1,6201617




        1,6201617





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55043127%2fconvert-video-to-bin-for-hologram-3d-fan%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            1928 у кіно

            Захаров Федір Захарович

            Ель Греко