Page 1 of 1

serviio unable to display this file

PostPosted: Fri Sep 16, 2011 7:59 am
by abubin
Just added this new media file into my serviio server but seems like serviio does not recognize this media. Hence it does not appear in file listing. Tried using AV media controller and it too cannot see the file. Serviio logs also does not display this media being detected.

  Code:
root@ubuntu:/serviio/video# ffmpeg -i Swing.Girls.2004.BluRay.720p.DTS.x264-CHD.mkv
ffmpeg version N-31641-g788d839, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 27 2011 03:06:43 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libmp3lame --enable-libvpx
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  9. 0 / 53.  9. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 27. 3 /  2. 27. 3
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[matroska,webm @ 0x97e3380] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'Swing.Girls.2004.BluRay.720p.DTS.x264-CHD.mkv':
  Duration: 01:44:47.27, start: 0.000000, bitrate: 1536 kb/s
    Stream #0.0(jpn): Video: h264 (High), yuv420p, 1280x690, PAR 1:1 DAR 128:69, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : Swing.Girls.2004.BluRay.720p.DTS.x264-CHD
    Stream #0.1(jpn): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
    Metadata:
      title           : DTS 5.1ch 1536Kbps
At least one output file must be specified

Re: serviio unable to display this file

PostPosted: Fri Sep 16, 2011 8:37 am
by Illico
abubin wrote:Just added this new media file into my serviio server but seems like serviio does not recognize this media.
...
ffmpeg version N-31641-g788d839, Copyright (c) 2000-2011 the FFmpeg developers
...
Stream #0.1(jpn): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
...


I suppose you are on linux (ubuntu), and you didn't use the ffmpeg package on serviio download page ?
Serviio is probably not compatible with this ffmpeg version.

Re: serviio unable to display this file

PostPosted: Fri Sep 16, 2011 9:57 am
by abubin
the ffmpeg works. Transcoding works for some other mkv movies. The ffmpeg version that came with ubuntu 10.04 doesn't work. So I had to compile it myself.

hmm..on closer inspection, it is not the same version from serviio's link. But I am sure I got it from some link referenced from this forum. Anyway, transcoding still works with some other movies. Wondering why it doesn't work in this particular movie.

Even if ffmpeg is unable to transcode this movie, but why doesn't the file even show in serviio? I have other movies that cannot be transcoded by serviio/ffmpeg but it still shows the media in serviio.

Re: serviio unable to display this file

PostPosted: Fri Sep 16, 2011 10:37 am
by zip
it's because they changed the name of DTS audio stream and serviio doesn't understand that.

Re: serviio unable to display this file

PostPosted: Fri Sep 16, 2011 4:29 pm
by abubin
ohh..you mean the audio name "dca"? Can I change the name without re-encoding the whole audio?

Re: serviio unable to display this file

PostPosted: Fri Sep 16, 2011 4:43 pm
by zip
no, wait for a few days for 0.6 :-)

Re: serviio unable to display this file

PostPosted: Fri Sep 16, 2011 5:03 pm
by abubin
strange findings....

Here is the ffmpeg -i from version distributed with serviio:
  Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 17 2011 01:00:29 with gcc 4.4.3
  configuration: --enable-static --disable-shared --bindir=/tmp/ffmpeg --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-pthreads --disable-mmx --extra-ldflags=-L/tmp/static/lib --extra-cflags=-I/tmp/static/include
  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 @ 0x98f94c0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (20000000/834166)
Input #0, matroska,webm, from 'Swing.Girls.2004.BluRay.720p.DTS.x264-CHD.mkv':
  Duration: 01:44:47.27, start: 0.000000, bitrate: 1536 kb/s
    Stream #0.0(jpn): Video: h264, yuv420p, 1280x690, PAR 1:1 DAR 128:69, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      title           : Swing.Girls.2004.BluRay.720p.DTS.x264-CHD
    Stream #0.1(jpn): Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
    Metadata:
      title           : DTS 5.1ch 1536Kbps
At least one output file must be specified


And here is ffmpeg -i running from latest version of ffmpeg for windows 7 x64.
ffmpeg version N-32611-gd55b06b, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 15 2011 00:26:45 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib

libavutil 51. 16. 0 / 51. 16. 0
libavcodec 53. 14. 0 / 53. 14. 0
libavformat 53. 12. 0 / 53. 12. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 40. 0 / 2. 40. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'Swing.Girls.2004.BluRay.720p.DTS.x264-CHD.mkv':
Duration: 01:44:47.27, start: 0.000000, bitrate: 5966 kb/s
Stream #0.0(jpn): Video: h264 (High), yuv420p, 1280x690, SAR 1:1 DAR 128:69,
23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
title : Swing.Girls.2004.BluRay.720p.DTS.x264-CHD
Stream #0.1(jpn): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (def
ault)
Metadata:
title : DTS 5.1ch 1536Kbps
At least one output file must be specified[/code]

Notice how the windows version detect the audio as dts (DTS) whereas the linux version of ffmpeg detected the audio as dca.

Re: serviio unable to display this file

PostPosted: Fri Sep 16, 2011 5:05 pm
by abubin
zip wrote:no, wait for a few days for 0.6 :-)


wow!! definitely good news there. Looks like 0.6 is going to be a big release....

Re: serviio unable to display this file

PostPosted: Sat Sep 17, 2011 6:51 am
by Cerberus
abubin wrote:
zip wrote:no, wait for a few days for 0.6 :-)


wow!! definitely good news there. Looks like 0.6 is going to be a big release....


you might need bigger doors on your house it so big ;)

Re: serviio unable to display this file

PostPosted: Fri Sep 23, 2011 7:07 pm
by abubin
serviio 0.6 is out, yippeeeee...

upgraded to 0.6 with latest ffmpeg from serviio download link.

All went well except settings all gone. Need to reconfigure the settings but no big deal.

Now I am able to view the mkv file. Transcoding also work!!! However, still a bit disappointing that trancoding of video means srt subtitle will not work. This is totally issue of Panasonic Viera TV. Anyone know of any idea to fix this apart from re-encoding the subtitle into the video? Perhaps something that can be added into the feature request?

Nonetheless, good job on 0.6.

Re: serviio unable to display this file

PostPosted: Sat Sep 24, 2011 2:04 pm
by Cerberus
abubin wrote:serviio 0.6 is out, yippeeeee...

upgraded to 0.6 with latest ffmpeg from serviio download link.

All went well except settings all gone. Need to reconfigure the settings but no big deal.

Now I am able to view the mkv file. Transcoding also work!!! However, still a bit disappointing that trancoding of video means srt subtitle will not work. This is totally issue of Panasonic Viera TV. Anyone know of any idea to fix this apart from re-encoding the subtitle into the video? Perhaps something that can be added into the feature request?

Nonetheless, good job on 0.6.


waiting on ffmpeg to add the fucntion to burn the subs into teh video stream then it can be added to serviio, i think sony users have same issue.