Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

[OBSOLETE][APP] Create Launch Video's from playfield with overlay


Mike_da_Spike

Recommended Posts

thank you very much for answering me I know you do everything selflessly but there are people who want to make this a business
I have been a fan of pinball since I was a child.13 years ago, I discovered visual pinball and did not stop until I was able to do my virtual pinball
I also thought it was because my videos were F4v so I converted one to mp4 but it didn't work either
this happened when i run the cmd

run ffmpeg.txt

Link to comment
Share on other sites

Thank @joyrider3774 for supporting why I was in hibernate mode :), but think you should go in hybernate too :P.

This option was already in there. When detecting a NVDIA card , ffmpeg will use the nvenc codec (much faster). I never realized that people could/should use an old version of ffmpeg. 

I'm in progress to rewrite the tool in vb.ner i stead of vbscript (because the vbscript is shown as a virus). I will do a check if nvenc is supported 

Link to comment
Share on other sites

10 hours ago, Mike_da_Spike said:

Is the program now working for you ?

it doesn't work for me, it creates all the videos in the loading videos folder but the files do not contain any image content

in a lav filter problem now

Filter hflip has a unconnected output This says in the output I send

Link to comment
Share on other sites

15 minutes ago, dewo said:

it doesn't work for me, it creates all the videos in the loading videos folder but the files do not contain any image content

in a lav filter problem now

Filter hflip has a unconnected output This says in the output I send

the filter to connect this from ffmpeg

Link to comment
Share on other sites

29 minutes ago, scutters said:

Todavía parece la misma versión de ffmpeg;

ffmpeg versión N-76648-g6f520ce Copyright (c) 2000-2015 los desarrolladores de FFmpeg construidos con gcc 5.2.0 (GCC)

¿Actualizaste la copia en la carpeta pinballx?

you're right i'll change to see what happens

This version is the one in my PBXrecorder_64 with which I record all my videos from the tables

Link to comment
Share on other sites

The run ffmpeg.txt has somewhere an issue, but cannot identify it. I asume it errors with the the message

Quote

Filter hflip has an unconnected output

Does it creates the mp4 file ?

The run of the program checks the return code of ffmpeg. If this is 0 the videos should be created without an issue.

Can you post one of the created MP4's, to check if it is not a codec issue ?

Link to comment
Share on other sites

@Mike_da_Spike i ran his command and i see similar error, i have not tried using the app. but from his ffmpeg.txt he is running this:

 

ffmpeg.exe -y -i "C:\PinballX\Media\Visual Pinball\Table Videos\Xenon (Bally 1980).f4v" -r 12.8 -thread_queue_size 512 -i "C:\PinballX\Media\Overlay
\T2%03d.png" -filter_complex "[0:v]scale=1920:1080[scaled];[scaled][1:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2,fps=fps=30,vflip,hflip" -ss 00:00:00 -
t 00:00:05 -an -vcodec:a h264_nvenc -b:v 5M -f MP4"C:\PinballX\Media\Loading Videos\Xenon (Bally 1980).MP4"

the fault comes from the last line MP4"C:\PinballX\Media\Loading Videos\Xenon (Bally 1980).MP4" it needs a space between MP4 and the filename otherwise it gives that error about hflip

this the corrected command he should run

 

ffmpeg.exe -y -i "C:\PinballX\Media\Visual Pinball\Table Videos\Xenon (Bally 1980).f4v" -r 12.8 -thread_queue_size 512 -i "C:\PinballX\Media\Overlay
\T2%03d.png" -filter_complex "[0:v]scale=1920:1080[scaled];[scaled][1:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2,fps=fps=30,vflip,hflip" -ss 00:00:00 -
t 00:00:05 -an -vcodec:a h264_nvenc -b:v 5M -f MP4 "C:\PinballX\Media\Loading Videos\Xenon (Bally 1980).MP4"

 

and according to the app log the video's should have been created but maybe he is not using the derandomizer plugin to actually see the videos inside pinballx

Link to comment
Share on other sites

the derandomizer plugin i am using it because i create some 5s mp4 videos to test if that plugin worked and it works.
I moved all those videos from the loadin videos folder so that creating launcher videos would make new videos from my F4v and overlay the pngs from the overlay folder but the result is that the videos are created but they don't have content inside

Link to comment
Share on other sites

I suppose it must be a problem of the FFMPEG that's why it tells me in the output
  Filter hflip has an unconnected output
I will try to make some F4v and Mp4 videos of my tables with the new version of FFMPEG that I installed to see if it works

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...