Page 1 of 1

AVI file not showing up in library

PostPosted: Mon Jul 04, 2011 12:27 am
by graph-x
Hello,

Until now, I've been able to get away with not posting/registering and finding answers by searching. So here's my issue. I have an AVI file that looks like it's picked up by the database no problem
  Code:
2011-07-03 18:00:48,781 DEBUG [LibraryManager] Metadata found via extractor EMBEDDED: VideoMetadata [title=file, filePath=/media/storage1/share/Video/Movies/file.avi, fileSize=734085120, audioBitrate=127, audioCodec=MP3, audioStreamIndex=1, bitrate=937, channels=2, container=AVI, contentType=UNKNOWN, coverImage=org.serviio.library.metadata.ImageDescriptor@61a414, duration=6264, episodeNumber=null, fps=23.976, frequency=48000, h264Level=null, h264Profile=null, height=352, seasonNumber=null, seriesName=null, timestampType=null, videoBitrate=null, videoCodec=MPEG4, videoStreamIndex=0, width=640]
2011-07-03 18:00:48,789 DEBUG [MediaItemDAOImpl] Getting file of media item 32
2011-07-03 18:00:48,803 DEBUG [VideoService] Adding video into database: file
2011-07-03 18:00:48,814 DEBUG [FolderDAOImpl] Looking for folder hierarchy Movies/file

However, when I try to watch it on my BD C5500 it's not listed where it should be. I've tried doing as others suggested and stopped Serviio, renamed it, and started it again. Still nothing. Is this possibly an issue with the profile.xml?
Here's my ffmpeg -i of the original file
  Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 23 2011 21:18:24 with gcc 4.6.0 20110530 (Red Hat 4.6.0-9)
  configuration:
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0
Input #0, avi, from '/media/storage1/share/Video/Movies/file.avi':
  Metadata:
    encoder         : Nandub v1.0rc2
  Duration: 01:44:24.04, start: 0.000000, bitrate: 937 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 640x352 [PAR 1:1 DAR 20:11], 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 127 kb/s
At least one output file must be specified

Re: AVI file not showing up in library

PostPosted: Mon Jul 04, 2011 5:51 am
by moltra
Did you look under Genre "Unknown" or under the file menu to find the file name.

Looking at your log it says contenttype unknown, that might be the problem. I am not good at transcoding profiles. Some one else should be able to help you if it needs to be transcoded.

Re: AVI file not showing up in library

PostPosted: Mon Jul 04, 2011 5:16 pm
by zip
yep, look for the file under Folder category. It couldn't match 'file' to any movie/series title.

Re: AVI file not showing up in library

PostPosted: Mon Jul 04, 2011 6:06 pm
by graph-x
Yup, already done. Searched in the title, and in the folder structure. It's telling me in the blue ray that the folder is empty, but I see both the original file and the renamed file on the server itself. I've already made sure to chown the files before adding them to the library and still no luck.

Re: AVI file not showing up in library

PostPosted: Mon Jul 04, 2011 7:08 pm
by zip
did you check the log if the file has been added?

Re: AVI file not showing up in library

PostPosted: Mon Jul 04, 2011 7:40 pm
by graph-x
I went through the log and from what I read of it, looks like it did get added to the library. The log message from my original post shows the library found it and was pulling metadata. Didn't see any error messages after that. That's kind of why I'm scratching my head on this one. I don't have the original log message as the logs have rolled. I can try to recreate the messages and put up the full log if you'd like.

Re: AVI file not showing up in library

PostPosted: Mon Jul 04, 2011 9:44 pm
by moltra
Use a software render like XBMC to male sure it is there.

Sent from my DROIDX using Tapatalk

Re: AVI file not showing up in library

PostPosted: Tue Jul 05, 2011 4:34 am
by graph-x
@moltra, not sure what that would prove. The log file says it's there, the log file says the db acknowledges the file. I even downloaded a similar file with the same results. avi file with mpeg4 codec. I would say it's a pretty common format... Here's the log from that file.

