https://community.citra-emu.org/t/implement-lagarith-lagarith-codec-request/231447
Is it possible zhupengfei?
It's just one of the best lossless codecs for weight and quality.
Or do you have any tip on what format/encoding to use?
As it stands it's a mess, and changing the bitrate in dump options doesn't seem to have any effect on the quality and the bitrare itself of the video.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Currently it should already allow you to use any ffmpeg encoder and muxer, but I'm not sure what is nut piping. I likely did it the hard way and directly used the av libraries instead.
---
Regarding the desyncs, I see applets are involved (i.e. software keyboard and mii selector). Can you two please try again with LLE applets? HLE applet inputs aren't really recorded at the moment.
To use LLE applets, you can use my tool threeSD to import your system titles from your 3DS.
---
Ah, that's really strange. We are using ffmpeg's fps filter to resample the video (~59.82Hz which not all encoders support) to 60fps. It shouldn't really be 600fps. Can you tell me what configuration are you using in Citra's Dump Video?
Joined: 4/17/2010
Posts: 11478
Location: Lake Chargoggagoggmanchauggagoggchaubunagungamaugg
That works too, since ffv1 is very good.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Yes ffv1 is very good, BUT
For exemple this video:
(Citra movie)
Link to video
Set the bitrate to 40000, 80000 or 8000000 always dump a ~10.5 GiB video with a bitrate of 737 Mb/s
https://pastebin.com/3Jjc7Wf3
Test with ffv1, 1# bitrate set at 40000, 2# bitrate set at 80000:
Same result, file: 4.87 GiB at 347 Mb/s
https://pastebin.com/ecZC14XQhttps://pastebin.com/fQeC81zV
------------------------
@zhupengfei
The video itself is at 60fps, but the hardcoded informations in the video dump say 600 (checked with Windows propriety and MediaInfo).
I have another question, when you load a savestate, the current button pressed are not take in count, you have to repress the button/joystick etc as you can see here for exemple:
https://youtu.be/_9PlEAAwfHo?t=72
Is it intended?
Joined: 4/17/2010
Posts: 11478
Location: Lake Chargoggagoggmanchauggagoggchaubunagungamaugg
Bitrate is irrelevant for ffv1, since it uses the same lossless compression all over the place. The only difference you will get is from different keyints.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Ok, but it's the same with MKV and MP4 encodes and/or other codecs.
MKV bitrate 40000: output at 2 906 kb/s https://pastebin.com/UKMyqfNU
MKV bitrate 80000: output at 2 905 kb/s https://pastebin.com/bXRw3Z9j
MP4 bitrate 40000: output at 2 918 kb/s https://pastebin.com/NXYk32Ze
MP4 bitrate 80000: output at 2 912 kb/s https://pastebin.com/SBpDbbLH
BUT in MKV and MP4 the framerate is set at 59.831 FPS, not 600...
With ffv1, huffyuv, Mp4 my video editing softwares says that the source is broken (I have no problem with Dolphin's ffv1 dump)...
Seems to work with Mkv, but at 2 906 kb/s it's just ugly...
*Seems to work in handbrake, I must learn how to use Avisynth...
Link to video
It's funny that even Youtube is lost with the hardcoded framerate if you upload raw video:
(all the videos are ~2:00 length...)
Nope. LLE (Low Level Emulation) applets mean that you are using the original 3DS OS software for emulation. HLE (High Level Emulation) means that a high level replacement is used.
For instance, when using LLE applets, you get the same keyboard screen as on a 3DS when games request the software keyboard. When using HLE applets, you get a popup dialog instead.
Unfortunately that's indeed the only legal way to do it.
Please also check the latest Canary build. The issue with keyboards & savestates should be partially fixed now.
Joined: 9/12/2014
Posts: 541
Location: Waterford, MI
How do you update canary on linux? I tried flatpak install https://flatpak.citra-emu.org/citra-canary.flatpakref command in terminal but it says its already at latest: 1806 as of writing this. Is that the latest?
Nope, flatpak builds keep timing out recently so it hasn't been updated for a while. If you want, you can try using standalone linux builds distributed here, but I'm not exactly sure what libraries you'll need.
Joined: 9/12/2014
Posts: 541
Location: Waterford, MI
It runs!
Next question, you say that in the latest canary that some changes were made, but on here: https://github.com/citra-emu/citra/pull/5448 it still says 10 commits like nothing was changed.
I have random crash when I load a savestate with Bloxboy! (USA).
I have uploaded more movies on my Gdrive (link in my signature for more convenience).
Resident Revelations sync, but desync at the end of movie (see Gdrive link).
With the crash experiences, I wonder if is it possible, like in Bizhawk, to add an option to save the movie at any time?
About what? The inputs that not being take in count?
For now I haven't notice any difference with latests (Canary) releases.
I don't know if I was dreaming, but I thought I saw a message about being able to start a game on pause when it's launched?
I couldn't figure out how to do it.
What about being able to pause the game at the end of a movie?
That's strange. It is supposed to be at least partially fixed. I'll look into that.
It should be available in the next canary build, but not the current one.
Just enable frame advance before you start the game.
It turns out to be harder than it seems. I'm still working on this.
Thanks for your answers zhupengfei
I'have made a tiny test with Theatrhythm Final Fantasy, and Luigi's Mansion: Dark Moon (the game run at ~7-8fps on my laptop sadly) it sync well.
Will test threeSD in the next days, I'm gonna get one of my 3DS back soon.
I will update my movie files repository with my recent tests.
I got this error when I try to replay my Mighty Gunvolt ctm file:
1. 3-5 minutes
2. Not yet. Maybe because i use a save? I need it to have everything unlocked (but the save its same and untouched before and after the recording, and i dont save during recording)
1. 3-5 minutes
2. Not yet. Maybe because i use a save? I need it to have everything unlocked (but the save its same and untouched before and after the recording, and i dont save during recording)
I will test a more long movie with RE Mercenaries soon.
But tests I've done as I've reported in my posts before, often the fact that there's already a backup/savestate corrupts the film and/or the syncronicity.
If it can be useful, I made a video with the four graphical texture filters available in Citra:
Link to videozhupengfei:
I know that I ask a lot of things, and that are not easy to do, but I had problems when importing renderings, with the sound (AAC, Vorbis, LibVorbis among others) in Adobe Media Encoder, the sound is either not taken into account because (according to my research) it's on track 1, or it's well supported but after the rendering it's completely broken.
So I had to separate the video track and the audio track to reassemble them, hence my question, and I guess it must be complicated, would it be possible to include an option to dump the video and the audio in separate files?
zhupengfei wrote:
phoneix1291 wrote:
About what? The inputs that not being take in count?
For now I haven't notice any difference with latests (Canary) releases.
That's strange. It is supposed to be at least partially fixed. I'll look into that.
The problem is still here with the latest canary build
But seems to be fixed in some games (only Poochy & Yoshi’s Woolly World for me for now)...
Is it possible to display the buttons that were pressed while playing back a movie?
And the same when a savestate is saved/loaded?
Testing .ctm movies with re-recording (savestates, save and load) with each time a video dump (as this can affect synchronicity according to some posts by Darth Marios)
(movies in my folder as usual, I can post the videos if there are people interested, or you can simply replay the .ctm file.)
I have create a new folder insite my ctm folder "After threeSD", I test the rerecord with games copied from my 3DS with treeSD.
The 3DS internal keyboard doesn't always work with LLE applets with games imported into Citra from the 3DS with treeSD (for example RE Revelations, Tri Force Heroes and Mario & Sonic London 2012 always offers me the Windows prompt to enter the name and not the 3DS keyboard).
Majora's Mask desync faster with the version I imported from my 3DS with treeSD than with the .3ds version.
I will update this post list regularly (note that rerecording movies are 2-20 minutes long, I will not test more long movies until we are certain that rerecording is solid).
- Poochy & Yoshi’s Woolly World -> sync perfectly
- Super Mario 3D Land (1st level) -> sync
- WarioWare Gold- (Intro, Wario, Jimmy) -> sync
- Shantae And The Pirate's Curse -> sync
- Lola's Math Train -> sync
- Angry Birds Trilogy -> sync
- Mario & Luigi: DreamTeam -> sync
- Dead Or Alive Dimensions (Chronicle Mode) -> sync
- Yoshi's New Island (Intro + World 1-1) -> sync
- Mario & Sonic at The Rio 2016 Olympic Games (Very short test, Quick Play mode, 100m and 110m Hurdles -> sync
- Mario Kart 7 (Mushroom Cup 150CC) -> sync
- Stella Glow -> sync
- Super Monkey Ball 3D (1st World) -> sync
- Majora's Mask -> desync
- Bloxboy! -> desync at the very beginning
- Dr. Mario: Miracle Cure -> desync
- Hyrule Warriors Legends -> desync at the very beginning
- Mario & Sonic London 2012 -> desync
- Captain Toad Treasure Tracker -> desync after first intro stage
- Kid Ikarus Uprising -> desync
- Mario & Luigi Paper Jam -> desync
- Shovel Knight: Treasure Trove -> desync at name entry
- Dr. Mario: Miracle Cure (3DS import via treeSD) -> desync
- Mario and Luigi: Superstar Saga + Bowser’s Minions (3DS import via treeSD) -> desync
- Super Street Fighter IV 3D Edition -> desync and the game freeze on
results after the first fight
- NSMB2: Gold Edition -> desync at the very beginning
- Luigi's Mansion 1 -> desync
- Mario & Luigi: Bowser’s Inside Story + Bowser Jr.’s Journey -> desync
- Super Mario Maker for 3DS -> desync
- The Legend of Zelda: Tri Force Heroes -> desync
- Metroid: Samus Returns -> desync right after the intro cinematic
- Sonic Generations -> desync at the beginning
- The Adventures of Tintin -> desync
- Azure Striker Gunvolt Striker Pack -> desync
- Azure Striker Gunvolt 2 -> desync
- Dreamworks Super Star Kartz -> desync
- 3D Super Hang-On -> desync