Posts for GabCM

GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Noob Irdoh wrote:
It is good, but your screenshot isn't optimised once again. Yours: 4185 bytes. This one: 4118 bytes.
What option did you use after pngout /c2?
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
I'm uploading the encode to Dailymotion, then I will make a streamable version for Archive. After that, I will publish it. It will take some time.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
ais523 wrote:
How much luck manipulation's going on there? Or is it simply a case of putting every marble in the best possible position?
I've seen cases where pending marbles have changed completely after a rerecord, all by accident. After I saw that, I tried to rerecord in multiple ways to manipulate luck, without success. That would be a case to check out closely.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
So, what do you think of my second publication?
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Here's the HD encode. SD encodes have been changed. Now the screens are positioned vertically, like the real DS.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
For your information, the HD encode's gonna be on YouTube later today, unless YouTube destroys it like it did for my other attempts. I've used HQ4x, HQ2x and interleaving for this one.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Wow! I wasn't expecting that much praise and Yes votes for my first TAS!
Patashu wrote:
Clarification: Was 'make awesome chain reactions' completely secondary to the goal of completing as fast as possible, or were there entertainment/time tradeoffs?
For the first part of the movie, it was a secondary goal that was still important, but lost his importance when I get to higher levels, because it became a faster pile of random madness.
Sticky wrote:
Lets try this a third time. A little longer of a movie would have been too boring, but 4 minutes is short enough to keep entertainment acceptable. Yes.
Good thing I didn't TAS the Quest Mode!
Femke wrote:
Sorry, I chose to vote no, just doesn't seem like a good game choice, seems slow and rather repetitive.
NitroGenesis wrote:
Did not enjoy. It was slow to me.
Femke's right here. If you think it was too slow, blame the game choice, not the optimization. I had to wait for a marble to take position before I could shoot the next one.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Flygon wrote:
Just a quick note about your HD encoding scripts, I suggest changing the qp to 0. YouTube can now process lossless encodes and they compress surprisingly well with upscaled media.
I'll remember that!
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
I would rerecord every mistake I make and become a perfect man.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Never mind, now it works. direct264 was the problem. So, I've downloaded the latest x264 to use it instead. For SD encoding, I will use Ilari's NHMLFixup Lua script. And I can encode in HD with all the filters I want to use.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
I could make the script work, but I had to change some stuff by myself. First, as a Windows user, I had to remove the first line that is...
Language: lua

#!/usr/bin/env lua
Then, I could see that those lines are a cause of a problem.
Language: lua

rename_errcheck = function(old, new) local a, b; a, b = os.rename(old, new); if not a then error("Can't rename '" .. old .. "' -> '" .. new .. "': " .. b); end end
It won't rename the video track since the resulting filename already exists. So, I had to add os.remove(new) before the renaming operation.
Language: lua

rename_errcheck = function(old, new) local a, b; os.remove(new); a, b = os.rename(old, new); if not a then error("Can't rename '" .. old .. "' -> '" .. new .. "': " .. b); end end
Then, I could make my MP4 successfully.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
This is what I get once I read those files in the latest MPlayer. SD encode results
MPlayer Sherpya-SVN-r32198-4.2.5 (C) 2000-2010 MPlayer Team
159 audio & 354 video codecs