edit:
Taking another look at the logs, it looks as though Serviio keeps trying to add the file to the library, but fails. However, I'm not seeing any failure message.

Re: AVI file not showing up in library

PostPosted: Tue Jul 05, 2011 12:33 pm
by zip
Canyou try executinmg this command

  Code:
ffmpeg -i /media/storage1/share/Video/Movies/Game.Of.Death.Special.Platinum.Edition.avi -an -ss 120 -vframes 1 -f image2 <output_path>


where output_path can be something like /tmp/image.jpg

Re: AVI file not showing up in library

PostPosted: Tue Jul 05, 2011 1:19 pm
by graph-x
  Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 23 2011 21:18:24 with gcc 4.6.0 20110530 (Red Hat 4.6.0-9)
  configuration:
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0
Input #0, avi, from './Game.Of.Death.Special.Platinum.Edition.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
    IAS1            : English
  Duration: 01:36:34.72, start: 0.000000, bitrate: 1621 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 1024x432 [PAR 1:1 DAR 64:27], 25 tbr, 25 tbn, 25 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
[buffer @ 0xa3637a0] w:1024 h:432 pixfmt:yuv420p
[ffsink @ 0xa360db0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0xa37cc70] w:1024 h:432 fmt:yuv420p -> w:1024 h:432 fmt:yuvj420p flags:0xa0000004
Output #0, image2, to '/tmp/image.jpg':
  Metadata:
    IAS1            : English
    encoder         : Lavf52.92.0
    Stream #0.0: Video: mjpeg, yuvj420p, 1024x432 [PAR 1:1 DAR 64:27], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[buffer @ 0xa3637a0] Buffering several frames is not supported. Please consume all available frames before adding a new one.
    Last message repeated 2998 times -0kB time=10000000000.00 bitrate=  -0.0kbits/s   
frame=    1 fps=  0 q=5.0 Lsize=      -0kB time=0.04 bitrate=  -4.4kbits/s   
video:24kB audio:0kB global headers:0kB muxing overhead -100.089668%

And it produced a valid image file.

Re: AVI file not showing up in library

PostPosted: Tue Jul 05, 2011 1:35 pm
by zip
was it immediate or did it take very long?

Re: AVI file not showing up in library

PostPosted: Tue Jul 05, 2011 1:37 pm
by graph-x
It took less than a minute to complete.

Re: AVI file not showing up in library

PostPosted: Wed Jul 06, 2011 2:03 pm
by graph-x
So, any suggestions on what might be going wrong here, and what I can do to fix it? I think it's more to do with Serviio itself than with the c5500. I tested the same files with another DLNA server and they played just fine.

Re: AVI file not showing up in library

PostPosted: Wed Jul 06, 2011 2:50 pm
by zip
It seems to be a bug, although not sure how to fix it. Any chance of sharing the file? If yes, PM me the location.

Re: AVI file not showing up in library

PostPosted: Wed Jul 06, 2011 3:14 pm
by graph-x
Sent you server information.

Re: AVI file not showing up in library

PostPosted: Thu Jul 07, 2011 7:18 pm
by zip
tried it on my 0.6 code and all went ok. Hopefully it'll be ok for you too when it's released.

Re: AVI file not showing up in library

PostPosted: Thu Jul 07, 2011 10:39 pm
by graph-x
any idea on a release date for it?

Re: AVI file not showing up in library

PostPosted: Fri Jul 08, 2011 1:44 am
by Cerberus
graph-x wrote:any idea on a release date for it?


when its ready. ;)

Re: AVI file not showing up in library

PostPosted: Fri Jul 08, 2011 9:41 am
by graph-x
Ok, I think the database became corrupt. I completely removed and reinstalled serviio. That did the trick both movies are now playing correctly. The library wasn't accepting any new files. Not just the ones in question.