Page 1 of 1

Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 12:18 pm
by alphacat
Greetings to all,

A Toshiba TV I recently purchased saves TV shows as files with the extension "mpg-tts". Does Serviio recognize such files?

This is my first post, and would like to congratulate all members of this vibrant online community.

-Kurt

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 1:02 pm
by zip
post ffmpeg -i on the file

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 1:29 pm
by alphacat
Thanks for the prompt reply Petr.

I'm afraid I have no idea how to do that. Is there wiki I can refer to?

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 1:36 pm
by moltra
Look at signature below on how to give information on video that will not play.

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 2:52 pm
by alphacat
Thanks guys.

Here's the ffmpeg -i on the file.

  Code:
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 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. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
C:\test.mpg-tts: Invalid data found when processing input

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 2:55 pm
by zip
you probably have a file with spaces in the name, you have to put quotes around the file name like:

  Code:
ffmpeg -i "c:/my video/my fil.avi"

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 2:59 pm
by Illico
alphacat wrote:...
C:\test.mpg-tts: Invalid data found when processing input
...

Or ffmpeg could not identified the format!
...
Could you try with MediaInfo tool (see signature link)?

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 3:28 pm
by alphacat
Yes, the file was named "test.mpg-tts", so quotes weren't needed.
MediaInfo couldn't identify it either. Oh well, I guess that's that.

While googling around, I read the following info...
This media type identifies audiovisual streams multiplexed using an
extended MPEG-2 Transport Stream packet format. For the extended format, the
packet length is increased to 192 bytes with the first 4 bytes defining an
additional time stamp for networking usage. The remaining 188 bytes
correspond to the conventional MPEG-2 TS packet.

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 3:56 pm
by Illico
If ffmpeg and MediaInfo can not identify the format, we can not help you anymore.
ffmpeg supports MPEG2 Transport Stream format, *.ts and *.m2ts and others.
I'm curious, can you edit the file in hexadecimal and post the first 300 bytes here.

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 4:17 pm
by alphacat
OK, I'll poke around and see if I can do that.

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 4:28 pm
by zip
those files are normally used by Serviio on the way out, it's either the _ISO or _T profile name. Usually Ffmpeg could identify them no problem, any chance this particular file is corrupted? Can you play it in VLC for example?

Re: Playing "mpg-tts" files

PostPosted: Mon Sep 26, 2011 7:34 pm
by alphacat
Getting late here, but I'll take your advice and try another file tomorrow just in case the first was corrupted.
VLC "plays" the file but you get a blank screen and no audio, so something in the file is not allowing it to be read. Other people have had the same experience.