Per Mellander schrieb: > 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
-84= AVERROR_NOFMT, so the format is not correctly detected. That is strange, ffplay detects it, but softplay doesn't detect it. Maybe you can add some printfs to libavformat av_open_input_file() (in libavformat/util.c, and #undef printf to get rid of the linking error) to find out what goes wrong... I will try to reproduce the problems when I'm at home. Bye, Martin _______________________________________________ Softdevice-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/softdevice-devel
