| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Shout Factory acquires Go...
Forum: Official and unofficial releases
Last Post: dvdmike
1 hour ago
» Replies: 171
» Views: 55,274
|
The Hateful Eight Extende...
Forum: Released
Last Post: nopole
2 hours ago
» Replies: 26
» Views: 27,294
|
Arrow films Original loss...
Forum: Everything else...
Last Post: dvdmike
4 hours ago
» Replies: 6
» Views: 130
|
Harry Potter and the Pris...
Forum: Archived projects
Last Post: Stamper
10 hours ago
» Replies: 19
» Views: 32,148
|
A Charlie Brown Christmas...
Forum: Released
Last Post: orion6464
11 hours ago
» Replies: 0
» Views: 39
|
Highlander II - European ...
Forum: Released
Last Post: DeafYakuza
Today, 01:20 AM
» Replies: 110
» Views: 106,727
|
Introducing myself
Forum: Presentation
Last Post: lucasrabeloo
Yesterday, 06:40 PM
» Replies: 0
» Views: 47
|
Blu-ray subtitle conversi...
Forum: Converting, encoding, authoring
Last Post: DeafYakuza
2026-04-05, 09:17 PM
» Replies: 156
» Views: 148,007
|
The Terminator (1984) DEF...
Forum: Released
Last Post: Hitcher
2026-04-05, 08:49 PM
» Replies: 28
» Views: 12,966
|
Hello there. (General Ken...
Forum: Presentation
Last Post: dvdmike
2026-04-05, 06:41 PM
» Replies: 1
» Views: 252
|
|
|
| PAL <-> NTSC audio conversion |
|
Posted by: spoRv - 2016-11-13, 02:17 AM - Forum: Script snippets
- Replies (10)
|
 |
This simple Avisynth script converts an audio track from PAL to NTSC (or NTSC to PAL).
Required: nicaudio, to load audio files other than WAV
Optional: other audio import filters
Code: ################################################################################
# Avysinth script
#
# Converting audio tempo and/or pitch from PAL to NTSC and from NTSC to PAL
# note: NTSC works for both NTSC (29.97) and FILM (23.976) framerates
################################################################################
# choose ONLY one line and decomment it
# there are more audio loaders for avisynth,
# but these should cover 99% of restoration needs
################################################################################
# AC3 file load
#temp=nicac3source("filename.ac3")
# DTS file load
#temp=nicdtssource("filename.dts")
# WAV file load
#temp=wavsource("filename.wav")
################################################################################
# choose ONLY one line and decomment it
################################################################################
# change NTSC to PAL tempo, NOT pitch
#aud=temp.TimeStretch(tempo=100.0*25.0/(24000.0/1001.0))
# change NTSC to PAL tempo AND pitch too
#aud=temp.TimeStretch(tempo=100.0*25.0/(24000.0/1001.0),pitch=100.0*25.0/(24000.0/1001.0))
# changes PAL to NTSC tempo, NOT pitch
#aud=temp.TimeStretch(tempo=(100.0*24000.0/1001.0)/25.000)
# change PAL to NTSC tempo AND pitch too
#aud=temp.TimeStretch(tempo=(100.0*24000.0/1001.0)/25.000,pitch=(100.0*24000.0/1001.0)/25.000)
################################################################################
# create an empty video
vid=blankclip.loop
# mux video and audio together
audiodub(vid,aud)
# trim video to be long as audio
AudioTrim(0,last.AudioDuration)
# output is a WAV file
I'd like to see it as a function, with a call like soundconvert(audioclip,"p2n"yes) or something, where "p2n" is PAL to NTSC, and yes is for pitch conversion. Any good programmer here?
|
|
|
| Rigby Reardon's Mondo Sync Script for TGtBatU |
|
Posted by: Chewtobacca - 2016-11-13, 01:27 AM - Forum: Script snippets
- No Replies
|
 |
I'm posting this because:
- it got me into using AviSynth to sync and is something of an exemplar of how to do it;
- I think it's a little bit of scripting history.
The script synchronizes the English DTS-HD 5.1 from the (old i.e. pre-4K) MGM Blu-ray to the Italian BD from Mondo.
Requirements
- the latest version of AviSynth
- SoundOut and NicAudio plugins
- the audio track from the MGM BD in PCM format (which can be generated by eac3to)
*original post*
Code: /*
* GBUDub.avs
*
* This script generates a synced English dub for the
* Italian Blu-ray release of "The Good, the Bad, and
* the Ugly" out of the audio track of the MGM Blu-ray.
*
* Input file:
* PCM (big endian) format, 48kHz/24 bit, 6 channels
* runtime 02:58:41
*
* The runtime of the output file should be 02:54:23.
*
* "Rigby Reardon" @ AVSForum, 2009-10-18
*/
# Replace with your own filename here
au0 = NicLPCMSource("d:\video\GBU\gbu_6ch.pcm", 48000, -24, 6)
bl0 = BlankClip(length=256135, fps=24000, fps_denominator=1001, \
channels=6, audio_rate=48000, sample_type="24bit")
av0 = AudioDub(bl0, au0)
Trim(bl0, 0 , 413 ) ++ \
Trim(av0, 312 , 4237 ) ++ \
Trim(av0, 4254 , 18251 ) ++ \
Trim(av0, 18253 , 27442 ) ++ \
Trim(av0, 27441 , 35469 ) ++ \
Trim(av0, 35469 , 35796 ) ++ \
Trim(av0, 35796 , 40375 ) ++ \
Trim(av0, 40378 , 55111 ) ++ \
Trim(av0, 59854 , 66116 ) ++ \
Trim(av0, 66109 , 75416 ) ++ \
Trim(av0, 75418 , 76166 ) ++ \
Trim(av0, 76168 , 91535 ) ++ \
Trim(av0, 91534 , 94950 ) ++ \
Trim(av0, 94950 , 118982 ) ++ \
Trim(av0, 118974 , 124891 ) ++ \
Trim(av0, 124891 , 141569 ) ++ \
Trim(av0, 141569 , 147641 ) ++ \
Dissolve( \
Trim(av0, 149245 , 149536 ), \
Trim(av0, 147643 , 148134 ), 10 \
) ++ \
Dissolve( \
Trim(av0, 148132 , 148324 ), \
Trim(av0, 148321 , 149145 ), \
Trim(av0, 150217 , 150497 ), \
Trim(av0, 150490 , 150710 ), \
Trim(av0, 150705 , 150791 ), \
Trim(av0, 150787 , 151022 ), \
Trim(av0, 149522 , 149805 ), \
Trim(av0, 151029 , 151406 ), \
Trim(av0, 151396 , 151510 ), 2 \
) ++ \
Dissolve( \
Trim(av0, 151510 , 152091 ), \
Trim(av0, 149792 , 150237 ), \
Trim(av0, 152075 , 152492 ), 20 \
) ++ \
Dissolve( \
Trim(av0, 152583 , 152921 ), \
Trim(av0, 152984 , 154010 ), 2 \
) ++ \
Trim(av0, 154010 , 163697 ) ++ \
Trim(av0, 163699 , 168009 ) ++ \
Trim(av0, 168009 , 168723 ) ++ \
Trim(av0, 168723 , 175351 ) ++ \
Trim(av0, 175351 , 176293 ) ++ \
Trim(av0, 176284 , 211334 ) ++ \
Trim(av0, 211337 , 223241 ) ++ \
Trim(av0, 223240 , 224481 ) ++ \
Trim(av0, 224480 , 234857 ) ++ \
Trim(av0, 234859 , 244119 ) ++ \
Trim(av0, 244116 , 244155 ) ++ \
Trim(av0, 244155 , 244722 ) ++ \
Trim(av0, 244724 , 245819 ) ++ \
Trim(av0, 245821 , 249585 ) ++ \
Trim(av0, 249974 , 253861 ) ++ \
Trim(av0, 253890 , 256134 ).FadeOut0(240)
SoundOut()
# End of script
|
|
|
| The GOUT Sync Thread |
|
Posted by: Chewtobacca - 2016-11-13, 12:47 AM - Forum: Script snippets
- Replies (12)
|
 |
This is a direct copy of my thread on ot.com. It should already fulfil the requirements that Feallan posted in his introductory thread, but I'll double-check this when I have everything copied over.
Requirements
Obviously, the latest version of AviSynth is required. Scripts that use MPEGSource2() envisage use of DGIndex. Other script-specific requirements are listed as they arise.
A few people have mentioned that it might be nice to have a thread devoted to synchronizing various projects to the NTSC GOUT. Currently, most of the the relevant information is available, but it is scattered about a bit.
Background Information
In this context, GOUT refers to the bonus discs that came with the Limited Edition DVD release of the OT. By convention, audio mixes are synchronized to the NTSC GOUT, not the PAL GOUT; therefore, releases of the original theatrical versions of the OT tend to be synchronized to it as well so people can mux in their favorite audio.
Audio
All of hairy_hen's mixes are already synchronized to the NTSC GOUT. Belbucus' audio tracks need the following delay values.
Code: SW: + 1.017s
ESB: + .948s
ROTJ: + 1.015s
I'll start with scripts that sync the PAL GOUT to the NTSC GOUT and add others as people make them available.
Useful Links
Reel Lengths
|
|
|
| Script snippets subforum |
|
Posted by: Feallan - 2016-11-12, 06:53 PM - Forum: Script snippets
- Replies (3)
|
 |
This subforum is intended to be an easily searchable collection of scripts that do something. Could be anything related to A/V editing that's done using a series of text commands rather than a graphical interface.
To keep things manageable:
1. Each script must have its own thread with a descriptive name.
2. Each thread must have a prefix (you choose it from a list next to a field with thread name), which describes the piece of software your script is for. E.g. Avisynth
3. Inside each thread, write up what the script does, what it requires, how it is intended to be used etc. and then post the contents of the script using a "code" tag:
Code: Script body goes here
4. If your script is long and contains indents (\t), you should attach a file to your post instead
5. If your thread gets a lot of replies that made you change something in your script, update your original post and include information what was changed and why
Thread prefixes available now are AviSynth, eac3to, FFmpeg, x264, x265, Other. I couldn't think of any more, if you can, please post your suggestions here
|
|
|
| tim_p from UK saying hi |
|
Posted by: tim_p - 2016-11-07, 09:42 PM - Forum: Presentation
- Replies (6)
|
 |
Hi!
Lurker and occasional poster on lddb (not for a while) and OT (likewise) and blu-ray.com. Have always been interested in original soundtracks over revisionist nonsense and the golden/silver age of surround sound technology. Got really brave and bought an M-Audio soundcard last year to attempt some ld captures and never got round to installing it and sold it on! Real life means it'll be more of the low profile from me but I like to offer the occasional opinion, bit of research and so on.
To all those doing - keep up the good work!
|
|
|
| lossless codecs problem |
|
Posted by: spoRv - 2016-11-06, 02:28 PM - Forum: Converting, encoding, authoring
- Replies (7)
|
 |
I'm "back in business" in the last few days; trying to encode some pending projects, I had a lot of troubles - encoding crashes, stops at different frames etc.
I strongly suspect Lagarith is guilty; in particular, using more than one istance could be the problem... for example, I tried to save a project with it, using two sources encoded with the same codec - so, two Lagarith in, one Lagarith out... and it stops everytime; also, two Lagarith in, one X264 out do the same... trying to solve the problem saving those with other codecs - the LD with Huffyuv, the HD-DVD with MagicYUV, then I will try to encode the final project both in Lagarith and X264, and see what will happen - if Lagarith will fail, the problem lies in the codec itself, if also X264 will fail, problem is somewhere else, but where?
Let's wait until the final encoding...
|
|
|
|