odysseyofnoises Posted April 21, 2014 I'm trying to record my plutonia under 1 hour speedrun for youtube using prboom plus's built in -viddump command with -timedemo and it doesn't seem to be outputting anything. It used to work perfectly fine on my netbook but now on my alienware 14 it isn't. The timedemo part works fine I can tell because the demo plays very quickly, but viddump is broken for me. I have all three tools downloaded btw. Here's what it says in the stdout file: M_LoadDefaults: Load system defaults. default file: C:\prboom-plus-2.5.1.3/prboom-plus.cfg found C:\prboom-plus-2.5.1.3/prboom-plus.wad prboom-plus v2.5.1.3 (http://prboom-plus.sourceforge.net/) I_SetAffinityMask: manual affinity mask is 1 found C:\prboom-plus-2.5.1.3/doom2.wad IWAD found: C:\prboom-plus-2.5.1.3/doom2.wad PrBoom-Plus (built Dec 4 2011 21:21:58), playing: DOOM 2: Hell on Earth PrBoom-Plus is released under the GNU General Public license v2.0. You are welcome to redistribute it under certain conditions. It comes with ABSOLUTELY NO WARRANTY. See the file COPYING for details. V_Init: allocate screens. V_InitMode: using 8 bit video mode I_CalculateRes: trying to optimize screen pitch test case for pitch=640 is processed 75563 times for 100 msec test case for pitch=672 is processed 76385 times for 100 msec optimized screen pitch is 672 I_InitScreenResolution: Using resolution 640x480 found C:\prboom-plus-2.5.1.3/prboom-plus.wad Playing demo plutonia.lmp found C:\prboom-plus-2.5.1.3/plutonia.lmp G_DoPlayDemo: playing demo with Doom/Doom2 v1.9 compatibility adding C:\prboom-plus-2.5.1.3/doom2.wad adding C:\prboom-plus-2.5.1.3/prboom-plus.wad adding plutonia.lmp adding C:\Users\Tom_Cat\AppData\Local\Temp\prboom-plus-demoex-a02240.wad W_InitCache found C:\prboom-plus-2.5.1.3/plutonia.wad found C:\prboom-plus-2.5.1.3/plutonia.wad IWAD found: C:\prboom-plus-2.5.1.3/plutonia.wad IWAD found: C:\prboom-plus-2.5.1.3\plutonia.wad D_InitNetGame: Checking for network game. W_Init: Init WADfiles. adding C:\prboom-plus-2.5.1.3\plutonia.wad adding C:\prboom-plus-2.5.1.3/prboom-plus.wad adding C:\Users\Tom_Cat\AppData\Local\Temp\prboom-plus-demoex-a02240.wad adding C:\prboom-plus-2.5.1.3\plutonia.wad adding plutonia.lmp W_InitCache M_Init: Init miscellaneous info. R_Init: Init DOOM refresh daemon - R_LoadTrigTables: Endianness...ok. R_InitData: Textures Flats Sprites R_Init: R_InitPlanes R_InitLightTables R_InitSkyMap R_InitTranslationsTables R_InitPatches P_Init: Init Playloop state. I_Init: Setting up machine state. I_InitSound: configured audio device with 1024 samples/slice Fluidplayer: Fluidsynth version 1.1.3 portmidiplayer device list: MMSystem:Microsoft MIDI Mapper MMSystem:Microsoft GS Wavetable Synth portmidiplayer: Opening device MMSystem:Microsoft MIDI Mapper for output I_InitSound: sound module ready S_Init: Setting up sound. S_Init: default sfx volume 7 HU_Init: Setting up heads up display. I_InitGraphics: 640x480 I_UpdateVideoMode: 0x60000010, SDL buffer, direct access I_CapturePrep: opening pipe "oggenc2 -r -R 22050 -q 5 - -o output.ogg" I_CapturePrep: opening pipe "x264 -o output.mp4 --crf 22 --muxer mp4 --demuxer raw --input-csp rgb --input-depth 8 --input-res 640x480 --fps 35 -" I_CapturePrep: video pipe failed ST_Init: Init status bar. G_DoPlayDemo: playing demo with Final Doom compatibility vorb_registersong: failed mad_registersong failed: input buffer too small (or EOF) db_registersong: couldn't load as tracker Exp_RegisterSongEx: Using player fluidsynth midi player P_GetNodesVersion: using normal BSP nodes I_ShutdownSound: I_DemoExShutdown: removing C:\Users\Tom_Cat\AppData\Local\Temp\prboom-plus-demoex-a02240.wad 0 Share this post Link to post
plums Posted April 21, 2014 Which version of x264 do you have? The one I found didn't support mp4 as a container, I had to edit prboom-plus.cfg to use 264 instead. http://www.doomworld.com/vb/post/1256609 changes underlined; lines trimmed for legibility# Video capture encoding settings cap_soundcommand "oggenc2 -r -R %s -q 5 - -o output.ogg" cap_videocommand "x264 -o output.264 --crf 22 --muxer auto --demuxer ... cap_muxcommand "mkvmerge -o %f output.264 output.ogg" cap_tempfile1 "output.ogg" cap_tempfile2 "output.264" cap_remove_tempfiles 1 If that's not the problem, post the mux_* sound_* and video_* text files, they might be more helpful. 0 Share this post Link to post
odysseyofnoises Posted April 21, 2014 I followed all of those directions, and now it seems like it's working because no sound is playing from the demo and it moves slower, but I still don't see any .mkv video files anywhere... none of the text files show any signs of error so I don't know what could possibly be going on 0 Share this post Link to post
odysseyofnoises Posted April 21, 2014 Here's what it says in mux_stdout.txt mkvmerge v5.1.0 ('And so it goes') built on Nov 28 2011 23:58:28 Error: The file 'output.ogg' has unknown type. Please have a look at the supported file types ('mkvmerge --list-types') and contact the author Moritz Bunkus <moritz@bunkus.org> if your file type is supported but not recognized properly. all the other text files are either empty or just list every single frame that's being worked on 0 Share this post Link to post
plums Posted April 21, 2014 Weird. Does mkvmerge --list-types show ogg as supported? Where did you get oggenc2.exe ? Is the ogg being created OK? you can change "cap_remove_tempfiles" to 0 and it should keep the output files, output.ogg should be the audio. 0 Share this post Link to post
odysseyofnoises Posted April 21, 2014 Yes ogg is listed. I got oggenc2 from this link http://www.rarewares.org/ogg-oggenc.php which I got from the post you linked to 0 Share this post Link to post
odysseyofnoises Posted April 21, 2014 The ogg which is created is listed as being 0 bytes... 0 Share this post Link to post
plums Posted April 21, 2014 Hmm. What happens if you make a super-short demo, like 5 seconds on MAP01, and then try that with viddump? 0 Share this post Link to post
plums Posted April 21, 2014 OK, running out of ideas here... sound_*.txt files are still empty after trying the 5 second demo? Can you verify your cap_soundcommand line is exactly the same as in my post above? that should be the default, but just in case... maybe try encoding a wave file with oggenc2 from the command-line? you should be able to just type 'oggenc2 wavefilename.wav' . If you don't have a wav file handy, here's one: http://www.mediafire.com/listen/igblkb7ban76iho/gtrfret.wav See if oggenc2 works that way and if anything interesting comes up in the terminal. 0 Share this post Link to post
odysseyofnoises Posted April 21, 2014 meh, I give up. This is literally the most f*cked up problem I've ever seen before in anything in all my years of PC usage. I'll just accept the fact that I can't make youtube videos of demos anymore. 0 Share this post Link to post
Memfis Posted April 21, 2014 I actually have the same problem. One day viddump just decided not to work anymore and I started getting that "video pipe failed" error no matter what. Absolutely no idea what caused it. 0 Share this post Link to post
plums Posted April 21, 2014 Well that's too bad. I wonder if entryway can shed some light on why that might happen. 0 Share this post Link to post
odysseyofnoises Posted April 22, 2014 I tried copying the files from my netbook and now it outputs a video file but the audio and video are desynchronized and the demo plays back too slowly EDIT: I changed the ".264" stuff in the cfg back to the default "mp4" and now it seems to work fine... So I guess the all of the problems are with the latest versions of the files or something like that 0 Share this post Link to post
Memfis Posted October 5, 2014 Can somebody please upload a copy of prboom-plus with all the files and settings necessary for the video recording to work? Then I'll try it on my computer and maybe it will work. 0 Share this post Link to post
Looper Posted October 5, 2014 Memfis said:Can somebody please upload a copy of prboom-plus with all the files and settings necessary for the video recording to work? Then I'll try it on my computer and maybe it will work. I got version, where you have to press Q (or esc + arrow up + enter + y) before the demo ends, or it will delete the .mkv :D 0 Share this post Link to post
VGA Posted October 31, 2014 Those plums settings allowed me to create an mkv but the synchronization was off. But I found a better solution: https://astrataro.wordpress.com/category/encode/x264/ In that page someone provides modified x264 versions with mp4 support. This worked fine for me with the default prboom settings. This fixes the x264 [error]: not compiled with MP4 output support Pasting this here in case people google for the error. 0 Share this post Link to post