|
| To: | transcode Users Mailing List <transcode-users@xxxxxxxxx> |
| Subject: | Re: [transcode-users] .srt file timeshifting |
| From: | Mats Högberg <mitt.namn@xxxxxxxxx> |
| Date: | Fri, 28 Jan 2005 21:19:36 +0100 |
| Cc: | transcode-devel@xxxxxxxxx |
| Delivered-to: | itdp@localhost |
| In-reply-to: | <20050128200040.GA26212@tecra780> |
| References: | <20050128200040.GA26212@tecra780> |
| User-agent: | Mozilla Thunderbird 0.8 (Windows/20040913) |
A progressive timeshift could be useful for those occations you have different FPS in AVI and .srt - maybe some presets to go between the common FPS values? (Did a hack a while back for that purpose in VBScript Windows side...)Since I couldn't find a non-windows version online, I wrote a quick and dirty .srt file timestamp shifter for applying global millisecond offset to an .srt file.
I couldn't find a spec, but I guessed that the value after the "," in the timestamps was the milliseconds field.
If there is a need for a "progressive" timeshift, i.e. 2ms per 1000ms or something, I can easily add it... I don't know if that is a real need.
The script is here:
http://www.transcoding.org/cgi-bin/transcode?Srtshifter
Phil
| [Prev in Thread] | Current Thread | [Next in Thread] |