PDA

View Full Version : MTS files don't work for me



Gargo
07-31-2011, 09:09 AM
Hi,

I have premium Mezzmo and love it!
Up until now everything has played perfect on my Samsung C TV.
Well... to my problem! I just bought a Panasonic HD camera that records in MTS files. They work perfectly for about 20sec then the picture turns nasty and skip to next file. I wonder if you guys can find my problem?

ffmpeg version N-31558-g47b71ee, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 19 2011 11:59:21 with gcc 4.4.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffplay --prefix=/media/windows/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --pkg-config=pkg-config
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. 27. 0 / 2. 27. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, mpegts, from 'L:\Filmer\2011-07-30 Prässebo Sjö och badar\Prässebo Sjö och badar 001.MTS':
Duration: 00:00:38.91, start: 0.801622, bitrate: 16483 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
Stream #0.2[0x1200]: Subtitle: pgssub
At least one output file must be specified


---> DB Level Info: 40, 100
---> Frame rate: 50,00
---> Aspect ratio: 16:9

Thanks!
//Gargo

Gargo
08-01-2011, 05:43 AM
To update the thread.
I have read on this forum that the preset of Samsung BDP can fix some stuff, so I tried it out. Now I get the timeline on the clips and they run to the end. But there is a new problem. They are very choppy in both sound and video.
Not watchable. I hope you guys can help me out.

Thanks!
//Gargo

Paul
08-01-2011, 09:34 AM
Hi Gargo,

The bitrate on that MTS file is more than the TV can handle, thus it drops out. The stock "Samsung C" device profile should transcode such files, if transcoding is turned on. Is your transcoding turned on or off?

Gargo
08-02-2011, 06:08 AM
Thanks for you fast answer Dennis,
I think my computer is to slow for good transcode. AMD Athlon 64 X2 Dual Core 5000+ 2,60GHz with 4gb ram. Don't you think?
//Gargo

Paul
08-02-2011, 08:55 AM
Yes, that CPU won't let you watch such movies in real-time, but pre-transcoding (coming soon!) will help.

You can also start playing that file, then stop it and let background transcoding take care of it (don't play anything else, just let the server sit there and transcode in the background).

Gargo
08-03-2011, 06:19 AM
One funny thing tho. When I edit the clips and make the movies, I save them in exactly the same bitrate with 5.1 sound, m2ts file. And my TV have no problem at all running this file true mezzmo. Odd?


ffmpeg version N-31558-g47b71ee, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 19 2011 11:59:21 with gcc 4.4.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffplay --prefix=/media/windows/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --pkg-config=pkg-config
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. 27. 0 / 2. 27. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mpegts, from 'D:\Ej klara filmer i PowerDirector\Badar med Jonas och Lotta i Prässebo.m2ts':
Duration: 00:00:55.04, start: 0.440000, bitrate: 16282 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
At least one output file must be specified


---> DB Level Info: 40, 100
---> Frame rate: 25,00
---> Aspect ratio: 16:9


This file is from my other camera. A Samsung HMX S15. It has even higher bitrate and 50fps. It's no problem at all running with mezzmo. No Transcode needed on MP4.


ffmpeg version N-31558-g47b71ee, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 19 2011 11:59:21 with gcc 4.4.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffplay --prefix=/media/windows/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --pkg-config=pkg-config
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. 27. 0 / 2. 27. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 120000.00 (120000/1) -> 50.00 (50/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'L:\Filmer\2011-04-19 Vår städning ute på tomten\Vår städning ute på tomten 008.MP4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
Duration: 00:00:34.68, start: 0.000000, bitrate: 18153 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 17830 kb/s, 50 fps, 50 tbr, 60k tbn, 120k tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 247 kb/s
At least one output file must be specified


---> DB Level Info: 40, 100
---> Frame rate: 50,00
---> Aspect ratio: 16:9

Thanks again Dennis for your help. I hope you will get back to me.

//Gargo

Gargo
08-03-2011, 07:18 AM
To add even more =/

I shot this clip at a much lower quality. Only ~12000 bits and its the same exact problem.

ffmpeg version N-31558-g47b71ee, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 19 2011 11:59:21 with gcc 4.4.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffplay --prefix=/media/windows/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --pkg-config=pkg-config
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. 27. 0 / 2. 27. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, mpegts, from 'L:\Filmer\2011-07-27 Panasonic SD 900 första filmerna och bilderna\Tredje bästa upplösning.MTS':
Duration: 00:00:21.63, start: 0.333544, bitrate: 12553 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
Stream #0.2[0x1200]: Subtitle: pgssub
At least one output file must be specified


---> DB Level Info: 40, 100
---> Frame rate: 50,00
---> Aspect ratio: 16:9

From my point of view its not the bitrate that is too high. It's the format or wrongly configured codec's? But I'm no expert =)

//Gargo

Paul
08-03-2011, 09:36 AM
From the above, I'd say that the TV cannot handle bitrates higher than 9000 or so Mbits at frame rate 50, but can handle same bitrates at frame rate 25. The other file is an MP4, which is a completely different format, thus it's handled differently by the TV and plays fine. So, it's a combination of things, but from Mezzmo's point of view, more often than not, higher bitrates in MPEG-TS containers do not play (very often frame rates are high), thus it's safer to transcode all higher bitrates than to leave them as-is and cause the TV to stutter while playing.

Gargo
08-03-2011, 04:50 PM
Thanks for clearing this up for me Dennis. I was under the assumption that bitrate was the law and format came second.

I bow for you!

//Gargo

Paul
08-03-2011, 04:52 PM
Unfortunately things aren't that simple in the video encoding world - it's a nightmare actually :) I'm just happy to try and help out!