[Release] Video Channels Creator - Custom CIA videos for everyone!

Discussion in '3DS - Homebrew Development and Emulators' started by Rinnegatamante, Feb 20, 2016.

  1. Damin72

    Damin72 GBAtemp Regular

    Member
    4
    Aug 17, 2015
    Russia
    This one: 1:45.
     
  2. olizbu

    olizbu Newbie

    Newcomer
    1
    Feb 22, 2016
    Colombia
    Hey Rinnegatamante thanks for this is awesome!

    I'm porting this to mac (almost done) but can you tell me what exactly is hex_set.exe?

    Thanks!
     
    Rinnegatamante and Ev1l0rd like this.
  3. Ev1l0rd

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    9
    Oct 26, 2015
    Netherlands
    Site 19
    You're starting to become annoying. If you think you can do this better, do it and show us an example of an mp4 player on a 3ds+tell us how you did it. Rinnegatamante probably has his reasons for not using mp4 and using JPGV instead.
     
    Lan Hikari and Bedel like this.
  4. Angelcraft

    Angelcraft GBAtemp Advanced Fan

    Member
    2
    Sep 8, 2015
    Spain
    Win x86 please? :'(
     
    Lan Hikari likes this.
  5. squee666

    squee666 Advanced Tech Pleb

    Member
    8
    Sep 17, 2010
    Belfast
    You mean like https://github.com/Lectem/3Damnesic

    https://gbatemp.net/threads/release-3damnesic-a-poc-video-player.396184/

    Problem is devs are focusing on useless stuff like JPGV when theres is stuff like above

    But hey we his PoC is 6 months old and practically untouched but its miles ahead, now imagine what it would be like with an optimized code.

    Like i said we have ARM cpus at least one guy is compiling FFMPEG for it.

    But hey gotta give this thread more focus, its going places.
     
  6. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    14
    Nov 24, 2014
    Italy
    Bologna
    hex_set just make a little change through a simple fopen / fwrite / fclose in binary mode to change unique_id in cia_workaround.rsf file ;)
     
  7. Ev1l0rd

    Ev1l0rd (⌐◥▶◀◤) Developer - noirscape

    Member
    9
    Oct 26, 2015
    Netherlands
    Site 19
    3DAmnesic is still under development. JPGV is more stable and older than what 3DAmnesic is right now. That's because it's been around for quite a while (longer than 3damnesic) and uses an engine that is probably the most popular homebrew development... thingy for the 3ds.
     
  8. squee666

    squee666 Advanced Tech Pleb

    Member
    8
    Sep 17, 2010
    Belfast
    Uses an engine MJPEG has been around since the 90s yeah its more stable because it literally is just playing JPG images at a set framerate aka its a fast slideshow. Literally any device that can view a JPG image.

    also JPGV isnt even a real format its Just a roundabout way to create a MJPG file by extracting all the frames froma video with FFMPEG and Batch resizing them (isnt optimal at all)

    Doesnt help that Dev doesnt know how video encoding works in the first place, " Converting anime results in lower framerates and 29fps is the video standard" lolwut

    Also this line transpose=1" -s 240x400

    I like how it takes in input resolution and outputs it resized sideways lol (3ds is 400x240) which makes no sense as it will have to output as 400x240 anyway unless he has some how encoded his app to decode it like this (dafuq?)

    [​IMG]
     
  9. olizbu

    olizbu Newbie

    Newcomer
    1
    Feb 22, 2016
    Colombia
    Ok, thanks :D

    So here is a mac version of Video Channels Creator

    To run it you will need to install ffmpeg
    First install Hombrew (http://brew.sh/)
    Once Hombrew is installed run this command to install ffmpeg
    brew reinstall ffmpeg --with-libvorbis

    Download: https://mega.nz/#!BtcGwRKT!sC9xfVZDfbE_LDtoDXCwH3yO0gi7Fbz4KCCB5TVh6dQ

    Then simply follow the same instructions but instead of the build.bat run the build.py (from a terminal: "python build.py")
     
    NekoMichi and Rinnegatamante like this.
  10. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    14
    Nov 24, 2014
    Italy
    Bologna
    I've added your port on OP ;)
     
  11. Pink Gold Peach

    Pink Gold Peach Random Person

    Member
    2
    Jan 30, 2015
    United States
    Some tools dont work on 32bit. Maybe a .zip including 32bit versions of makerom and such?
     
  12. sweis12

    sweis12 GBAtemp Maniac

    Member
    6
    Oct 20, 2013
    Saint Kitts and Nevis
    One small thing you might want to look into.
    If you close the screen while the video app is open, it black screens the console.
     
  13. justinbug2

    justinbug2 GBAtemp Advanced Fan

    Member
    5
    Jun 9, 2015
    United States
    someone should make a better verison of this
     
  14. sweis12

    sweis12 GBAtemp Maniac

    Member
    6
    Oct 20, 2013
    Saint Kitts and Nevis
    Anyone can help with this error?

    Building cia file...
    [NCCH ERROR] Failed to open banner file '../tmp/banner.bin'
    [NCCH ERROR] NCCH Build Process Failed
    [RESULT] Failed to build outfile

    Edit:
    It seemed to be an issue in my audio.wav file because switching that back to the default seemed to fix the issue.
    Its odd though because it was less than 3 seconds :unsure:
     
    Last edited by sweis12, Feb 23, 2016
  15. Damin72

    Damin72 GBAtemp Regular

    Member
    4
    Aug 17, 2015
    Russia
    After i rip from the bat-file part "Create banner..." And make this banner and icon manually, i have a cia, but... After launch i get error "Error: missing index.lua". 0_о
     
  16. democracy

    democracy GBAtemp Advanced Fan

    Member
    5
    Jul 3, 2009
    United States
    Can i watch transformers in 3d?

    Joking aside this is great and thanks :)
     
  17. jon2491

    jon2491 GBAtemp Regular

    Member
    2
    Dec 14, 2014
    Any chances of reading subtitles from a mkv or a srt?
    Great work btw.
     
  18. Bedel

    Bedel The key of the blade

    Member
    6
    Oct 28, 2015
    Don't think so. It's not really a video file but a few of jpg images in one file, so...
     
  19. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Addict

    Member
    10
    Jul 29, 2015
    Liverpool
    Reading subtitles? not sure. But you can draw subtitles in Lua Script:
    Code:
    -- Drawing lyrics
    	if (Timer.getTime(timer) <= 3500) then
    		Screen.debugPrint(0,14,"Seid ihr das Essen?",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"Nein, wir sind der Jaegar",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 14500 and Timer.getTime(timer) <= 20500) then
    		Screen.debugPrint(0,14,"Fumareta hana no",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"namae mo shirazu ni",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 20500 and Timer.getTime(timer) <= 25500) then
    		Screen.debugPrint(0,14,"Chi ni ochita tori wa",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"kaze wo machiwabiru",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 25500 and Timer.getTime(timer) <= 31500) then
    		Screen.debugPrint(0,14,"Inotta tokoro de",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"nani mo kawaranai",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 31500 and Timer.getTime(timer) <= 36500) then
    		Screen.debugPrint(0,14,"Ima wo kaeru no wa",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"tatakau kakugo da",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 36500 and Timer.getTime(timer) <= 41500) then
    		Screen.debugPrint(0,14,"Shikabane fumikoete",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"susumu ishi wo",white,TOP_SCREEN)
    		Screen.debugPrint(0,42,"warau buta yo ",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 41500 and Timer.getTime(timer) <= 47500) then
    		Screen.debugPrint(0,14,"Kachiku no annei",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"kyogi no han'ei",white,TOP_SCREEN)
    		Screen.debugPrint(0,42,"shiseru garou Jiyuu wo!",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 47500 and Timer.getTime(timer) <= 57500) then
    		Screen.debugPrint(0,14,"Torawareta kutsujoku wa",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"hangeki no Koushi da",white,TOP_SCREEN)
    		Screen.debugPrint(0,42,"jouheki no sono kanata",white,TOP_SCREEN)
    		Screen.debugPrint(0,56,"emono wo hofuru Jaeger ",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 57500 and Timer.getTime(timer) <= 65500) then
    		Screen.debugPrint(0,14,"Hotobashiru Shoudou ni",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"sono mi wo yakinagara",white,TOP_SCREEN)
    		Screen.debugPrint(0,42,"tasogare ni hi wo ugatsu",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 65500 and Timer.getTime(timer) <= 70500) then
    		Screen.debugPrint(0,14,"GUREN NO YUMIYA!",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 75000) then
    		Screen.debugPrint(0,14,"Shingeki no Kyojin Opening",white,TOP_SCREEN)
    		Screen.debugPrint(0,28,"Title: Guren no Yumiya",white,TOP_SCREEN)
    		Screen.debugPrint(0,42,"Song by Linked Horizon",white,TOP_SCREEN)
    	else
    		Screen.debugPrint(0,0,"Lyrics:",white,TOP_SCREEN)
    	end
    	if (Timer.getTime(timer) > 78000) then
    		Screen.debugPrint(0,60,"Achieved with LPP!",white,TOP_SCREEN)
    	end
     
  20. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    7
    Oct 6, 2013
    Australia
    Hyrule Field
    Can it run Crysis?
     
Loading...