MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
Thread Tools Display Modes
Old 2007-03-07, 07:45   #71 (permalink)
Portal Member
 
pierremenard's Avatar
 
Join Date: Apr 2006
Location: Verona (Italy)
Age: 30
Posts: 203
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via Skype™ to pierremenard
Default

Quote:
Originally Posted by Noelix View Post
Fabrice, I still can't see my recorded tv episodes when I go to the transcoder plugin. It shows up in Recorded TV. I've included a screenshot of the data in the database. It may have something to do with me using MySQL instead of MSSQL.
Yesterday I noticed that only dvrms file are shown. I tried to convert to mpeg before transcoding to xvid, but this was not possible, as transcoder plugin seems only to manage dvrms file. Should it be the answer to your problem?

Moreover, I noticed a couple of small bug: on 2 pass xvid transcoding, the plugin show "completed " after the first pass (while ffmpeg continues working on the background) insted of completing the percentage.
Then powerscheduler does not "feel" transcoder plugin running, putting the pc in hybernation while transcoding.

Quality issue: in compressed avi (only tried with ffmpeg) I noticed some issues in movement, as it is not "fluid". I guessed it is because ffmpeg can't get correctly the fps of dvrms file generated by mediaportal (some are seen as 52 fps some others as 0.8 fps). Could it be right?
__________________

Chart of Oil price in Euro

Last edited by pierremenard; 2007-03-07 at 09:39.
pierremenard is offline   Reply With Quote
Old 2007-03-07, 09:31   #72 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Hello Noelix,

Do you use the TV Engine ? because normally it is filesystem database SQL lite and the table is called "recorded"

Bye
Fabrice
fabriceD06 is offline   Reply With Quote
Old 2007-03-07, 10:35   #73 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Quote:
Yesterday I noticed that only dvrms file are shown. I tried to convert to mpeg before transcoding to xvid, but this was not possible, as transcoder plugin seems only to manage dvrms file. Should it be the answer to your problem?
yes the plugin gets only records with extension .dvr-ms, after the transconding theses files are updated in .avi , i don't see any use case to re-encode again the new avi file ?no ?

It is exist a mean to encode with MP directly in MPEG2 container (whithout use dvr-ms) ?if yes ok i remove the filter

Quote:
Moreover, I noticed a couple of small bug: on 2 pass xvid transcoding, the plugin show "completed " after the first pass (while ffmpeg continue working on the background) insted of completing the percentage.
ok , i will fix it in next version

