home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Video Thumb Creator
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="bmt" data-source="post: 632965" data-attributes="member: 102256"><p>Hi everyone,</p><p></p><p>I am trying to generate Video Thumbs for my Plugin:</p><p></p><p>[CODE] VideoThumbCreator.CreateVideoThumb(@"C:\video.ts", @"C:\thumb.jpg", true, false);[/CODE]</p><p></p><p>But it doesn't work. Am I doing it wrong?</p><p></p><p>I also noticed that creating a thumb for the tv-plugin doesn't always work:</p><p></p><p><img src="http://www.imagebanana.com/img/ieegrxqd/video_thumbs.JPG" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Has someone an idea what could be wrong?</p><p></p><p>Thx in advance!</p><p></p><p></p><p></p><p>/***EDIT****/</p><p>I could solve it on this way:</p><p></p><p>[code]</p><p> private void generateThumb()</p><p> {</p><p> Process proc = new Process();</p><p> proc.StartInfo.FileName = Environment.SystemDirectory + @"\cmd.exe";</p><p> proc.StartInfo.CreateNoWindow = true;</p><p> proc.StartInfo.WorkingDirectory = @"C:\";</p><p> proc.StartInfo.FileName = @"ffmpeg.exe";</p><p> proc.StartInfo.Arguments = "-i video.ts -vframes 1 -ss 00:00:15 -s 160x120 thumb.jpg";</p><p> proc.Start();</p><p> proc.WaitForExit();</p><p> proc.Close();</p><p> }</p><p>[/code]</p><p></p><p>But i think this is a more slower, uncomfortable way.</p></blockquote><p></p>
[QUOTE="bmt, post: 632965, member: 102256"] Hi everyone, I am trying to generate Video Thumbs for my Plugin: [CODE] VideoThumbCreator.CreateVideoThumb(@"C:\video.ts", @"C:\thumb.jpg", true, false);[/CODE] But it doesn't work. Am I doing it wrong? I also noticed that creating a thumb for the tv-plugin doesn't always work: [IMG]http://www.imagebanana.com/img/ieegrxqd/video_thumbs.JPG[/IMG] Has someone an idea what could be wrong? Thx in advance! /***EDIT****/ I could solve it on this way: [code] private void generateThumb() { Process proc = new Process(); proc.StartInfo.FileName = Environment.SystemDirectory + @"\cmd.exe"; proc.StartInfo.CreateNoWindow = true; proc.StartInfo.WorkingDirectory = @"C:\"; proc.StartInfo.FileName = @"ffmpeg.exe"; proc.StartInfo.Arguments = "-i video.ts -vframes 1 -ss 00:00:15 -s 160x120 thumb.jpg"; proc.Start(); proc.WaitForExit(); proc.Close(); } [/code] But i think this is a more slower, uncomfortable way. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Video Thumb Creator
Contact us
RSS
Top
Bottom