FAQ  •  Register  •  Login

Samsung LED TV does not play some DVDs

<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Tue Oct 26, 2010 10:35 pm

Samsung LED TV does not play some DVDs

Samsung UA40C6900VF problem.

I have been trying to stream vob files from PC IDE DVD player to my Samsung C LED TV for two months now. It seems there are some vob files that it just will not play, I get the message "video codec not supported".

According to Samsung these vob files never will play as video codec support is hardware based and is not upgradeable.

I therefore need to transcode all vob files.

Now I am reasonably intelligent, having in the past written robotic control software in assembler, however, this video stuff is too steep a learning curve and I am getting too old to retain the necessary features.

So I would much appreciate someone giving me an example of how to force trancoding of vob files, preferably with a maxvbitrate thrown in because I know my old PC machine will not be able to maintain the bitrate unchanged.

The info from a sample vob file that does not play is given below:


C:\PROGRA~1\SERVIIO\LIB>ffmpeg -i m:\video_ts\vts_08_2.vob
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
built on May 3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-L/static/lib --extra-cflags=-I/static/include
libavutil 50.15. 0 / 50.15. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[mpeg2video @ 014ff820]mpeg_decode_postinit() failure
Last message repeated 11 times
[mpeg @ 003fce40]max_analyze_duration reached

Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/
1001) -> 29.97 (60000/2002)
Input #0, mpeg, from 'm:\video_ts\vts_08_2.vob':
Duration: 00:24:19.70, start: 1443.692300, bitrate: 5883 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16:9]
, 8000 kb/s, 26.29 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream #0.2[0x81]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0.3[0x82]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
At least one output file must be specified
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 27, 2010 9:05 am

Re: Samsung LED TV does not play some DVDs

can you play this file from a USB stick?
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Wed Oct 27, 2010 2:33 pm

Re: Samsung LED TV does not play some DVDs

"can you play this file from a USB stick?"
No.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 27, 2010 2:59 pm

Re: Samsung LED TV does not play some DVDs

hmm, so there is something wrong with the file indeed (at least for the TV). You could try transcoding it into WMV, something like:

  Code:
<Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2">
  <Matches container="mpeg" />
 </Video>


This should transcode all MPEG2PS (VOB) files into ASF with WMV9 video and WMA audio. Something silar probably exists in the XBox profile if I remember well.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Oct 27, 2010 3:00 pm

Re: Samsung LED TV does not play some DVDs

Or remux vob file into a mpeg2ts stream, no ?

  Code:
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="mpeg" vCodec="mpeg2video" />
         </Video>
      </Transcoding>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 27, 2010 3:08 pm

Re: Samsung LED TV does not play some DVDs

That would be ideal, but he's getting "video codec not supported" so the stream itself might be 'corrupted'.

Anyway, try both approaches, Illico's solution would be much less CPU intensive.
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Fri Oct 29, 2010 11:19 pm

Re: Samsung LED TV does not play some DVDs

I tried both of those transcoding options.
The first one, possibly as expected, activated ffmpeg and played the VOB files that played before but not the ones that didn't.
The second version (wmv) activated ffmpeg, but now all the files will not play.

I also tried the following with the same result:
<Video targetContainer="asf" targetACodec="ac3" targetVCodec="h264">
<Matches container="mpeg" vCodec="mpeg2video" />
</Video>

Now I knwo this can be done since when trying out Wild Media Server I successfully forced transcoding of all VOB files and all played correctly.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Oct 29, 2010 11:22 pm

Re: Samsung LED TV does not play some DVDs

can you post detailed log of when you try to play a file using the first config (asf, wmv)?
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Sat Oct 30, 2010 2:25 pm

Re: Samsung LED TV does not play some DVDs

OK.
Attachments
log.rar
contains ffmpeg -i output for vts_08_2.vob and detailed log from trying to play it
(7.86 KiB) Downloaded 396 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 31, 2010 11:41 am

Re: Samsung LED TV does not play some DVDs

so the transcode get's activated. weird the file cannot be played. can you try executing this command to transcode the file manually and adding the result (c:\transcodedfile.asf) into Serviio's library and playing it?

  Code:
C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf c:\transcodedfile.asf
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Mon Nov 01, 2010 10:27 pm

Re: Samsung LED TV does not play some DVDs

I copied the command line you gave me into a .bat file, and apart from the destination file left it unchanged. It ran. The transcoded file does not play. "video codec not supported". It plays fine on Windows Media Player.

Text output from ffmpeg is included.

ffmpeg_bug.rar
text output from ffmpeg
(792 Bytes) Downloaded 341 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Nov 01, 2010 10:47 pm

Re: Samsung LED TV does not play some DVDs

djm16 wrote:It plays fine on Windows Media Player.

Do you mean in WMP on your PC or via WMP on your TV?
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Tue Nov 02, 2010 7:06 am

Re: Samsung LED TV does not play some DVDs

If I gave the impression that some separately transcoded files ever played, then it loosk like I was wrong. None of the following produce a file that was playable on the TV.

REM C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile1.wmv

