Hacking [info] about switch 30sec video files

DarkenSX

Well-Known Member
OP
Member
Joined
Mar 28, 2009
Messages
109
Trophies
0
Age
38
Location
Earth
XP
445
Country
United States
not sure if the info is usable for the likes of exploits since the last type that had it was MPEG2 i believe. heck maybe we could just get the switch to play movies somehow via gallery with this info *Fingers Crossed*
General
Complete name : ~/Desktop/2018031523040200-F1C11A22FAEE3B82F21B330E1B786A39.mp4 <--- "Zelda:BoTW file"
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 18.8 MiB
Duration : 29 s 902 ms
Overall bit rate : 5 261 kb/s
Encoded date : UTC 1970-01-01 05:10:30
Tagged date : UTC 1970-01-01 05:10:30

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=15
Muxing mode : Container [email protected]
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 29 s 902 ms
Bit rate : 4 924 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.000 FPS
Minimum frame rate : 27.786 FPS
Maximum frame rate : 33.309 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.178
Stream size : 17.6 MiB (94%)
Title : VideoHandle
Language : English
Encoded date : UTC 1970-01-01 05:10:30
Tagged date : UTC 1970-01-01 05:10:30
Color range : Limited
Color primaries : BT.709
Transfer characteristics : sYCC
Matrix coefficients : BT.709
mdhd_Duration : 29902

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 29 s 867 ms
Source duration : 29 s 890 ms
Source_Duration_FirstFrame : 23 ms
Bit rate mode : Constant
Bit rate : 128 kb/s
Nominal bit rate : 96.0 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 466 KiB (2%)
Source stream size : 467 KiB (2%)
Title : SoundHandle
Language : English
Encoded date : UTC 1970-01-01 05:10:30
Tagged date : UTC 1970-01-01 05:10:30
mdhd_Duration : 29867
i'll upload only if requested. but i doubt its needed.
 
  • Like
Reactions: CatmanFan

Genwald

Member
Newcomer
Joined
Mar 18, 2018
Messages
16
Trophies
0
Age
32
XP
640
Country
United States
It's interesting to see some info about how the switch encodes video, but I'm fairly certain this info won't help to get other files to play on the switch.
 

games906

Member
Newcomer
Joined
Dec 31, 2016
Messages
8
Trophies
0
Age
27
XP
81
Country
United States
It probably works the same way the DSi worked (any picture other than the photos captured by the system itself would not show).
 

DarkenSX

Well-Known Member
OP
Member
Joined
Mar 28, 2009
Messages
109
Trophies
0
Age
38
Location
Earth
XP
445
Country
United States
It probably works the same way the DSi worked (any picture other than the photos captured by the system itself would not show).
it does show up by naming an mp4 the same file name but it shows up as ? and says it can't be played. So im thinking Encoding might be the cause.

--------------------- MERGED ---------------------------

I'm pretty sure the Switch puts special metadata on the videos to prevent others from working.
its just means that we would have to figure out how to extract the metadata or replicate it on other mp4 files
 
Last edited by DarkenSX,
D

Deleted User

Guest
If i'm not mistaken, Nintendo's taken a hard stance this time. I'm pretty sure they encrypt snapshots and videos, maybe even on a per-console basis. I can't find the source where i heard that, though.
 

HexZyle

Pretty Petty Pedant
Member
Joined
Sep 12, 2015
Messages
300
Trophies
0
XP
452
Country
Australia
If i'm not mistaken, Nintendo's taken a hard stance this time. I'm pretty sure they encrypt snapshots and videos, maybe even on a per-console basis. I can't find the source where i heard that, though.
You can view the files on a PC using conventional software. There is no special encryption. That's what proprietary file formats are for.
 
  • Like
Reactions: Ichii Giki

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,327
Trophies
4
Location
Space
XP
13,904
Country
Norway
If i'm not mistaken, Nintendo's taken a hard stance this time. I'm pretty sure they encrypt snapshots and videos, maybe even on a per-console basis. I can't find the source where i heard that, though.
Someone already figured out how to get custom "screenshots" to load and it wasn't particularly hard, so videos might be just as easy.
 
D

Deleted User

Guest
Someone already figured out how to get custom "screenshots" to load and it wasn't particularly hard, so videos might be just as easy.
I've looked into it more. Basically, it checks the timestamp and hash of the image against a database stored in NAND. So, in order to load custom screenshots, we'd need NAND R/W. Certainly possible, but not simple at all.
 

_______

 
Member
Joined
May 13, 2016
Messages
515
Trophies
0
XP
834
Country
Japan
I've looked into it more. Basically, it checks the timestamp and hash of the image against a database stored in NAND. So, in order to load custom screenshots, we'd need NAND R/W. Certainly possible, but not simple at all.