Quote:
Then powerscheduler does not "feel" transcoder plugin running, putting the pc in hybernation while transcoding.
Very good question ! i will look the powerscheduler API to see a possibility to notice the powerscheduler of Transcoding activities (just information the MP compress plugin doesn't support this )

Quote:
Quality issue: in compressed avi (only tried with ffmpeg) I noticed some issues in movement, as it is not "fluid". I guessed it is because ffmpeg can't get correctly the fps of dvrms file generated by mediaportal (some are seen as 52 fps some others as 0.8 fps). Could it be right?
Yes, i think it is due because MP and TV cards (like PVR 150) support to encode the stream in variable bit rate and FFMPEG doesn't support correctly xvid encoding in variable bit rate

But i think FFMPEG and MENCODER is very good transcoder from MPEG2 source, so i think integrated DVRMSToolBox (like crunchie) to extract the MPEG2 stream (for the dvr-ms file) before to apply XVID encoding, what do you think ?

the other solution, it is to transcode dvr-ms(MPEG2-TS) stream to mpeg2 normal stream with FFMPEG or MENCODER (normally it fast) and after re-encode it with the profile selected. For that it is necessary to know if the FFMPEG or MENCODER transcode correctly the dvr-ms -> mpeg2 without lag.
Can you test FFMPEG to transcode the dvr-ms stream to mpeg2 to say it is ok?


So for next version , here the todo list of new version :

1. Fix percentage issue in 2 pass mode.
2. integration of powerscheduler.
3. add parameter color format and quantizer parameter
4. add "My videos" source
5. Use DVRMSToolBox before to transcode in Xvid, h264,... for dvrms file.

todo list in background:

1. add source "DVD" (select the language and transcode the track)
2. add source "CD" (audio or file)
3. Scheduling ( automatically wake up at specific time and take all tv recorded to transcode)

Bye
Fabrice

Last edited by fabriceD06; 2007-03-07 at 10:55.
fabriceD06 is offline   Reply With Quote
Old 2007-03-07, 11:08   #74 (permalink)
Portal Member
 
pierremenard's Avatar
 
Join Date: Apr 2006
Location: Verona (Italy)
Age: 30
Posts: 203
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via Skype™ to pierremenard
Default

Quote:
Originally Posted by fabriceD06 View Post
It is exist a mean to encode with MP directly in MPEG2 container (whithout use dvr-ms) ?if yes ok i remove the filter

[cut]

But i think FFMPEG and MENCODER is very good transcoder from MPEG2 source, so i think integrated DVRMSToolBox (like crunchie) to extract the MPEG2 stream (for the dvr-ms file) before to apply XVID encoding, what do you think ?

the other solution, it is to transcode dvr-ms(MPEG2-TS) stream to mpeg2 normal stream with FFMPEG or MENCODER (normally it fast) and after re-encode it with the profile selected. For that it is necessary to know if the FFMPEG or MENCODER transcode correctly the dvr-ms -> mpeg2 without lag.
Can you test FFMPEG to transcode the dvr-ms stream to mpeg2 to say it is ok?
Yesterday I converted dvr-ms to mpeg in mediaportal (MP can do it quite fast) but I could not transcode it beacuse of the filter on file extension.

As soon as next version (without the filter on extension) will be avaiable, I'll try to transcode to xvid a mpeg files converted by MP from a dvrms. This could be quite the solution.

The best would be a 3 pass transcoding made by ffmpeg

1st dvrms to mpeg
2nd mpeg to xvid (1st pass)
3rd mpeg to xvid (2nd pass) (optional)

If you post the command line to transcode from dvrms to mpeg I will do the test!
__________________

Chart of Oil price in Euro
pierremenard is offline   Reply With Quote
Old 2007-03-07, 13:41   #75 (permalink)
Portal Member
 
Macfox's Avatar
 
Join Date: Jan 2006
Location: Adelaide, Australia
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts


Default

The plugin download link is dead.
__________________
Area51 - We are watching
Macfox is offline   Reply With Quote
Old 2007-03-07, 14:55   #76 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Hi

I am affraid but the server was down momently now it works ,( i will change of host) .

@pierremenard: you can use " ffmpeg -i in.dvr-ms -vcodec mpeg2video -sameq -s 704x576 -aspect 16:9 -acodec copy out.mpg " , thanks

Bye Fabrice
fabriceD06 is offline   Reply With Quote
Old 2007-03-07, 16:06   #77 (permalink)
Portal Member
 
Noelix's Avatar
 
Join Date: Feb 2006
Location: Salt Lake City, UT
Age: 26
Posts: 391
Thanks: 10
Thanked 1 Time in 1 Post

Country:

My System

Send a message via MSN to Noelix
Default

Quote:
Originally Posted by fabriceD06 View Post
Hello Noelix,

Do you use the TV Engine ? because normally it is filesystem database SQL lite and the table is called "recorded"

Bye
Fabrice
Yes I use the TV Engine. The SQLite Database Browser works for viewing the TVE2 database, but I don't know how to use it to connect to the MySQL database, so I used this program called SQLyog which seems to work pretty well. Take a look at the screenshot I posted earlier, it shows how it's organized. The DB name is tvlibrary and the table name is recording.

All the recordings I made with the TV Server are in .mpg format. I've been reading here and it looks you might include that format on the next version, so I'll test that and see if it works. Regardless, if you add compatibility for MyVideos, I'll be able to use it just fine I would think :-)
__________________
Noelix is offline   Reply With Quote
Old 2007-03-07, 18:25   #78 (permalink)
Portal Member
 
pierremenard's Avatar
 
Join Date: Apr 2006
Location: Verona (Italy)
Age: 30
Posts: 203
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via Skype™ to pierremenard
Default

Quote:
Originally Posted by fabriceD06 View Post
@pierremenard: you can use " ffmpeg -i in.dvr-ms -vcodec mpeg2video -sameq -s 704x576 -aspect 16:9 -acodec copy out.mpg "
Quite fast (but not as MP internat converting) and a lot of errors logged ("error, non monotone timestamps"). Mpg file has same quality issues as avi even on audio track this time (so I thought it would be useless converting the mpg into xvid, and I skipped the further steps). Differently form mp converted dvrms, the mpeg is bigger in size that the original dvrms (in MP the converted mpg and dvrms have the same size).

Quote:
Originally Posted by fabriceD06 View Post
thanks
Bye Fabrice
Thank YOU! This was a very missed plugin! In few steps I think it would become perfect.

F.
__________________

Chart of Oil price in Euro
pierremenard is offline   Reply With Quote
Old 2007-03-08, 10:21   #79 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Quote:

Quite fast (but not as MP internat converting) and a lot of errors logged ("error, non monotone timestamps"). Mpg file has same quality issues as avi even on audio track this time (so I thought it would be useless converting the mpg into xvid, and I skipped the further steps). Differently form mp converted dvrms, the mpeg is bigger in size that the original dvrms (in MP the converted mpg and dvrms have the same size).
Thanks , for your test. So for the tv recorded with extension .dvr-ms i will extract the MPEG2 stream with Microsoft api (like MP internal converting) and after i launch FFMPEG or MENCODER with the profile selected on the mpeg2 temporary stream.

I will provide this version quickly to confirm me i works better.

@Noelix: the file recorded by the TVEngine have the extension '.mpg' ? i try to find a solution to included theses records in My TV recorded.

Bye
Fabrice
fabriceD06 is offline   Reply With Quote
Old 2007-03-08, 16:39   #80 (permalink)
Portal Member
 
Macfox's Avatar
 
Join Date: Jan 2006
Location: Adelaide, Australia
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks for your efforts fabriceD06.

Works well. Just had a hiccup with the utils.dll, but fixed now.

Looking forward to a scheduler, or post record transcode. Keep up the good work.
__________________
Area51 - We are watching
Macfox is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, transcoding, video

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cutting and transcoding, - please help Dadane General Support 0 2007-01-29 06:34
Transcoding filters etc dman_lfc Tips and Tricks 11 2007-01-25 14:33
Transcoding options Khris Improvement Suggestions 3 2006-03-08 20:53
Transcoding tthomas Improvement Suggestions 3 2005-06-20 10:28
Update Core.Transcoding to handle more in / out formats sporktastic Improvement Suggestions 9 2005-03-17 22:51


All times are GMT +1. The time now is 01:23.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress