Hi, I have a WDTV Live Hub Media Center and want to recreate an old TV block I use to watch through the use of .m3u playlists, as a project. There are a couple things I want to do the playlists, but don't know how, or if some of them are even possible to do since I've never worked with .m3u files before
The first thing I want to do is simulate commercial breaks in the .m3u playlists. Is there a way to tell the playlist to jump from the middle of the currently playing video to another video (or set of videos), which would be the commercial(s), then back again (through timecodes, etc.)? Or would I have to take the video, split it where the commercial break would be, then insert the commercials in between them in the .m3u file? (I'm trying to avoid this, though. I'd rather keep each episode of every series as one file)
The second thing I want to do is have the playlists randomly select videos from specified folders rather than just point it to individual files in it. This would be especially helpful in the case of getting the first issue sorted out. But is this even possible? If so, how would it be done?
Thanks
+ Reply to Thread
Results 1 to 5 of 5
-
-
Ah, I see. Thanks for the info. Well fortunately, the WDTV supports .WPL playlists, which apparently follow the SMIL structure. And I have here the code from one I made for testing purposes:
Code:<?wpl version="1.0"?> <smil> <head> <meta name="Generator" content="Microsoft Windows Media Player -- 10.0.0.3802"/> <author/> <title>Test</title> </head> <body> <seq> <media src="O:\Intros\Test Intro.mp4" tid="{FE9545C5-BAD4-4933-91D7-0801B13945E3}"/> <media src="O:\Series\Test video.mkv" tid="{724BF78F-05DB-420A-BD0A-F5BE3940533F}"/> <media src="O:\Bumps\Test Bump.mkv" tid="{9A0282E7-9513-4D5A-88B1-03165B809CBC}"/> <media src="O:\Intros\ Test Intro 2.mp4" tid="{3F25C94B-63BF-439F-9458-3743CB573A63}"/> </seq> </body> </smil>
And as for playing a random video from a folder, would I just write another <media src> line and point it just to the folder? -
This site: http:// http://webhelp.ucs.ed.ac.uk/domsdemo/playlists.html has good examples to help with setting dutation, start times, etc.
I just skimmed it, there may be info about randomness in there, too...
Scott
Edit: no, i dont think you need to split any files. Just try something like this:
file1->myfile.avi, start 0:00, duration 5:00
file2->mycommercial.mov, start 0:00, duration 2:00
file3->myfile.avi, start 5:00, dutation 5:00
...etc.Last edited by Cornucopia; 19th Jul 2012 at 23:45.
-
Similar Threads
-
How do I burn an m3u to DVD?
By Stealth3si in forum Newbie / General discussionsReplies: 2Last Post: 19th Jan 2010, 06:24 -
MP3 Audio PlayList m3u Help
By Chala in forum AudioReplies: 7Last Post: 21st Jul 2009, 18:18 -
FFmpeg - Removing commercial breaks from mpeg TV recording
By Chris_Smith in forum Video ConversionReplies: 0Last Post: 19th May 2009, 03:43 -
pls or m3u to avi
By py52126 in forum Video ConversionReplies: 1Last Post: 20th Jan 2009, 14:35 -
Easy way to find commercial breaks?
By lj01 in forum Newbie / General discussionsReplies: 3Last Post: 14th May 2008, 13:16