Page 1 of 1

Samsung C/D profile not playing m2ts after upgrade to 0.6.1

PostPosted: Thu Jan 12, 2012 12:01 pm
by gbdb
After upgrading to 0.6.1 I found that m2ts movies would no longer play on my Samsung TV with an invalid codec message. I copied the video file to a USB stick and was able to play it directly on the TV so this sent me back to investigate what might have changed in Serviio since the upgrade. I found that in the profile.xml the details for the Samsung C/D series had changed. After saving a copy of the profile.xml I copied the C/D section from the bkup version of the old xml file and pasted it into the current profile.xml replacing the text that was there and the m2ts videos will now play on the TV.

Although this seems to have fixed my problem, I'm wondering what changed in the profile for this device and if there is a better fix than what I did?

thanks.

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Thu Jan 12, 2012 1:39 pm
by zip
can you post result on ffmpeg -i for the file?

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Fri Jan 13, 2012 11:21 am
by gbdb
Hi Zip,

Here is the result of the run.


C:\Program Files\Serviio\lib>ffmpeg -i "D:\Shared documents\My Videos\Home Video
\6. Sep 11 - Nov 11\00334. EOY Concert 2011 - Running of the Bulls.m2ts"
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 13 2011 20:46:11 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 50.00 (50/1)
Input #0, mpegts, from 'D:\Shared documents\My Videos\Home Video\6. Sep 11 - Nov
11\00334. EOY Concert 2011 - Running of the Bulls.m2ts':
Duration: 00:06:13.38, start: 1.000033, bitrate: 10470 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1440x1
080 [SAR 4:3 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s1
6, 448 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
At least one output file must be specified


thanks
Grant

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Fri Jan 13, 2012 11:20 pm
by zip
thanks. could you also run detailed log with the new profile vs the old one?

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Sat Jan 14, 2012 2:01 am
by gbdb
Hi Petr,

Do you want to see the output after just starting the service (small output) or after starting the console as well (huge output)?

Grant

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Sat Jan 14, 2012 9:14 pm
by zip
no need the console, but I need you to try to play the file for a few seconds

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Sat Jan 14, 2012 10:32 pm
by gbdb
Hi Petr,

I used both profiles and ran the video for a few seconds for each. The name of the video is 00334. EOY Concert 2011 - Running of the Bulls.m2ts. It successfully runs with the old profile but when tried with the 0.6.1 profile gives the codec error message. It then moves onto the next video and tries to run that one where it will fail again. The second video is called 00335. EOY Concert 2011 - The Cup of Life.m2ts and I turned the TV off after it began to try to access that file. I have attached the logs here and named them for each run.

regards
Grant.

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Sun Jan 15, 2012 12:18 am
by zip
ok. Can you also post mediainfo of the file?

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Sun Jan 15, 2012 5:48 am
by gbdb
Hi Petr,

What do you mean by mediainfo for the file?

Sorry, new to this game.

Grant.

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Sun Jan 15, 2012 6:19 am
by WildRushSykes

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Sun Jan 15, 2012 9:23 am
by gbdb
Hi,
The results of running ffmpeg are at the start of this set of posts, so I assumed that Petr mean't something different. I googled MediaInfo and found the SourceForge MediaInfo software. So I'm hoping this is what Petr mean't and have attached the output.

regards
Grant

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Sun Jan 15, 2012 12:44 pm
by zip
thanks. could you now remove the file from library and add it again, still with detailed log on? and post the log.

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Mon Jan 16, 2012 3:31 am
by gbdb
Hi Petr,

Removed the file from the library and reinserted it and let the log file build. Due to the large amount of media I have the log grew to over 40 mg. and I figured you probably don't want he whole 40 meg, so I edited the log and copied out the section where the video file was inserted. Due to the size limitations on attachments I have attached half of the file here and will post another message with the second half.

regards
Grant.

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Mon Jan 16, 2012 3:32 am
by gbdb
Hi Petr,

As promised here is the second half of the log portion.

regards
Grant

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Mon Jan 16, 2012 5:12 pm
by zip
Right, this is the problem:

  Code:
H264 Level value stored in the AVC header (4) is different than one based on ref_frames value (5 will be stored)


There seems to be a bug with profile detection based on ref frames so the file gets transcoded. That should still play though. Anyway, could you run this command and send me the resulting file (c:\temp\m2tsheader.h264)?

  Code:
ffmpeg.exe -i "D:\Shared documents\My Videos\Home Video\6. Sep 11 - Nov 11\00334. EOY Concert 2011 - Running of the Bulls.m2ts" -vframes 1 -vcodec copy -f h264 -an c:\temp\m2tsheader.h264


You can change the output path if this one doesn't work.

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Mon Jan 16, 2012 9:10 pm
by gbdb
Hi Petr,

Here is the output from the run. I had the change the extension from h264 to txt to get it to attach as h264 threw an error message, so you will need to change it back.

Grant.

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Mon Jan 16, 2012 10:49 pm
by zip
Thanks Grant. it's helpful. One more thing. Could you install Intel tools, run AV Media Controller, browse Serviio to find this item and display properties. Then find the resolution of the video resource and post it here (should be 1440 x 1080)

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Tue Jan 17, 2012 11:53 am
by gbdb
Hi Petr,

The resolution was 1440x1080 as you suggested in AV Media Controller.

Grant

Re: Samsung C/D profile not playing m2ts after upgrade to 0.

PostPosted: Thu Jan 19, 2012 3:32 pm
by eliane1234
hello

i have samsung tv c series i was using old version serviio it worked fine now i use only 2 min and serviio stopped working on tv. please help

thanks