PDA

View Full Version : can't play video files from DVD...


volenin
2009-02-09, 02:38
Hi,

I ran into a weird problem: I can't seem to be able to play video files (.avi) from the DVD from under XBMC.

Here is what I have:

- all DVDs I have written in DVD format play back fine.
- Video files (.avi) written on the DVD do NOT play under XBMC (none of them - I've tried over 10 different disks)
--- XBMC does seem to mount the drive and I can navigate the directory structure, but on any playback attempt I'm getting 'Too many consecutive errors encountered' or smth like that

- The video files from the same DVD can be played back just fine by Totem or Xine

- The same video files from the harddrive can be played back by XBMC just fine as well...

- the 'xbmc' user I'm running the XBMC system under is the member of 'video' and 'cdrom' groups

So, it seems that for whatever reason, once files are written on the DVD, XBMC can not play them back. The possibility of the hardware failure is eliminated by the the fact that the same DVD plays back on the same system just fine from other video players.

Codec problems are also eliminated by the fact that XBMC can play exactly the same video files from the hard drive...

Any ideas/hints what might be causing it?

I'm using the latest build ( 17631 )...

Here is a small snapshot from the log file that might be relevant to the problem:

============
19:10:48 T:3052644192 M:1106186240 DEBUG: ParentPath = [iso9660://Amazing.Gr
ace[2006]DvDrip[Eng]-aXXo/]
19:10:48 T:3052644192 M:1106186240 DEBUG: Sort, sorting took 0 millis
19:10:48 T:3052644192 M:1106186240 DEBUG: Sort, sorting took 0 millis
19:10:48 T:219986832 M:1106186240 DEBUG: Running thread 219986832
19:10:48 T:219986832 M:1106186240 DEBUG: thread start, auto delete: 0
19:10:48 T:219986832 M:1106186240 DEBUG: ExtractThumb - trying to extract thum
b from video file iso9660://Amazing.Grace[2006]DvDrip[Eng]-aXXo/Amazing.Grace[20
06]DvDrip[Eng]-aXXo.avi
19:10:48 T:3052644192 M:1106186240 DEBUG: Load background-videos.png: 3.3ms (b
undled)
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSector Request to read sector
358452
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSector error: Input/output er
ror
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSector minute 79, second 41,
frame 27
19:10:48 T:219986832 M:1106186240 DEBUG: CD Read error
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSectorMode2 Request to read s
ector 358452
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSectorMode2 error: Input/outp
ut error
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSectorMode2 minute 79, second
41, frame 27
19:10:48 T:219986832 M:1106186240 DEBUG: CD Read error
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSector Request to read sector
358452
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSector error: Input/output er
ror
19:10:48 T:219986832 M:1106186240 ERROR: CD: ReadSector minute 79, second 41,
frame 27
19:10:48 T:219986832 M:1106186240 DEBUG: CD Read error
19:10:48 T:219986832 M:1106186240 DEBUG: iso9660::ReadFile() hit EOF
19:10:48 T:219986832 M:1106186240 ERROR: Open - error reading from input strea
m, iso9660://Amazing.Grace[2006]DvDrip[Eng]-aXXo/Amazing.Grace[2006]DvDrip[Eng]-
aXXo.avi
19:10:48 T:219986832 M:1106186240 ERROR: ExtractThumb - Error creating demuxer
19:10:48 T:219986832 M:1106186240 DEBUG: staticThread, deleting thread graphic
context
19:10:48 T:219986832 M:1106186240 DEBUG: Thread 219986832 terminating
19:10:48 T:3052644192 M:1106186240 DEBUG: Load background-bottom.png: 18.9ms (
bundled)
19:10:48 T:3052644192 M:1105469440 DEBUG: Load contentpanel_left.png: 0.8ms (b
undled)
19:10:48 T:3052644192 M:1105469440 DEBUG: Load contentpanel.png: 0.8ms (bundle
d)
19:10:48 T:3052644192 M:1105469440 DEBUG: Load defaultFolderBackBig.png: 0.5ms
(bundled)
19:10:48 T:3052644192 M:1105469440 DEBUG: Load list-focus.png: 0.5ms (bundled)
19:10:48 T:3052644192 M:1105469440 DEBUG: Load defaultVideoBig.png: 0.7ms (bun
dled)
19:10:48 T:3052644192 M:1105469440 DEBUG: Load background-plain.png: 2.4ms (bu
ndled)
19:10:49 T:3052644192 M:1104715776 DEBUG: Update - NEW at 1017281:000000037ff0
7be1 00 Up mceusb (Up)
19:10:49 T:3052644192 M:1104715776 DEBUG: OnKey: 166 pressed, action is 3
19:10:49 T:3052644192 M:1108967424 DEBUG: Update - NEW at 1017749:000000037ff0
7bdd 00 OK mceusb (OK)
19:10:49 T:3052644192 M:1108967424 DEBUG: OnKey: 11 pressed, action is 7
19:10:49 T:3052644192 M:1108967424 DEBUG: CGUIMediaWindow::GetDirectory (iso96
60://)
19:10:49 T:3052644192 M:1108967424 DEBUG: ParentPath = []
==================

volenin
2009-02-09, 05:35
Well, I snooped around - still nothing. Can't play the files.... Is it smth that happened within recent builds? I seem to recall that it wasn't a problem some time ago (.... how long?... 1-2 months?) Copying the avi file from DVD to harddrive - plays no problem.

Can it be that XBMC is always 'assuming' that the DVD must contain only DVD-VIDEO content?..

Vlad

althekiller
2009-02-09, 08:08
Please pastebin the FULL log and provide any details in the first link in my signature that you haven't already given.

volenin
2009-02-09, 19:49
Ok, here it goes. Will send the link to the full log file in a few hours.


---------------------------------------
- XBMC compiled from SVN with 'no pulse audio' flag, build# 17631
- OS: xubuntu 8.04.2 hardy
- kernel: 2.6.24-23-generic #1 SM2
---------------------------------------
- DVD drive: Pioneer 216D
- DVD drive firmware: 1.09
- DVD media: DVD+R, Verbatim
---------------------------------------
- Video files format & codec: doesn't seem to matter - tried at least 2-3 different ones, all of them exhibit the same problem - can not be played from DVD, but are played no problem once copied to the harddrive or played from DVD by any other video player (tried xine and totem)
---------------------------------------
- Full Log file: http://pastebin.com/f5e86d6d7

- Scenario:
-- pop in DVD with video files
-- restart XBMC
-- navigate to the video file 'Bon Voyage.French....'
-- hit 'OK' on the remote (try to play)
-- copy the resulting log file
---------------------------------------
- DVD info details (dvd+rw-mediainfo): http://pastebin.com/f4f5c9079

Let me know if you need any additional information...

Thanks,

Vlad

volenin
2009-02-10, 05:32
The full log file as well as detailed information about DVD drive and DVD media are updated in the previous post... Let me know if you need any additional information...

Vlad

volenin
2009-02-10, 20:47
Does anyone else experience the same problem? Has anyone been able to play successfully the video files recorded on the DVD?

#Gr3y
2009-02-11, 12:59
Same problem ;( Can't find what's wrong

volenin
2009-02-11, 17:29
To any developers monitoring this forum: should I open a ticket for this? Or this is a well known issue with a known workaround?

Am I the only XBMC user who stores the video files on DVD media and ever tried to play them back??? :)

Vlad

wyild1
2009-02-11, 23:37
I too have this issue. Using XBMC 8.10 final. I havnt had time to dive into the log to see whats up, but i cannot play any *.avi files stored on DVD-R. Same DVD-R's play perfectly fine in the xbox, or on the computer using anything other than XBMC

volenin
2009-02-12, 04:48
Hmm... so seems like not my settings after all....

Has anyone been able to play video files successfully from DVD media? Or CD media (I've came across couple of posts mentioning that CD media didn't have that problem - but that was over half a year ago, not sure if it's still relevant).

Vlad

volenin
2009-02-13, 03:21
Anyone?..

volenin
2009-02-13, 19:25
For the record, whoever would ran into a similar problem, there is a ticket opened against this bug: http://xbmc.org/trac/ticket/5296. Someone has created a patch for that (attached to the ticket).

I tried it yesterday and so far it actually works! (and so far, without seemingly any adverse effects).

To the developers: Is it possible to apply this patch against the SVN trunk? It's been sitting there for the last 3-4 months.. In my opinion it fixes a very critical issue - in my case the whole purpose of running a media center was to be able to play numerous videos I've recorded to DVDs & CDs, so without it the system loses at least half of its purpose...

Cheers,

Vlad

volenin
2009-02-14, 04:25
... taking the last words back. Not sure if it's patch related or not, but seems like at the very least the patch does not fix all of the problem:

- from time to time the DVD with video files would lock up the whole system
--- that seems to be always the case when the DVD is inserted _before_ the XBMC is started up, but can't tell for sure as I haven't tried it to many times yet

But, definitely, it's still better than nothing.

Vlad

rodercot
2009-02-14, 08:22
I do not know if this would help in anyway BUT I thought I would post it. I run Mythbuntu on both of my machines and I have the intrepid PPA on my main machine which is r16??? and I run svn 17292 on the other as well as my test machine and did not have very good dvd playback on any of them until I install the restricted drivers dvdcss in Mythbuntu (Mythbuntu Control Panel) (I would assume the same if you are running Ubuntu only as well) But ever since all 3 machines works perfectly for dvd playback.

I also added the eject fix on all three machines and that works great as well.

dev.cdrom.lock=0 to the bottom of /etc/sysctl.conf uncomment the line it is already there and add it if not.

Dave

volenin
2009-02-14, 21:45
Hmm, that doesn't seem to be my problem... I've installed all possible proprietary codecs long time ago. Also, the same files play fine from hard drive. Just to point out, I do not have problem playing DVDs (ie, VS_VIDEO movies), but do have problem playing AVI files from DVD media. Once they are copied to HD, everything works. Also, the patch mentioned above seem to work as well...

Thanks for the suggestion though.

Vlad

volenin
2009-02-15, 00:42
With regards to the previous post about 'XBMC freeze', that problem seems to be unrelated: with this particular DVD even unpatched XBMC system locks up.... So, so far the patch holds :).

daneel
2009-02-23, 21:56
Hi, I'm using ubuntu hardy and xbmc

I've installed all possible proprietary codecs long time ago. Also, the same files play fine from hard drive. Just to point out, I do not have problem playing DVDs (ie, VS_VIDEO movies), but do have problem playing AVI files from DVD media. Once they are copied to HD, everything works

I have the same problem....and I would like resolve it.....but I don't understood how to apply the patch:sniffle:

can somebody give me a suggestion?

....I'm very newbie:(

thanks in advance

Temar
2009-02-24, 03:00
Hi, I'm using ubuntu hardy and xbmc

I have the same problem....and I would like resolve it.....but I don't understood how to apply the patch:sniffle:

can somebody give me a suggestion?


You can apply the patch this way:
cd /path/to/your/xbmc/source
patch -p0 < /path/to/the/patch


....I'm very newbie:(


Then you probably didn't compile your own version of XBMC yet. Applying the patch requires recompiling XBMC from source - so make yourself familiar with that first. For beginners it isn't easy and if you are a total beginner you should probably wait until the bug is fixed in XBMC.

There is a workaround for this bug, too which does not require XBMC recompilation. You can create a symbolic link to your CD-Rom drive within your Movie Folder. Let's say "/path/to/my/movies" is the path you store all your Movies in and "/media/cdrom" is your cdrom drive. Just open a console and type:

ln -s /media/cdrom /path/to/my/movies/CD-Rom

To watch a movie from DVD you do no longer watch it from CD directly, but change to your Movie-Library and select the folder "CD-Rom".

Temar

Maxim
2009-02-24, 03:45
You can create a symbolic link to your CD-Rom drive within your Movie Folder.

Very clever. It's things like this that make me LOVE linux.

daneel
2009-02-24, 19:04
You can create a symbolic link to your CD-Rom drive within your Movie Folder.

great!!!

in the meantime I''ll wait the fix of the problem on the official release

thanks a lot

daneel
2009-02-24, 23:06
I tryed with the simbolic link....

it's functioning very well!!

thanks again:grin::grin: