Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: my preview script stopped working properly on version V8.2 B3420

This topic is old and might contain outdated or incorrect information.

jaakkoPRO InfinityMember since 2006
I have a special script for a button that loads a song to deck 3, goes to cue 2 and plays is only in my headphones. I use it as quick way to preview next possible song. Now after the latest update script does not work as it should. On some songs it does not go to cue 2 but it goes to cue 2 - several beats. It is annoying as I always set the cue 2 to a point where melody starts. Strange thing is that this only happens with videos which have audio 48000 Hz. All the other type of files and videos normally. This problem started after I updated on sunday to the latest version. The version is V8.2 b3420.

Where can I download the previous version?
 

Posted Tue 04 Oct 16 @ 6:09 pm
jaakkoPRO InfinityMember since 2006
ok found the previous version, the problem is now gone when I reverted to V 8.2 b3409
 

Posted Tue 04 Oct 16 @ 6:23 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Can you post here the action assigned to that button that works with the previous build but not with the latest one ?

Also, what is the Samplerate of the used sound card ? You can see that if you put mouse over the selected sound card in the AUDIO Setup lines.

Lastly, is it possible to upload one of those videos to some server and PM me the link to test here ?

Thanks
 

Posted Tue 04 Oct 16 @ 6:48 pm
jaakkoPRO InfinityMember since 2006
I did some more investigation and the bug is very easy to reproduce. All you need for a script is "load & goto_cue 2". Make sure that you don't have any tracks loaded and your track has cue 2. When you click button that have the script assigned, a selected song from browser should be loaded on cue 2. It works always in previous VDJ versions. But current one it does not! It loads the track but it's not on the cue, but some beats before that. It seem to only happen with mp4 videos that have audio: AAC, stereo, 48000hz, 320 kbps.

I have Windows 10 and stanton DJC4 controller as a soundcard (Asio Driver 44100 KHZ, Int32LSB, 4 chan out, 4 chan in, 256 samples).

Hope this helps and gets resolved! I cannot use the latest version of 8.2 because of this.

If it's necessary, I can upload the video file.
 

Posted Wed 05 Oct 16 @ 6:36 pm
jaakkoPRO InfinityMember since 2006
jaakko wrote :
I did some more investigation and the bug is very easy to reproduce. All you need for a script is "load & goto_cue 2". Make sure that you don't have any tracks loaded and your track has cue 2. When you click button that have the script assigned, a selected song from browser should be loaded on cue 2. It works always in previous VDJ versions. But current one it does not! It loads the track but it's not on the cue, but some beats before that. It seem to only happen with mp4 videos that have audio: AAC, stereo, 48000hz, 320 kbps.

I have Windows 10 and stanton DJC4 controller as a soundcard (Asio Driver 44100 KHZ, Int32LSB, 4 chan out, 4 chan in, 256 samples).

Hope this helps and gets resolved! I cannot use the latest version of 8.2 because of this.

If it's necessary, I can upload the video file.


 

Posted Wed 05 Oct 16 @ 6:38 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
What if you right-click on the file and choose to analyze for BPM (so re-analalyze track with ver 8) and then use the shortcut ? Does it still load the track to an incorrect position ?

Yes, please upload one of those files and if possible copy-paste here the part of the database.xml file that refers to that track.
 

Posted Thu 06 Oct 16 @ 6:28 pm
jaakkoPRO InfinityMember since 2006
here is the snippet ( I reanalyzed it and did not help):

<Song FilePath="E:\dj\database\2010s\David Guetta ft Sia - Bang My Head (David Guetta & Nicky Romero Verse In Short Bootleg) [720cn] [provideos].mp4" FileSize="151998503" Flag="64">
<Tags Author="David Guetta ft Sia" Title="Bang My Head (David Guetta & Nicky Romero Verse In Short Bootleg) [720cn] [provideos]" Genre="dance;house;prog;elec" Album="##### €€€€€ BBBBB" Composer="P_D_EDM_" Label="++" TrackNumber="76" Year="2015" Stars="4" User2="§§" />
<Infos SongLength="267.157333" FirstSeen="1448308108" FirstPlay="1448311565" LastPlay="1448311565" PlayCount="1" Bitrate="4544" Cover="1" />
<Scan Version="800" Bpm="0.483866" AltBpm="0.362902" Volume="1.607373" Key="Am" />
<Poi Pos="2.022676" Type="beatgrid" />
<Poi Pos="2.013333" Type="automix" Point="realStart" />
<Poi Pos="267.152000" Type="automix" Point="realEnd" />
<Poi Pos="1.950476" Type="automix" Point="fadeStart" />
<Poi Pos="266.936599" Type="automix" Point="fadeEnd" />
<Poi Pos="2.007800" Type="automix" Point="cutStart" />
<Poi Pos="265.715374" Type="automix" Point="cutEnd" />
<Poi Pos="2.005215" Type="automix" Point="tempoStart" />
<Poi Pos="247.343968" Type="automix" Point="tempoEnd" />
<Poi Name="Cue 2" Pos="141.369909" Num="2" />
<Poi Name="Cue 1" Pos="110.400317" Num="1" />
<Poi Name="Cue 5" Pos="110.400317" Num="5" />
<Poi Name="Cue 6" Pos="141.369909" Num="6" />
<Poi Name="Cue 7" Pos="172.339524" Num="7" />
<Poi Name="Cue 8" Pos="187.824308" Num="8" />
<Poi Name="Cue 9" Pos="220.729524" Num="9" />
<Poi Name="Cue 3" Pos="251.699116" Num="3" />
<Poi Name="Cue 4" Pos="267.183923" Num="4" />
<Poi Name="Break 1" Pos="140.413968" Type="remix" />
<Poi Name="Break 2" Pos="185.774150" Type="remix" />
<Poi Name="End Break 2" Pos="220.728163" Type="remix" />
</Song>

it happens when you select the song from browser and activate script "load & goto_cue 2" . It goes about 8 beats above cue 2 after load. It only happens once. When Song is loaded (even another deck) it goes to right position. So it i important that you both decks are empty before trying. The example song has 48000 Hz audio. It only happens with videos with that audio codec.

DjDAD I will PM the dropbox link to you. Hope you can reproduce the bug.
 

Posted Sun 09 Oct 16 @ 11:22 am
jaakkoPRO InfinityMember since 2006
Bump! Still unresolved in the latest VDJ version :(
 

Posted Fri 10 Mar 17 @ 9:41 am
AdionPRO InfinityCTOMember since 2006
The action 'load' is asynchronous. Because it can't be predicted how long opening a song might take, it is done in the background and the rest of the script continues to execute immediately, likely before loading has completed.
A workaround could be to use repeat_start for the second part of your script to delay going to the cue with 100ms or so.
 

Posted Fri 10 Mar 17 @ 10:03 am


(Old topics and forums are automatically closed)