| |||||||
| Community Plugins TV-Server Plugins created from users for users, can be found here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Feb 2007 Location: London Age: 25
Posts: 857
Thanks: 31
Thanked 33 Times in 24 Posts
Country: | I was looking into creating a simple plugin to transcode my TV recordings into MP4 - I then realized that 99% of the work was already done in iPiMP. A plugin existed, but it seems development has recently ended. iPiMP already transcodes to MP4, however it re-sizes to iPhone resolution. I have mentioned this to Cheezey, and have decided to create a thread. My proposal (as long as cheezey is ok with it), is to modify the Transcoding part of iPiMP into a seperate, simple MP4 trascoder. My suggested features: 1. Simple. Only MP4/h.264. If we start asking for every video format under the sun then things get complicated and buggy! 2. Option not to re-size the video. i.e. video is simply compressed to h.264/mp4, and nothing else is done (unless de-interlacing is required?) 3. Bitrate options for video and audio - but have a default to keep things simple for noobs. 4. Once finished transcoding, delete the original .ts file, and re-point the recording databse so that it points to the MP4 and not the old .ts file 5 (bonus) - automatically cut-out comskip (edl) files. there is already the option to delay the transcoding until a certain time - so thats a given. Anything else that people require? (oh and so its clear, cheezey is doing all the work.. i just suggested it)
__________________ > Disable the Home or Basic Home with my unsupported mod < Keep in mind that MediaPortal is free, and developed by people in their spare time! While you watch TV, drink in the pub and generally have a good time, Team MediaPortal are hard at work making MediaPortal better. So think about that before you make any complaints! |
| | |
| | #2 (permalink) | |
| MP Donator ![]() | If you're talking about making all of this automated.....go go go ![]() also Quote:
![]() cheers joystick
__________________ C2D 6550, 3gb, ASUS P5K-E WiFi AP, 2*500 GB Samsung Sata + 1x Samsung 1TB Sata, 3TB Nas over Powerline-Qnap TS-201, 2x FloppyDTV DVB-C+, Alphacrypt, 2x KNC-one Dvb-C+, HIS ATI HD2600XT 256MB, Zalman HD160+Irtrans, Harmony One + DiNovo Mini, MP 1 + Tv Server 1, WinXP SP3 | |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Feb 2007 Location: London Age: 25
Posts: 857
Thanks: 31
Thanked 33 Times in 24 Posts
Country: | Automated - yes I assume so. It would use the existing functionality to run at a set time (or straight away). it would transcode and replace the original file, and update the recordings database. Oh and if edl files are used - would be nice to delete them afterwards! (I think maybe odd things could happen if they still exist with the new file that has commercials removed?)
__________________ > Disable the Home or Basic Home with my unsupported mod < Keep in mind that MediaPortal is free, and developed by people in their spare time! While you watch TV, drink in the pub and generally have a good time, Team MediaPortal are hard at work making MediaPortal better. So think about that before you make any complaints! |
| | |
| | #4 (permalink) | ||||||
| Portal Member Join Date: Aug 2004 Location: West Yorks Age: 40
Posts: 486
Thanks: 8
Thanked 27 Times in 12 Posts
Country: | Quote:
Quote:
Quote:
Quote:
Quote:
Nice! My understanding is that you run comskip which detects the cut points and writes them to a file, that file is then used by another utility to do the actual cutting and there seems to be a few options for that so any feedback on the best approach would be welome. Quote:
![]() | ||||||
| | |
| | #5 (permalink) |
| Portal Member Join Date: Feb 2007 Location: London Age: 25
Posts: 857
Thanks: 31
Thanked 33 Times in 24 Posts
Country: | RE Comskip - some encoding programs have a argument you pass which tells them "look for a edl/comskip file, if you find one, use it to remove commercials". so you may only need to add a single argument - depends which encoding tool you use ![]() btw - thanks again!!!! ![]()
__________________ > Disable the Home or Basic Home with my unsupported mod < Keep in mind that MediaPortal is free, and developed by people in their spare time! While you watch TV, drink in the pub and generally have a good time, Team MediaPortal are hard at work making MediaPortal better. So think about that before you make any complaints! |
| | |
| | #6 (permalink) | ||
| Portal Member Join Date: Aug 2004 Location: West Yorks Age: 40
Posts: 486
Thanks: 8
Thanked 27 Times in 12 Posts
Country: | Quote:
Jings!! it disnae worrrrrk.Just as a test I updated one of my recordings to use the transcoded MP4 and it's not playable through TVE3 recordings. tv.log reports Code: 2008-12-02 19:19:01.530696 [16]: RTSP: add stream 3DA5133B file:E:\MP4\QI Children in Need Special - BBC TWO - 2008-11-14.mp4 2008-12-02 19:19:01.544367 [16]: Controller: streaming url:rtsp://SERVER/3DA5133B file:E:\MP4\QI Children in Need Special - BBC TWO - 2008-11-14.mp4 2008-12-02 19:19:13.198895 [RTSP Streaming thread]: RTSP: Streamer stopped Code: 02-12-2008 19:19:01 Stream server: add mpeg-2 ps stream 3DA5133B filename:E:\MP4\QI Children in Need Special - BBC TWO - 2008-11-14.mp4 02-12-2008 19:19:01 ServerMediaSession ctor:3DA5133B 02-12-2008 19:19:01 ServerMediaSubsession:ctor 02-12-2008 19:19:01 MPEG2TstFileServerMediaSubsession::ctor:741d178 02-12-2008 19:19:01 Stream server: url for stream is rtsp://192.168.241.2/3DA5133B 02-12-2008 19:19:01 CMemoryBuffer::ctor 02-12-2008 19:19:01 MPEG2TstFileServerMediaSubsession:createNewStreamSource:741d178 02-12-2008 19:19:01 ts:open E:\MP4\QI Children in Need Special - BBC TWO - 2008-11-14.mp4 02-12-2008 19:19:01 ts:ctor:57bfcc8 02-12-2008 19:19:01 ts:size 131105964 02-12-2008 19:19:01 MPEG1or2Demux:ctor:57d0060 02-12-2008 19:19:01 MPEG1or2DemuxedElementaryStream:ctor:57c0270 02-12-2008 19:19:01 MPEG2TransportStreamFromPESSource::ctor:735e030 02-12-2008 19:19:01 MPEG2TransportStreamFramer:ctor:5716f40 02-12-2008 19:19:02 MPEG2TransportStreamFramer:dtor:5716f40 02-12-2008 19:19:02 MPEG2TransportStreamFromPESSource::dtor:735e030 02-12-2008 19:19:02 MPEG1or2DemuxedElementaryStream:dtor:57c0270 02-12-2008 19:19:02 MPEG1or2Demux:dtor:57d0060 02-12-2008 19:19:02 ts:dtor:57bfcc8 02-12-2008 19:19:02 MPEG2TransportStreamFramer:ctor:13a90630 02-12-2008 19:19:02 MPEG2TstFileServerMediaSubsession:createNewStreamSource:741d178 02-12-2008 19:19:02 ts:open E:\MP4\QI Children in Need Special - BBC TWO - 2008-11-14.mp4 02-12-2008 19:19:02 ts:ctor:735f570 02-12-2008 19:19:02 ts:size 131105964 02-12-2008 19:19:02 MPEG1or2Demux:ctor:57d0060 02-12-2008 19:19:02 MPEG1or2DemuxedElementaryStream:ctor:57c0270 02-12-2008 19:19:02 MPEG2TransportStreamFromPESSource::ctor:735e030 02-12-2008 19:19:02 MPEG2TransportStreamFramer:ctor:57bfcc8 02-12-2008 19:19:02 CMemorySink::ctor 02-12-2008 19:19:02 memorybuffer: Clear() 0 02-12-2008 19:19:02 memorybuffer: Clear() done 02-12-2008 19:19:02 memorybuffer: run:1 1 02-12-2008 19:19:02 memorybuffer: running:1 02-12-2008 19:19:02 server:Play from 192.168.241.2 (0) (57cb1c8) 02-12-2008 19:19:02 ts:seek 0 02-12-2008 19:19:02 CMemorySink:addData Code: 02-12-2008 19:19:06 StreamParser::parsePack() saw strange byte 02-12-2008 19:19:06 00000000 02-12-2008 19:19:06 following pack_start_code 02-12-2008 19:19:06 StreamParser::parseSystemHeader(): saw strange header_length: 02-12-2008 19:19:06 0 02-12-2008 19:19:06 < 6 Code: 02-12-2008 19:19:07 ts:eof reached 02-12-2008 19:19:12 memorybuffer: run:0 1 02-12-2008 19:19:12 memorybuffer: Clear() 1 02-12-2008 19:19:12 memorybuffer: Clear() done 02-12-2008 19:19:12 memorybuffer: running:0 02-12-2008 19:19:13 CMemorySink::dtor 02-12-2008 19:19:13 MPEG2TransportStreamFramer:dtor:13a90630 02-12-2008 19:19:13 memorybuffer: Clear() 0 02-12-2008 19:19:13 memorybuffer: Clear() done 02-12-2008 19:19:15 memorybuffer: Clear() 0 02-12-2008 19:19:15 memorybuffer: Clear() done 02-12-2008 19:19:15 memorybuffer: run:1 0 02-12-2008 19:19:15 memorybuffer: running:1 02-12-2008 19:19:15 memorybuffer: Clear() 0 02-12-2008 19:19:15 memorybuffer: Clear() done So where to next??? | ||
| | |
| | #7 (permalink) |
| Portal Member Join Date: Feb 2007 Location: London Age: 25
Posts: 857
Thanks: 31
Thanked 33 Times in 24 Posts
Country: | Wonder is any MP developers can help ? Must be able to handle more than MPEG2, as there was/is a built in WMV/XVID encoder?
__________________ > Disable the Home or Basic Home with my unsupported mod < Keep in mind that MediaPortal is free, and developed by people in their spare time! While you watch TV, drink in the pub and generally have a good time, Team MediaPortal are hard at work making MediaPortal better. So think about that before you make any complaints! |
| | |
| | #8 (permalink) | |
| Portal Member Join Date: Aug 2004 Location: West Yorks Age: 40
Posts: 486
Thanks: 8
Thanked 27 Times in 12 Posts
Country: | I think when this has been looked at in the past the transcoded files have been viewed through My Videos (which is still a possibility in this case). Quote:
Last edited by cheezey; 2008-12-02 at 21:20. | |
| | |
| | #9 (permalink) |
| Super Moderator Join Date: Jun 2005 Location: Cheshire UK
Posts: 7,051
Thanks: 139
Thanked 259 Times in 230 Posts
Country: | Ok, i like the idea and use MCEBuddy myself to transcode to h.264. A couple of things that may need to be made clear, this is for saving recordings you wish to keep as, either a Movie or as part of a TV-Series you are collecting, the point of putting something back into TVRecordings does not make sense, it would be better if you could select a new name\destination from inside the running plugin, ie Merlin 1x04 The Poisened chalice send to TVShows\Merlin. Maybe also have the ability to predefine destinations, ie Movie\TVshows folder and select series from a dropdown list to encode too. Just a thought ![]()
__________________ Ray\PD Check your codecs are fine with Filmerit. Upload Logs\Pictures etc, use the "Go Advanced" and select the + feature to upload\attach files. |
| | |
| | #10 (permalink) |
| MP Donator ![]() | maybe one more thing: you should delete the old (cut) files and also delete the comskip files. AND I think i'd be great if you get a notification/view inside MP that x-Files have been converted/cut and y-files have not been cut due to problems (you'd mabe need a folder for problematic files) cheers joystick
__________________ C2D 6550, 3gb, ASUS P5K-E WiFi AP, 2*500 GB Samsung Sata + 1x Samsung 1TB Sata, 3TB Nas over Powerline-Qnap TS-201, 2x FloppyDTV DVB-C+, Alphacrypt, 2x KNC-one Dvb-C+, HIS ATI HD2600XT 256MB, Zalman HD160+Irtrans, Harmony One + DiNovo Mini, MP 1 + Tv Server 1, WinXP SP3 |
| | |
![]() |
| Bookmarks |
| Tags |
| idea, ipimp, mp4, simple, spinoff, transcoder |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| iPhone interface for MediaPortal (iPiMP) - 3.2.0 | cheezey | Community Plugins | 218 | Today 13:27 |
| its possible deactive definitely spin in listcontrol and filmstrip??? | towerpc | Skins | 2 | 2008-07-15 16:07 |
| Spin of the Controls | jC_Infusion | General Support | 0 | 2007-08-09 03:32 |
| Configuration idea for EPG in MP (make it simple but still powerful) | Lyxalig | Improvement Suggestions | 5 | 2006-11-10 17:10 |
| A nice little simple idea | Anonymous | Improvement Suggestions | 3 | 2004-11-14 23:07 |