<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div>Hi François,</div><div><br></div><div>To be clear, I am not proposing anything like WebVTT (captions or subtitles for video content), but a format for creating on-the-fly recuts of videos:</div><div>https://en.wikipedia.org/wiki/Recut<br></div><div><br></div><div>Think of a radio edit (~3 minutes) for a club song of about 6 minutes. Radio edits are taken from the ~6 minute song, but instead of a 2 minute intro before the break, they replace it with some thing about 10 seconds long, do the same with the end and chop some off in the middle to reduce the duration down to about 3 minutes. The radio edit introduces no new audio, it just cuts bits off to hear all the good parts quickly.<br></div><div><br></div><div>My previous example takes a full length video file of 60 minutes (video.avi), and using a simple text file of the same name in the same directory (video.recut), when watching the video with VLC Player, it gets turned into a much shorter version on-the-fly (~37mins), i.e. doing Playback > Jump to Specific Time (Ctrl+T) multiple times automatically.</div><div><br></div><div>In other words when watching the video the progress bar would jump from 22:22,222 to 33:33,333 instantaneously.</div><div><br></div><div>I just borrowed the format from SubRip (SRT) which WebVTT also did, which is where the confusion is coming from. Although, in it's most basic form, there is no need for text to accompany the timecodes (nor even the number sequence before the timecodes).<br></div><div><br></div><div>This can already be done via things like Avidemux using scripts, but that outputs a whole new video file, which is not only large in size (~700mb) but you would be infringing copyright by publishing it publicly.</div><div><br></div><div>On the other hand, a small text file (~1kb) detailing how to chop up a video file, which VLC Player interprets on-the-fly using the original full length video, can be freely published to the web no problem whatsoever.<br></div><div><br></div><div class="ydp643a1667signature">Cheers,<br>DaveMark<br>.<br><div></div></div></div>
<div><br></div><div><br></div>
<div id="yahoo_quoted_6319490304" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Monday, 15 January 2018, 16:27:01 CET, Francois Cartegnie <fcvlcdev@free.fr> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Le 15/01/2018 à 16:06, DJDaveMark via vlc-devel a écrit :<br clear="none">> In the example above the transitions would be instantaneous.<br clear="none">> More advanced things to implement could be to use JSON format (allows future expansion) to specify things like transitions (as in CSS3 with effects/durations/etc.):<br clear="none">> 1<br clear="none">> 00:01:11,111 --> 00:22:22,222<br clear="none">> { "in": {"transition": "fadeIn", "duration": 2}, "out": {"transition": "fadeOut", "duration": 0.1}}<br clear="none">> <br clear="none">> The file extension could be .recut (or .rct)The file could be encoded in plain text UTF-8.An associated website indexing user submitted files could be openrecuts.org<br clear="none">> Let me know if anyone thinks it's a good idea and would like to code this up.<br clear="none"><br clear="none">No thanks. You're just reinventing webvtt and bringing the sames issues.<br clear="none"><br clear="none">We already have to deal with more formats we need.<br clear="none">Don't fork old formats. Use fully specified ones.<br clear="none"><br clear="none">-- <br clear="none">Francois Cartegnie<br clear="none">VideoLAN - VLC Developer<div class="yqt7301019168" id="yqtfd58947"><br clear="none">_______________________________________________<br clear="none">vlc-devel mailing list<br clear="none">To unsubscribe or modify your subscription options:<br clear="none"><a shape="rect" href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></div></div></div>
</div>
</div></div></body></html>