Page 1 of 1
way to manage unsupported files

Posted:
Sun Jul 03, 2011 6:55 pm
by psiho
I just started with Serviio and noticed that several movies are not in my database. After discovering
detailed log (DEBUG) I noticed on some "audio codec not supported" or similar message. First, it seems a bit odd to me that those are simply skipped instead left somehow in database but not playable. But if it must be like that, is there at least a way to put them somewhere visible? Turning DEBUG on and off, restarting Serviio service and then going back only to see why newly added file is not listed is not something I would like to do often.
Re: way to manage unsupported files

Posted:
Sun Jul 03, 2011 7:08 pm
by moltra
you can tweak the render profile that you are using so that it can see an play almost everything. Look at the transcoding group here in the forums and it explains it. Or you can post information on what you are playing it on and then the info from the video (see signature) and someone will help you with the profile.
Re: way to manage unsupported files

Posted:
Sun Jul 03, 2011 7:54 pm
by psiho
But files are not even added to library so I guess it is far before transcoding profiles are used? You're saying that process of adding files to library actually depends on active profiles?
Re: way to manage unsupported files

Posted:
Sun Jul 03, 2011 11:55 pm
by moltra
No all files are added, it is just that your render cannot see them. Try a software render and see if you can see them there. Also please attach your serviio.log here so we can look at it.
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 9:44 am
by zip
You're right. Files are not added to the library if some basic technical metadata cannot be retrieved. Transcoding won't help. However this case should be quite rare, with Serviio supporting more and more formats now. You can create a bitbucket ticket if you want to change the logging level for this.
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 10:49 am
by psiho
I also expected that it is rare but I have at least 2 cases... should I post ffmpeg -i of those here? Maybe topic should be moved, at least this part not related to feature request.
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 10:55 am
by zip
yep, post ffmpeg -i to see if support is planned, otherwise we can create a ticket for it
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 11:30 am
by psiho
Here is one with unsupported audio codec:
- Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
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
[matroska,webm @ 003dbd00] Estimating duration from bitrate, this may be inaccur
ate
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (200000
00/417083) -> 23.98 (20000000/834166)
Input #0, matroska,webm, from 'd:\torrents\MyMovie.2010.BluRay.1080p.DTS.x264
-CHD\MyMovie.2010.BluRay.1080p.DTS.x264-CHD.mkv':
Duration: 01:48:07.52, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x800, PAR 1:1 DAR 12:5, 23.98 fp
s, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
title : MyMovie.2010
Stream #0.1(eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
Metadata:
title : DTS-CORE 1536K
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 11:45 am
by zip
this should be supported (dca = DTS)
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 12:45 pm
by psiho
here is
detail log where it skipped adding to library:
- Code:
2011-07-03 20:32:04,300 DEBUG [LibraryAdditionsCheckerThread] File not in Library, will add it
2011-07-03 20:32:04,300 DEBUG [VideoExtractionStrategy] Extracting metadata of video file: d:\torrents\MyVideo.2010.BluRay.1080p.DTS.x264-CHD\MyVideo.2010.BluRay.1080p.DTS.x264-CHD.mkv
2011-07-03 20:32:04,300 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: d:\torrents\MyVideo.2010.BluRay.1080p.DTS.x264-CHD\MyVideo.2010.BluRay.1080p.DTS.x264-CHD.mkv
2011-07-03 20:32:04,301 DEBUG [MediaItemDAOImpl] Getting file of media item 27275
2011-07-03 20:32:04,301 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i d:\torrents\MyVideo.2010.BluRay.1080p.DTS.x264-CHD\MyVideo.2010.BluRay.1080p.DTS.x264-CHD.mkv
2011-07-03 20:32:04,304 DEBUG [MetadataDescriptorDAOImpl] Reading MetadataDescriptor for MediaItem (id = 27275) and extractor EMBEDDED
2011-07-03 20:32:04,307 DEBUG [MetadataDescriptorDAOImpl] Reading MetadataDescriptor for MediaItem (id = 27275) and extractor COVER_IMAGE_IN_FOLDER
2011-07-03 20:32:04,382 DEBUG [LibraryManager] Skipping processing metadata for an unsupported file. Message: Unknown audio codec.
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 12:50 pm
by psiho
And here is anotherone, again dts:
- Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
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
[matroska,webm @ 003abd50] max_analyze_duration reached
[matroska,webm @ 003abd50] Estimating duration from bitrate, this may be inaccur
ate
Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 500.00 (500/1)
Input #0, matroska,webm, from 'd:\torrents\MyMovie.2003.1080i.HDTV.DTS.x264
.JUGGALOTUS420\MyMovie.2003.1080i.HDTV.DTS.x264.JUGGALOTUS420.mkv':
Duration: 01:36:16.60, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 25 fps,
500 tbr, 1k tbn, 50 tbc
Metadata:
title : MyMovie.2003.1080i.HDTV.DTS.x264-Z@X
Stream #0.1(eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
Metadata:
title : MyMovie.2003.1080i.HDTV.DTS.x264-Z@X-DTS
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : MyMovie.2003.1080i.HDTV.DTS.x264-Z@X-English
Stream #0.3(dan): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : MyMovie.2003.1080i.HDTV.DTS.x264-Z@X-Danish
Stream #0.4(slo): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : MyMovie.2003.1080i.HDTV.DTS.x264-Z@X-Slovak
Stream #0.5(swe): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : MyMovie.2003.1080i.HDTV.DTS.x264-Z@X-Swedish
Stream #0.6(ara): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : MyMovie.2003.1080i.HDTV.DTS.x264-Z@X-Arabic
At least one output file must be specified
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 1:58 pm
by zip
Ok, I'll have a look
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 7:15 pm
by zip
it works for me.. do you have any mkv with DTS that is recognized?
Re: way to manage unsupported files

Posted:
Mon Jul 04, 2011 9:15 pm
by psiho
I found one DTS that works ok:
- Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
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
[matroska,webm @ 010bbcc0] max_analyze_duration reached
[matroska,webm @ 010bbcc0] Estimating duration from bitrate, this may be inaccur
ate
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (500000
0/104271) -> 23.98 (5000000/208542)
Input #0, matroska,webm, from 'd:\torrents\Movie2\Movie2.1080p.DTS.dxva.x264-FLAW
L3SS.mkv':
Duration: 01:32:15.83, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x1040 [PAR 1:1 DAR 24:13], 23.98
fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
Stream #0.2(eng): Subtitle: dvdsub
BTW, those two files are the only files in my library (about 50 movies) that fail importing into DB.
Re: way to manage unsupported files

Posted:
Wed Jul 06, 2011 10:03 pm
by zip
I tried to run these through my tests and both passed.... I'm lost.
Re: way to manage unsupported files

Posted:
Mon Jul 11, 2011 8:43 am
by psiho
Now I'm lost even more. I was away for couple of days, haven't touched anything, and when i cam eback i noticed one of those 2 movies above in my media library on tv!
Somehow it passed by itself, without any changes to the system.

I'm completely lost, what I'm going to do now is install Servio on my laptop to see if it behaves differently than my server. I see nobody is reporting problems with Subtitles and those things and i do, so it is either server config or brand new firmware on TVs as both are bought only few weeks ago.
Re: way to manage unsupported files

Posted:
Tue Jul 12, 2011 11:47 pm
by psiho
I installed Serviio on my Linux laptop and all movies passed there ok from first time. On the other hand, second movie passed on my windows server too, all by itself. So, problem seems resolved although I'm completely lost and will keep an eye on this for future movies.