Skip to content

How to save binary array video to mp4 in asp.net c#

isa shahabadi

isa shahabadi

Asked Jan 17, 2015, 12:08 AM EST2 answers
Share
LinkedInX

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    http://stackoverflow.com/questions/381508/can-a-byte-array-be-written-to-a-file-in-c
    0
  • 0

    If the source video loaded to the binary array is MP4 then dumping the array to a file and naming it .MP4 should be enough as prasanna suggested.

    If the source video is from a different type, then you need to convert it to the format you want first. I used leadtools controls to create my converting application but I used disk videos in the convert operation but their control also works with streams so that might be helpful in your case.

    0