Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,414
» Latest member: tronakatrony
» Forum threads: 6,191
» Forum posts: 87,176

Full Statistics

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?

Print this item

  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:

  1. it got me into using AviSynth to sync and is something of an exemplar of how to do it;
  2. 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

Print this item

  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

Print this item

  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

Print this item

  GTA Online?
Posted by: ilovewaterslides - 2016-11-11, 11:22 PM - Forum: Everything else... - Replies (2)

Seems to be the best place to post that. GTA Online is the game I play the most to. Actually I play with a good friend of mine with whom I share a lot of common interests. We've created a crew called "The LaserDiscs" Big Grin and we feel a bit lonely from time to time so we were wondering if anybody else on here is playing to the PC version and would like to join us in our crew for some cool sessions! I'd like to hear from any of you really, even if you already have a crew. It would still be interesting to play and chat with someone else from FanRes Smile I'm not expecting a lot of people that are playing to this game and even less on PC but we never know!

Print this item

  Ultra HD / 4K movies
Posted by: spoRv - 2016-11-10, 12:56 AM - Forum: Official and unofficial releases - Replies (59)

OK, I'm aware there are the new UltraHD Blu-ray at 66GB or 100GB (right?) and also web streaming, and satellite broadcasting... is there some website which lists the available titles, both on UHDBD and web? Also, are some UHDTV broadcast actually recorded and available somewhere? I wonder the file size... I mean, a friend told me he watched several 2160p movies, and many were way over 100GB - some around 140GB...  Eek

Print this item

  U.S election
Posted by: IcePrick - 2016-11-09, 07:05 AM - Forum: Everything else... - Replies (35)

Anyone watching the U.S election right now? I'm despairing pretty bad right now. Sad

Print this item

Thumbs Up Kush Gauge Calculator
Posted by: spoRv - 2016-11-09, 03:12 AM - Forum: Restoration guides - Replies (8)

[Image: Kush-Gauge-calculator.jpg]
Want to know the optimal encoding bitrate to achieve good quality?
Want to know if the quality of the source you would use in your project is right?
Wait no more - take a look at the Kush Gauge Calculator!

Print this item

  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!

Print this item

  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...

Print this item