Playing encodingtestSD.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  512x192  24bpp  59.826 fps  -513651.6 kbps (-62701.6 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 1
 compatible_brands: isom
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 61.5 kbit/4.36% (ratio: 7688->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 2.67:1 - prescaling to correct movie aspect.
VO: [directx] 512x192 => 512x192 Planar YV12 


Exiting... (End of file)
But the movie file plays as fast as hell and there was no sound. HD encode
MPlayer Sherpya-SVN-r32198-4.2.5 (C) 2000-2010 MPlayer Team
159 audio & 354 video codecs

Playing encodingtestHD.mkv.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (flac), -aid 0
VIDEO:  [H264]  3072x1536  0bpp  29.913 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Movie-Aspect is 2.00:1 - prescaling to correct movie aspect.
VO: [directx] 3072x1536 => 3072x1536 Planar YV12 
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
...(This continues for a large amount)...
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.


Exiting... (End of file)
Post subject: Now I can't encode at all.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Damn, I'm getting tired of all these encoding problems. Here it is. I'm trying to make an HD and SD encodes from the same movie, but it results of totally broken files that can't even be read. Even YouTube can't process the HD encode! Here are my testing files, you can check them out: http://www.mediafire.com/?4433y9suiae2h And here are the AviSynth and batch scripts I used to encode these files. HD encoding AVS script
a = AVISource("movie.avi").ConvertToRGB32()
#ar = a.PointResize(a.width * 4, a.height * 4)
ar = hq4x(a)
abottom = Crop(a, 0, 192, 256, 192)
#abottomr = abottom.PointResize(abottom.width * 8, abottom.height * 8)
abottomr = hq2x(hq4x(abottom))
b = Trim(StackHorizontal(ar, abottomr), 0, 900)
d = ImageSource(file="logohd.png", start=0, end=119, fps=b.FrameRate).ConvertToRGB32()
e = BlankClip(d, audio_rate=44100, channels=2)
f = AudioDub(d, e).Lanczos4Resize(b.width, b.height).AssumeFPS(a.FrameRateNumerator, a.FrameRateDenominator)
last = f + b
AssumeFieldBased.Weave.VerticalReduceBy2
ConvertToYV24(chromaresample="point")
ConvertToYV12(chromaresample="point")
return last
SD encoding AVS script
framerate = 60
framestdebut = 120

titrejeu = """Magnetica "Challenge Mode (Hard)""""
auteur = "Mister Epic"
temps = "04:22.14"
rerecords = "1066"

tailletexte = 20

source = AVISource("movie.avi").ConvertToRGB24()

a1 = Crop(source, 0, 0, 256, 192)
a2 = Crop(source, 0, 192, 256, 192)

a = Trim(StackHorizontal(a1, a2), 0, 900)
b = ImageSource(file="logo.png", start=0, end=119, fps=a.FrameRate).ConvertToRGB24()
c = BlankClip(b, audio_rate=44100, channels=2)
d = AudioDub(b, c).Lanczos4Resize(c.width, c.height).AssumeFPS(a.FrameRateNumerator, a.FrameRateDenominator)
last = d + a
Subtitle(titrejeu + "\nPlayed by " + auteur + "\nPlaying time: " + temps + "\nRerecord count: " + rerecords, y=0, align=8, first_frame=framestdebut, last_frame=(framestdebut + (5 * framerate) - 1), size=tailletexte, font="TF2 Secondary", text_color=$30FFFFFF, halo_color=$00000000, lsp=1)
Subtitle("This is a tool-assisted recording.\nFor details, visit http://TASVideos.org/", y=0, align=8, first_frame=(framestdebut + (5 * framerate)), last_frame=(framestdebut + (2 *(5 * framerate)) - 1), size=tailletexte, font="TF2 Secondary", text_color=$30FFFFFF, halo_color=$00000000, lsp=1)
ConvertToYV24(chromaresample="point")
ConvertToYV12(chromaresample="lanczos4")
HD encoding batch script
flac -8 encoded.wav
x264.exe --qp 15 -b 0 --keyint 30 --output encodedhd.mp4 hdencode.avs
mkvmerge --engage no_simpleblocks -o encodingtestHD.mkv encodedhd2.mp4 encoded.flac
SD encoding batch script
neroAacEnc -q 0.25 -if encoded.wav -of encoded.aac
MP4Box -info encoded.aac
echo Supprimer excedant
pause
neroAacEnc -q 0.25 -if encoded.wav -of encoded.aac
x264 --crf 20 --deldup 0.1:0.1:100:1:0.1 --keyint 600 --ref 16 --no-fast-pskip --bframes 16 --b-adapt 2 --direct auto --me tesa --merange 64 --subme 10 --trellis 2 --partitions all --fullrange on --rc-lookahead 250 --no-dct-decimate -o encoded.mp4 sdencode.avs
MP4Box -add encoded.mp4 -add encoded.aac -par 1=1:1 -new encodingtestSD.mp4
You can ignore those echos and those # in those scripts. I've also tried these:
    Encoding without HQ2X and HQ4X for the HD encode Encoding without Flygon's interleaving trick for the HD encode Encoding without cropping and putting the screens side-to-side for the SD encode Using the latest version of x264 (direct264), because I could see that only the video track is buggy (by trying to read the unmuxed MP4) Using the x264 (direct264) version that was right under the latest Using "--me umh" instead of "--me tesa" Using the latest version of MKVMerge and MP4Box Restarting my computer
And I did some of them multiple times. All of these without success. Is there something I'm doing wrong?
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
I'll resubmit it once I've made my verification movie and I've changed the SRAM in the movie file.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
henke37 wrote:
Chil out, it should be possible to make a verification movie after the submission movie. It just needs to be close enough to sync properly. Just figure out what parts of the save actually matters for sync stability and make a movie that reproduces that state.
Good idea.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Troll submission is troll.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
henke37 wrote:
According to the rules, yes.
Reject this submission then, because I don't have one. I've only completed the Challenge Mode in Normal. TWO. WEEKS. WASTED. I'm not TASing anymore.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
For the first time ever I see that YouTube couldn't process a video! Going to encode this in SD instead.
henke37 wrote:
Ok, where is the save creation movie?
Because it's necessary?
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
I'm done with it. Now, off to make an HD encode and to submit this right after that. I hope it gets accepted.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Flygon wrote:
Mister Epic, HD (And persumadly HQ) encodes process surprisingly well.
I think we both got the same idea.
Flygon wrote:
The restriction of us uploading videos there is artificial, to prevent us from flooding them with videos that people might not necessarily watch.
I got an idea. What if we only upload HQ encodes for any new accepted and notable (with the moon icon) submissions?
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Seriously, we definately had an influence on ScrewAttack. If their video processing method wasn't crap, we would probably invade (jk) ScrewAttack.
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
I think there won't be any more WIPs. I'm getting near to the end. I'm at level 81 and the movies goes there in only 03:13.93 minutes!
Mister Epic wrote:
After the Challenge Mode's done, there's also the staff minigame, where I shoot balls with names of people who worked on this game. This will be included in my TAS as well.
I changed my mind. I want my movie to only complete the challenge mode, it will skip that minigame.[/quote]
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
GreenaLink wrote:
http://www.gametrailers.com/video/top-10-screwattack/704480 Screwattack mentions "Tools Assisted runs" on Screwattack's Top 10 hardest NES video.
"No tool assited speedruns!" Epic reference!
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
GabCM
He/Him
Experienced Forum User
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
And I come here with a new and working encode! Archive page <- I've got to upload a streamable version. Video file (MP4, 40.7 MB)