Certainly, they don't want another soundhex I guess?
 

kobayashi90

Well-Known Member
Newcomer
Joined
Nov 20, 2016
Messages
70
Trophies
0
Age
34
Location
Iceland
Website
ryuko.space
XP
152
Country
Iceland
not sure if the info is usable for the likes of exploits since the last type that had it was MPEG2 i believe. heck maybe we could just get the switch to play movies somehow via gallery with this info *Fingers Crossed*
General
Complete name : ~/Desktop/2018031523040200-F1C11A22FAEE3B82F21B330E1B786A39.mp4 <--- "Zelda:BoTW file"
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 18.8 MiB
Duration : 29 s 902 ms
Overall bit rate : 5 261 kb/s
Encoded date : UTC 1970-01-01 05:10:30
Tagged date : UTC 1970-01-01 05:10:30

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=15
Muxing mode : Container [email protected]
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 29 s 902 ms
Bit rate : 4 924 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.000 FPS
Minimum frame rate : 27.786 FPS
Maximum frame rate : 33.309 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.178
Stream size : 17.6 MiB (94%)
Title : VideoHandle
Language : English
Encoded date : UTC 1970-01-01 05:10:30
Tagged date : UTC 1970-01-01 05:10:30
Color range : Limited
Color primaries : BT.709
Transfer characteristics : sYCC
Matrix coefficients : BT.709
mdhd_Duration : 29902

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 29 s 867 ms
Source duration : 29 s 890 ms
Source_Duration_FirstFrame : 23 ms
Bit rate mode : Constant
Bit rate : 128 kb/s
Nominal bit rate : 96.0 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 466 KiB (2%)
Source stream size : 467 KiB (2%)
Title : SoundHandle
Language : English
Encoded date : UTC 1970-01-01 05:10:30
Tagged date : UTC 1970-01-01 05:10:30
mdhd_Duration : 29867
i'll upload only if requested. but i doubt its needed.
Quality looks good, wow.
Okay its not perfect well 5MB Videosource isnt that good, if its gonna hacked the quality must be at least 12MB.
 
Last edited by kobayashi90,

DarkenSX

Well-Known Member
OP
Member
Joined
Mar 28, 2009
Messages
109
Trophies
0
Age
38
Location
Earth
XP
445
Country
United States
Quality looks good, wow.
Okay its not perfect well 5MB Videosource isnt that good, if its gonna hacked the quality must be at least 12MB.
5MB though is probably because switch only will record 30 secs of video per video it maybe possible to get it to play longer or larger videos but that requires getting it to play videos not from the switch in the first place but my issue at the moment is finding a video recoder that does AVC "advanced video codec" on mp4 and the acc audio as well plus the other weird setting 8bit setting especially.
 

kobayashi90

Well-Known Member
Newcomer
Joined
Nov 20, 2016
Messages
70
Trophies
0
Age
34
Location
Iceland
Website
ryuko.space
XP
152
Country
Iceland
5MB though is probably because switch only will record 30 secs of video per video it maybe possible to get it to play longer or larger videos but that requires getting it to play videos not from the switch in the first place but my issue at the moment is finding a video recoder that does AVC "advanced video codec" on mp4 and the acc audio as well plus the other weird setting 8bit setting especially.

Yeah you're probaly right with that. But still, wouldnt be hard to code a fork of ffmpeg for switch with hardware encoding while playing.
Or anything similary..
 

Genwald

Member
Newcomer
Joined
Mar 18, 2018
Messages
16
Trophies
0
Age
32
XP
640
Country
United States
but my issue at the moment is finding a video recoder that does AVC "advanced video codec" on mp4 and the acc audio as well plus the other weird setting 8bit setting especially.
Dude, AVC aka H.264 is the most common video encoding that I see, acc is pretty damn common too and why do you think 8 bit is a weird setting for color depth?! I have hundreds of videos on my pc with these exact settings. Matching these encoding settings will not let you play other videos on the switch, matching the hash of this video might but trying to get a hash collision even for one video isn't very reasonable.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,327
Trophies
4
Location
Space
XP
13,904
Country
Norway
is there a tutorial or private use only?
There's no public easy-to-use method. It needs a key that has to be dumped from a system title AFAIK, which is something we can do ourselves given that we have the keys to decrypt them (which I guess we do now thanks to BigBlueBox)
But the info went into enough detail that it shouldn't be too hard to figure out for someone with a little experience.
I'm pretty sure it was a thread or a post on here, but I don't think I'd be able to find it again easily. I came across it by chance and didn't save the link and I don't even remember any key words I could search for to find it again.
It's probably not very useful information, at least it's not useful to any of us, so I didn't think to save the link.
 
Last edited by The Real Jdbye,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=KYZD7ykz9aQ