MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Bugreports: TV Server / Client » 1.0 RC2 and SVN Builds


1.0 RC2 and SVN Builds Post bugs you found in 1.0 RC2 or any later svn build here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-07-23, 12:54   #1 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 96
Thanks: 2
Thanked 3 Times in 3 Posts

Country:


Default Play ongoing recording from beginning doesn't work with mpeg as format

TV-Server Version: RC 1 + usually latest SVN
MediaPortal Version: RC 1 + usually latest SVN
MediaPortal Skin: BlueTwo wide
Windows Version: Vista Home Premium SP1
CPU Type: Intel C2D E8200
HDD: Seagate 7200.11 500 GB
Memory: 2 GB DDR2 667 Mhz
Motherboard: Gigabyte GA-73PVM-S2H
Video Card:
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: Digital everywhere FloppyDTV HW Version 1.26.01, FW Version 1.4.0 - B52030
1. TV Card Type: DVB-C
1. TV Card Driver: 4.5.N
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: Antec Fusion V2
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection: Sub-D


While we are on the subject of Recorded TV I tried to record with mpeg as the format instead of ts and the problem from RC1 discussed here: TV Play from beginning doesn't start while still recording is still not working in RC2

Steps to reproduce:
Goto TV Server Configuration/Recording settings/Recording format
Set mpeg as recording
Start MediaPortal
Start a recording
Wait some minutes
Goto Recorded TV
Try to watch the recording
You get the usual question if you want to watch from live point or beginning:
first I tried live point (works)
I then stopped and tried to watch the recording again this time i chose start from beginning
the screen becomes black for a second and nothing more happens it just returns to recorded tv screen

When the recording has finished I'm able to watch it, it's just while still recording when it doesn't work.


//johnzered
Attached Files
File Type: zip MediaPortalLogs_23_07_08.zip (15.6 KB, 2 views)
johnzered is online now   Reply With Quote
Old 2008-07-23, 13:11   #2 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: England
Posts: 1,035
Thanks: 5
Thanked 8 Times in 8 Posts

My System

Default

MPEG reording is still broken for many. i have always used TS format as it offers much more from within the broadcasts.

Live point starts a new stream so isn't a real test of abilities/bug.


Does the recording when accessed from MYVIDEOS play at all or does it suffer the same problem while recording.
SciDoctor is offline   Reply With Quote
Old 2008-07-23, 13:21   #3 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 96
Thanks: 2
Thanked 3 Times in 3 Posts

Country:


Default

Quote:
Originally Posted by SciDoctor View Post
Does the recording when accessed from MYVIDEOS play at all or does it suffer the same problem while recording.
I'm not sure I really undestand what you mean but as I wrote earlier I can watch the recording from Recorded TV once it has finished recording.

//johnzered
johnzered is online now   Reply With Quote
Old 2008-07-23, 13:52   #4 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: England
Posts: 1,035
Thanks: 5
Thanked 8 Times in 8 Posts

My System

Default

Your recording folder for tvserver can be mapped as a folder for MYVIDEOS from MP config.

You can then access recordings from there aswell as from MYTV/recrodings.

MP seems to handle the file access differently from within MYVIDEOS (not via the TVserver PLUGIN) and can help with bug hunting and log comparison.

The bug exists from both access points. My logs ar attached .

I'll try and add to mantis if not already there.

2008-07-23 13:55:18.619172 [Info.][MPMain]: DirectShowUtils: Found audio renderer
2008-07-23 13:55:18.621125 [Debug][MPMain]: DirectShowUtils: added filterefault DirectSound Device to graph
2008-07-23 13:55:18.628937 [Info.][MPMain]: VideoPlayerVMR9: add normal vob sub filter
2008-07-23 13:55:18.630890 [Warn.][MPMain]: VMR9: Pin: 0 not connected: 80040209
2008-07-23 13:55:18.639679 [Warn.][MPMain]: VMR9: Pin: 1 not connected: 80040209
2008-07-23 13:55:18.650420 [Warn.][MPMain]: VMR9: Pin: 2 not connected: 80040209
2008-07-23 13:55:18.651397 [Info.][MPMain]: VideoPlayer9:cleanup DShow graph
2008-07-23 13:55:18.652373 [Debug][MPMain]: VMR9: Dispose
Attached Files
File Type: zip MediaPortalLogs_23_07_08.zip (12.7 KB, 1 views)

Last edited by SciDoctor; 2008-07-23 at 14:00.
SciDoctor is offline   Reply With Quote
Old 2008-07-23, 14:41   #5 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,544
Thanks: 65
Thanked 63 Times in 53 Posts


Default

One possible (and most likely) cause for the failure for ongoing mpeg recording playback is that the MS file source filter is not allowing to open a file when its being opened by another process with write flags.

If its that then there is not that much we can do on MP side.
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is online now   Reply With Quote
Old 2008-07-24, 10:16   #6 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 96
Thanks: 2
Thanked 3 Times in 3 Posts

Country:


Default

