Tv-Server plugin Extract Images (1 Viewer)

mrfg

Portal Member
February 11, 2011
7
2
Home Country
Hello,
Is it possible to develop tv-server plugin which does : extract images (1 image per every minute) while capturing or recording the stream?

if yes please give a tip or any document to develop this, thank you.
 

mrfg

Portal Member
February 11, 2011
7
2
Home Country
hello, thank you for reply.
I just checked code of thumbnail processing. (not every details..) it uses ffmpeg.
so if recording file length is 1 hour and I need 59th minute's thumbnail/frame image. it takes time.... right?
can I do it more faster? or ... ?
 

mrfg

Portal Member
February 11, 2011
7
2
Home Country
hello again,

in code line : #154, #155
Code:
ffmpegArgs = string.Format("yadif=0:-1:0,scale=600:337,setsar=1:1,tile={0}x{1}", 1, 1);
ExtractorArgs = string.Format("-loglevel quiet -ss {0} -i \"{1}\" -y -ss {2} -vf {3} -vframes 1 -vsync 0 -an \"{4}_{5}.jpg\"", TimeOffset, aVideoPath, TimeToSeek, ffmpegArgs, strFilenamewithoutExtensionTemp, i)
so, for my test it's like :
Code:
ffmpeg.exe -loglevel quiet -ss 0 -i test_video.ts -y -ss 00:23:00.000 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an out.jpg
--- and this took ~ 2-3 minuts. which is not good.
no meaning extracting 1 image per every minute when the extracting process takes more then 1 minute.

or did I do something wrong ... ?[DOUBLEPOST=1413780367][/DOUBLEPOST]I've got answer, if need somebody

fast seek untill it reaches 00:22:00,
and then slow seek (frame by frame) 00:01:00 => 00:23:00
Code:
ffmpeg.exe -loglevel quiet -ss 00:22:00.000 -i test_video.ts -y -ss 00:01:00.000 -vf yadif=0:-1:0,scale=600:337,setsar=1:1,tile=1x1 -vframes 1 -vsync 0 -an out.jpg

details : https://trac.ffmpeg.org/wiki/Seeking with FFmpeg
 
Last edited:

Users who are viewing this thread

Similar threads

To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which solved the problem with dolby digital plus audio. I want to thank Doskabouter for all his time and energy he put into resolving this!!
To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which...
Hi all, I could use some help with the following; OS: Win11 24H2 TV server: 1.37.000.0|x64 (working with Mediaportal for maybe 20...
Replies
4
Views
2K
Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also have been applied to the independent radio channels (different MUXes), the logs that I prepared for one of the development team does show a difference between channel 704 ("BBC Radio 4") and channel 731...
Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also...
I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...
Replies
10
Views
2K
MP 1.37 Final (Willow) Bugfix II released, download links updated...
MP 1.37 Final (Willow) Bugfix II released, download links updated...
We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
Replies
4
Views
2K
  • Sticky
yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not relevant to the plugin itself (test, some leftover unused parts etc).
yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not...
We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
Replies
37
Views
5K
Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
Nice finding! (y)(y)(y) Adapted to new DWHD and PVHD ;) Position is in front of category bar ;)
This thread is intended for skin authors, plus those advanced users who have learnt skin programming and have customised the skins...
Replies
1
Views
2K
Top Bottom