[Softdevice-devel] Softplay, unable to play (mpeg) movies.

Per Mellander per at mellander.org
Wed Apr 4 11:20:49 CEST 2007


Martin Wache wrote:

> In principle softplay should be able to replay those files without
> problems. I suspect that the auto detection of the file format fails.
> Could you please try if ffmpeg or ffplay detect the files correctly?
> What does softplay report when you've opened one of those files? There
> should be some lines starting with "Input #0, mpeg, from 'test'", could
> you please send me those lines?

@home with FFmpeg version SVN-r7991 and softplay CVS 20070312

I don't see any messages that looks like that. Maybe I've got the wrong 
setting for debug output or maybe it's because I'm running vdr from 
.xinitrc and the messages from vdr is supressed somewhere. I 'm only 
getting the 'X' output in my console where I do 'startx'. What I do find 
is lines like ( in syslog):

Apr  1 17:55:42 mm vdr: [14307] ERROR: Could not open file 
/data2/movies/Teletubbies.mpg! <--------------- extra '!'
Apr  1 17:55:57 mm vdr: [14318] ERROR: Could not open file 
/data2/movies/Barn/NallePuhAdventure.mp <------ missing 'g'
Apr  1 17:56:11 mm vdr: [14329] ERROR: Could not open file 
/data2/movies/Barn/NallePuhChristofferR <------ missing rest of filename 
'obin.mpg'

There is something fishy here connected with the char str[60] used when 
creating the error string. It seems that the last character(s) is 
missed/overwritten/replaced in some way. Is the length of 60 choosen 
because of the OSD?

Haven't tested ffplay @home

Later on I continued this message @work where I run FFmpeg version 
SVN-r8487 and softplay CVS 20070323. Same problem with same files.

console says:

PLDBG: Activate 1
PLDBG: Thread started: SoftPlayer
softdevicePlugin 0xa1468b8
Service 'softdevice-GetPacketHandles-v1.0'
IsStream .mpg
open file '/transfer/download/film/Pettson och Findus - Kattonauten .mpg'
PLDBG: ~cSoftControl()
PLDBG: ~cSoftPlayer
could not open file. Return value -84
ic is null!!
PLDBG: SoftPlayer not runnig. Looking for next file
PLDBG: SoftPlayer not runnig. Looking for next file
PLDBG: SoftPlayer not runnig. Looking for next file
....
------------8<-------------------------------------
(Here I press stop)
------------8<-------------------------------------
....
PLDBG: SoftPlayer not runnig. Looking for next file
PLDBG: SoftPlayer not runnig. Looking for next file
PLDBG: SoftPlayer not runnig. Looking for next file
PLDBG: Thread beendet : SoftPlayer
PLDBG: Activate 0


ffplay playes the movie without problem

ffplay -stats "Pettson och Findus - Kattonauten .mpg"
Input #0, mpeg, from 'Pettson och Findus - Kattonauten .mpg':
   Duration: 01:15:59.2, start: 0.346711, bitrate: 1394 kb/s
   Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288, 1150 kb/s, 
25.00 fps(r)
   Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, 224 kb/s
    3.95 A-V:  0.002 aq=   80KB vq=  420KB sq=    0B

/Per


ffpl	



More information about the Softdevice-devel mailing list