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
3K
As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that superficial knowledge of a subject can make people arrogant or foolish, suggesting one should either learn deeply or not at all. "Superficial", and "arrogant or foolish" would be me :eek: . However... I would...
As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that...
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
12
Views
4K
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
3K
  • 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
10K
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