Quote:
Originally Posted by tourettes View Post
One possible (and most likely) cause for the failure for ongoing mpeg recording playback is that the MS file source filter is not allowing to open a file when its being opened by another process with write flags.

If its that then there is not that much we can do on MP side.
Yes, that's probably it. I tried to open the file in Windows Media Player 11 and PowerDVD 8 while still recording and the error message in both programs were similar to this:

"The file is already in use. Close other programs that might be using the file or stop playing the file, and then try again."

I then did a copy of the file being recorded and tried to open it in the same two programs and that did work so yes the cause must be as you said.

But that's okay for me I can use ts format instead, and as SciDoctor said it offers more within the broadcast. I'm just trying all possibilites here to find the best working solution for me.

EDIT: just a quick question in the thread I was refering to in my first post user sogge(currently the last post) said that this wasn't an issue in version 0.2.3 without the server. Could this be that back then it was the same process writing to the file andalso displaying it so then it worked?

Thanks for helping (and developing a great software)!

//johnzered

Last edited by johnzered; 2008-07-24 at 10:21.
johnzered is online now   Reply With Quote
Old 2008-07-24, 10:33   #7 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 5,435
Thanks: 75
Thanked 153 Times in 139 Posts

Country:

My System

Default

Quote:
EDIT: just a quick question in the thread I was refering to in my first post user sogge(currently the last post) said that this wasn't an issue in version 0.2.3 without the server. Could this be that back then it was the same process writing to the file andalso displaying it so then it worked?
The old internal recording process used microsoft components for TV, and produced dvr-ms files, which are pretty much redundant, as the new standard is TS.

So microsoft have a bit of catching up to do
Paranoid Delusion is offline   Reply With Quote
Old 2008-07-24, 11:24   #8 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: England
Posts: 1,035
Thanks: 5
Thanked 8 Times in 8 Posts

My System

Default

From testing VLC could handle the MPEG file while was still open but VLC does have the ability to ignore 'problems' and continue when other players are less 'flexible' and stay rigid to MS DS requirements.

Out of interest though I had no problems with any UK DVB-T channel being recorded into MPEG format other than the restriction when file is actively been written to and hence open.
SciDoctor is offline   Reply With Quote
Old 2008-07-24, 12:03   #9 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,544
Thanks: 65
Thanked 63 Times in 53 Posts


Default

Quote:
Originally Posted by johnzered View Post
Quote:
Originally Posted by tourettes View Post
One possible (and most likely) cause for the failure for ongoing mpeg recording playback is that the MS file source filter is not allowing to open a file when its being opened by another process with write flags.

If its that then there is not that much we can do on MP side.
Yes, that's probably it. I tried to open the file in Windows Media Player 11 and PowerDVD 8 while still recording and the error message in both programs were similar to this:

"The file is already in use. Close other programs that might be using the file or stop playing the file, and then try again."
Yep, definately an issue that we cannot solve on MP side. previously we had used TSFileSource to play .mpeg content and that source filter is able to open the file when its opened already for writing. Unfortunately that filter is a little bit buggy on other aspects.

I think we should just state that using .mpeg as recording format will disable that ongoing recording playback feature. Unless MS wants to solve the issue (The issue is not a big one, just would require file open to have different parameters, but as the code is on MS binary...).

TVE2 works also as its most likely using a different source filter for those (ugly) .dvr-ms files.


Update: forgot that the MS mpeg2 source filter is most likely not able to update the duration (as its not designed most likely for that use case in mind). So the file open mode might not be the only issue the filter is having.
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"

Last edited by tourettes; 2008-07-24 at 12:17.
tourettes is online now   Reply With Quote
Old 2008-07-24, 12:21   #10 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 96
Thanks: 2
Thanked 3 Times in 3 Posts

Country:


Default

Quote:
Originally Posted by tourettes View Post
I think we should just state that using .mpeg as recording format will disable that ongoing recording playback feature. Unless MS wants to solve the issue (The issue is not a big one, just would require file open to have different parameters, but as the code is on MS binary...).
Yes that sounds as a good solution. Also when you choose recording format in the configuratin there's already a helptext under the dropdownlist telling you something like "use .ts files if you get issues with the recorded .mpg files"

But maybe for future reference there also should be a wiki page or something which could list known limitations of mpg as recording format.

//johnzered
johnzered is online now   Reply With Quote
Reply

Bookmarks

Tags
beginning, format, mpeg, ongoing, play, recording

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TV Play from beginning doesn't start while still recording jverdeyen 1.0 RC1 and SVN Builds 14 2008-07-24 13:05
Play recording from beginning issue ChrisOfCatford General Support 2 2008-04-12 08:36
Recording in mpeg-format fails anders.malm Get Support 0 2007-12-31 09:23
Play recording from beginning does not do anything. ASiDiE pre 1.0 RC1 1 2006-12-15 18:47
Recording format: TS - MPEG - ??? Matio MediaPortal 1 Talk 2 2005-11-16 14:54


All times are GMT +1. The time now is 21:50.


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