REM C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile2.asf

REM C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec mpeg2video -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile3.asf

REM C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile4.wmv

REM C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile5.asf

REM C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec mpeg2video -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile6.asf

REM C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec h263 -sameq -r 26.29 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile7.asf

C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile8.wmv

C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile9.asf

C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec mpeg2video -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile10.asf

C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile11.wmv

C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec wmv2 -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile12.asf

C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec mpeg2video -sameq -r 26.29 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile13.asf

C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec h263 -sameq -r 26.29 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -sn -f asf e:\temp\transcodedfile14.asf
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Tue Nov 02, 2010 7:11 am

Re: Samsung LED TV does not play some DVDs

zip wrote:
djm16 wrote:It plays fine on Windows Media Player.

Do you mean in WMP on your PC or via WMP on your TV?


No, WMP on PC.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Nov 02, 2010 9:56 am

Re: Samsung LED TV does not play some DVDs

djm16 wrote:
zip wrote:
djm16 wrote:It plays fine on Windows Media Player.

Do you mean in WMP on your PC or via WMP on your TV?


No, WMP on PC.


Well it has nothing to do with your TV/Serviio then. Not sure why it doesn't play though - as you are using a Samsung profile which defines the proper mime types.
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Wed Nov 03, 2010 9:50 am

Re: Samsung LED TV does not play some DVDs

Hi Petr, did you misread my post?

I have tried converting two different files - 8_2 (which did not play before) and - 8_1 (which did play before). None of the transcoded files play on the TV but most of them play on my PC. Since I have used two different versions of ffmpeg (one of which I know can produce files that the TV will play, it would seem that it may be the command line parameters that the TV objects to.

regards
David
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Nov 03, 2010 10:21 am

Re: Samsung LED TV does not play some DVDs

it's hard for me to test this. You can try playing with the command line parameters and if you make it work I'll attempt a fix. Thanks.
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Fri Nov 05, 2010 10:43 pm

Re: Samsung LED TV does not play some DVDs

Hi Petr,
Success. This is a very fussy TV. If there is any error in the stream, the file will not play. Despite the published list of compatibilties, the only one I managed to get to work was matroska. The following four command lines work. One set is at full quality, my processor can manage it at approximately 1.3x real time, the other is with a reduced vb which it manages at about 2x real time without any obvious visual loss of quality.

I appreciate your help with this. Hopefully it will prove useful for other uses too.

C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec mpeg2video -sameq -r 26.29 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -sn -f matroska e:\temp\transcodedfile1.mpg
C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec mpeg2video -sameq -r 26.29 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -sn -f matroska e:\temp\transcodedfile2.mpg
C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec mpeg2video -vb 200k -r 26.29 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -sn -f matroska e:\temp\transcodedfile3.mpg
C:\Progra~1\Serviio\bin\\..\lib/ffmpeg7568.exe -i m:\VIDEO_TS\VTS_08_2.VOB -y -vcodec mpeg2video -vb 200k -r 26.29 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -sn -f matroska e:\temp\transcodedfile4.mpg


regards
David
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Nov 06, 2010 12:28 am

Re: Samsung LED TV does not play some DVDs

cool. This transcode has to be performed manually though because MKV is not good for realtime transcoding (and cannot be therefore part of Serviio's transcode config as a target container)
<<

djm16

Serviio newbie

Posts: 13

Joined: Sun Oct 24, 2010 1:28 pm

Post Tue Nov 09, 2010 5:45 am

Re: Samsung LED TV does not play some DVDs

Some more information.
1) forget the matroska transcoding, that was a red herring. The reason why it worked is because after transcoding to matroska manually, on playback through serviio, it was transcoded again into mpegts by serviio.

2) files transcoded manually into mpeg2video / mpegts play in through serviio just fine, including all of the files on this particular DVD that previously did not play. The command line I used was:
C:\Progra~1\Serviio\bin\\..\lib/ffmpeg.exe -i m:\VIDEO_TS\VTS_08_1.VOB -y -vcodec mpeg2video -sameq -r 26.29 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -sn -f mpegts e:\temp\transcodedfile1.vob

3) With this information, I edited the profile for Samsung C to (lines left unindented for enphasis):

<!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
<!-- transcode AVI with AVC video -->
<!- transcode VOB files (from my DVD player ->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
<Matches container="matroska" vCodec="mpeg2video" />
<Matches container="avi" vCodec="h264" />
<Matches container="mpeg" />
</Video>

4) Using this profile ffmpeg starts up when I try to play from the DVD but with many files (but not all) I get the error message "not supported file format".

5) Lastly, and most significantly, if I capture the temporary file for example: transcoding-temp-109-MPEG2TS.stf, rename it transcoding-temp-109-MPEG2TS.asf then it plays in serviio (with transcoding disabled) without error.

Could this be as simple as serviio presenting the transcoded stream with an incompatible filename extension?
Next

Return to Transcoding

Who is online

Users browsing this forum: Google [Bot] and 30 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.