* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: How to code an mp4 video  (Read 3466 times)

0 Members and 1 Guest are viewing this topic.

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
How to code an mp4 video
« on: November 27, 2015, 01:40:30 am »
Is there a way to code a mp4 video from scratch? How do I do it?


  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline bb010g

  • Full User
  • Safe-haven access
  • Join Date: Dec 2014
  • Location: Seattle, WA
  • Posts: 93
  • Post Rating Ratio: +1/-1
  • I do stuff, I guess
    • @bb010g
    • bb010g
    • /u/bb010g
    • bb010g
  • Gender: Male
Re: How to code an mp4 video
« Reply #1 on: November 27, 2015, 01:42:19 am »
"Code" a MP4? Please be more specific. Also, what resources have you already looked at?
  • Calculators owned: HP 50g, Prime, 28S, 35S, Casio Prizm, dead Nspire CX CAS

Offline Adriweb

  • Full User
  • CodeWalrus Supporter
  • *
  • Join Date: Jan 2015
  • Location: France & Canada
  • Posts: 428
  • Post Rating Ratio: +7/-1
    • Adriweb
    • @Adriweb
    • Adriweb
    • @UC-UIrbk5SuaUCvnV6SQvt-Q
    • /u/Adriweb
    • Adriweb
    • TI-Planet.org
  • Gender: Male
Re: How to code an mp4 video
« Reply #2 on: November 27, 2015, 01:47:27 am »
It's the ISO 14496-1 spec.
http://xhelmboyx.tripod.com/formats/mp4-layout.txt

Good luck
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: How to code an mp4 video
« Reply #3 on: November 27, 2015, 02:28:33 am »
What programming language do I use to program an mp4 video?
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline bb010g

  • Full User
  • Safe-haven access
  • Join Date: Dec 2014
  • Location: Seattle, WA
  • Posts: 93
  • Post Rating Ratio: +1/-1
  • I do stuff, I guess
    • @bb010g
    • bb010g
    • /u/bb010g
    • bb010g
  • Gender: Male
Re: How to code an mp4 video
« Reply #4 on: November 27, 2015, 02:31:41 am »
What programming language do I use to program an mp4 video?
What have you looked at already? We won't help you unless you prove that you've tried at least an iota already.
  • Calculators owned: HP 50g, Prime, 28S, 35S, Casio Prizm, dead Nspire CX CAS

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: How to code an mp4 video
« Reply #5 on: November 27, 2015, 02:36:07 am »
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline bb010g

  • Full User
  • Safe-haven access
  • Join Date: Dec 2014
  • Location: Seattle, WA
  • Posts: 93
  • Post Rating Ratio: +1/-1
  • I do stuff, I guess
    • @bb010g
    • bb010g
    • /u/bb010g
    • bb010g
  • Gender: Male
Re: How to code an mp4 video
« Reply #6 on: November 27, 2015, 02:42:10 am »
Ok. So you want to play a MP4 video, not "code" one (whatever that means)?
  • Calculators owned: HP 50g, Prime, 28S, 35S, Casio Prizm, dead Nspire CX CAS

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: How to code an mp4 video
« Reply #7 on: November 27, 2015, 02:45:04 am »
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline Travis

  • Full User
  • Safe-haven access
  • Join Date: Jan 2015
  • Location:
  • Posts: 126
  • Post Rating Ratio: +3/-0
    • 8361
  • Gender: Male
Re: How to code an mp4 video
« Reply #8 on: November 27, 2015, 02:49:56 am »
So you're talking about creating animations? That's one thing. Actually decoding (or encoding) a codec like MPEG is not something you want to be trying to do from scratch at this stage. (I'm not sure very many of us here even know how to do that.) Better just use a program or library for that part.
  • Calculators owned: TI-81, TI-82, TI-85, TI-86, TI-89, TI-89 Titanium, 2 × HP 50g
ticalc.org staff member—http://www.ticalc.org/

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: How to code an mp4 video
« Reply #9 on: November 27, 2015, 02:51:06 am »
I actually want to program an mp4 video from scratch in C. How do I do that?
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline Travis

  • Full User
  • Safe-haven access
  • Join Date: Jan 2015
  • Location:
  • Posts: 126
  • Post Rating Ratio: +3/-0
    • 8361
  • Gender: Male
Re: How to code an mp4 video
« Reply #10 on: November 27, 2015, 02:57:25 am »
I really don't understand what you're saying. MP4 is not a programming language. It's just a linear, non-interactive stream of data. If you really want to learn codecs, you're best off starting really, really small. First figure out how bitmaps are stored. Then basic lossless compression (RLE, PNG/GIF, etc.). Then JPEG. Then some very early, very simple lossy codecs. MPEG4/H264 is insanely complicated (and that's not including the audio). It can take literally years to get up to speed with this stuff.
« Last Edit: November 27, 2015, 02:59:57 am by Travis »
  • Calculators owned: TI-81, TI-82, TI-85, TI-86, TI-89, TI-89 Titanium, 2 × HP 50g
ticalc.org staff member—http://www.ticalc.org/

Offline Adriweb

  • Full User
  • CodeWalrus Supporter
  • *
  • Join Date: Jan 2015
  • Location: France & Canada
  • Posts: 428
  • Post Rating Ratio: +7/-1
    • Adriweb
    • @Adriweb
    • Adriweb
    • @UC-UIrbk5SuaUCvnV6SQvt-Q
    • /u/Adriweb
    • Adriweb
    • TI-Planet.org
  • Gender: Male
Re: How to code an mp4 video
« Reply #11 on: November 27, 2015, 02:58:26 am »
program an mp4 video
This does not make sense. "program" or "code" are verbs that don't go with "mp4" or "video". It's like asking "Put your glasses on and listen to the nice smell".
What are you actually trying to do? The end goal.

Also what tev said.
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: How to code an mp4 video
« Reply #12 on: November 27, 2015, 02:59:00 am »
I know that mp4 is not a programming language. I want to know if I can code an mp4 file in C.
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

Offline Adriweb

  • Full User
  • CodeWalrus Supporter
  • *
  • Join Date: Jan 2015
  • Location: France & Canada
  • Posts: 428
  • Post Rating Ratio: +7/-1
    • Adriweb
    • @Adriweb
    • Adriweb
    • @UC-UIrbk5SuaUCvnV6SQvt-Q
    • /u/Adriweb
    • Adriweb
    • TI-Planet.org
  • Gender: Male
Re: How to code an mp4 video
« Reply #13 on: November 27, 2015, 03:00:43 am »


Dude. Read what we just said.

Edit:
Actually, here you go, some C code to code an mp4:
Code: [Select]
FILE* f = fopen("THEREYOUGO.mp4", "rb");
fclose(f);
« Last Edit: November 27, 2015, 03:02:54 am by Adriweb »
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Offline Ephraim Becker

  • Full User
  • Join Date: Mar 2015
  • Location: Far Rockaway, NY
  • Posts: 118
  • Post Rating Ratio: +0/-4
    • @UCIHxAXYLxYlNaQiv0do0bUg
    • EphraimB
    • 112/11290
  • Gender: Male
Re: How to code an mp4 video
« Reply #14 on: November 27, 2015, 03:05:08 am »
Any tutorials for how to program an mp4 video in C? I can't find any in my google search or bing search.
  • Calculators owned: TI 84 Plus, TI 84 Plus C Silver Edition, TI 84 Plus CE, Casio FX-9750 GII
I have Aspergers Syndrome

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games