Log in

View Full Version : Creating playback scripts to censor film content


nibus
24th October 2011, 06:31
I'm looking for a way to create AviSynth scripts for playback in order to censor or cut out inappropriate film scenes for children. I don't want to re-encode my movies again so it would be nice to have an alternative .avs script "edit" for movies that contain questionable content, and have the script automatically skip certain timecodes and possibly mute audio at certain points as well.

Is there a way to do this, maybe with directshowsource()?

Hipster Doofus
24th October 2011, 07:21
I just use trim. Example:

AVISource("The Island.avi")
Trim(0,142818) + trim(142830,150579) +trim(150639,151169) +trim(151206,0)

I use virtualdub to get the frame numbers.

Then just play the avs through media player.

Might be better options but I find that the easiest way for me.

AzraelNewtype
24th October 2011, 09:13
I'm looking for a way to create AviSynth scripts for playback in order to censor or cut out inappropriate film scenes for children. I don't want to re-encode my movies again so it would be nice to have an alternative .avs script "edit" for movies that contain questionable content, and have the script automatically skip certain timecodes and possibly mute audio at certain points as well.

Is there a way to do this, maybe with directshowsource()?

Honestly, with this sort of goal I'd rather write up an ordered chapter file and mux it to matroska than deal with playback of an AVS just to skip past parts. With matroska editions, you can even toggle on the fly whether you want the cut or uncut version, as fits the audience at the time, and without installing avisynth on every playback device.

nibus
24th October 2011, 09:35
I just use trim. Example:

AVISource("The Island.avi")
Trim(0,142818) + trim(142830,150579) +trim(150639,151169) +trim(151206,0)

I use virtualdub to get the frame numbers.

Then just play the avs through media player.

Might be better options but I find that the easiest way for me.

Thanks! I'll give this a shot.

Honestly, with this sort of goal I'd rather write up an ordered chapter file and mux it to matroska than deal with playback of an AVS just to skip past parts. With matroska editions, you can even toggle on the fly whether you want the cut or uncut version, as fits the audience at the time, and without installing avisynth on every playback device.

Interesting... is there any documentation you could point me to or maybe an example? Thanks.

AzraelNewtype
26th October 2011, 08:33
Interesting... is there any documentation you could point me to or maybe an example? Thanks.

http://mod16.org/hurfdurf/?p=8