#1 2012-02-11 13:33

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

TRID wrapper script that changes extension to mp4

I am using ReNamer a lot for renaming videos downloaded from Youtube.
I first play a video, catch its stream using a firefox extension called Flashgot, and pass the URL to FreeDownloadManager.
Unfortunately, it cannot detect the filename+extension. This has to be done manually.

The files are either flv, mp4 or webm.

ReNamer's TRID script identifies three alternative extensions (m4v/m4r/3g2).
Because of this, ReNamer reports that the file name is invalid, and requires manual intervention.

But I would be happy to just rename such file as mp4.

Can we have a wrapper script that invokes TRID, and simply changes the "m4v/m4r/3g2" extensions as "mp4"?
That would be a big timesaver.

Thanks in advance!

Offline

#2 2012-02-12 21:19

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: TRID wrapper script that changes extension to mp4

The script can be modified to do this automatically, but it may be better to just add another rule to replace ".m4v/m4r/3g2" with ".mp4"

Offline

#3 2012-02-13 06:02

narayan
Senior Member
Registered: 2009-02-08
Posts: 471

Re: TRID wrapper script that changes extension to mp4

Now how did I miss that? tongue

Thanks!

Offline

#4 2012-02-14 17:35

Andrew
Senior Member
Registered: 2008-05-22
Posts: 542

Re: TRID wrapper script that changes extension to mp4

eR@SeR asked this exact same question 3+ years back smile: http://www.den4b.com/forum/viewtopic.php?pid=2739#p2739

Offline

Board footer

Powered by FluxBB