PDA

View Full Version : Mezzmo stutters playing Samsung .MP4 files.



stevey396
07-17-2011, 09:42 PM
Hi,

I just bought a new camera. Samsung wb650 which saves HiDef video as Mp4.
I have a Panasonic 46g20 TV. I tried playing the files off the sd card plugged into the TV but the video stutters and pixelates. So I copied it to a usb stick and plugged it into my Samsung Blu-ray player which had the same result.
I thought I'd run it off my PC with Mezzmo as it seems to play everthing I throw at it. Had the same result again.
Any ideas what the issue is here? This is what ffmpeg is saying.......Thanks Steve.

ffmpeg version git-N-30186-gd9d5603, Copyright (c) 2000-2011 the FFmpeg developers
built on May 25 2011 12:16:07 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-ffprobe --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. 2. 1 / 51. 2. 1
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 10. 0 / 2. 10. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 30.00 (30/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Video\SAM_0007.MP4':
Metadata:
major_brand : MSNV
minor_version : 19464262
compatible_brands: MSNVmp42isom
creation_time : 2010-07-16 19:29:56
Duration: 00:00:44.46, start: 0.000033, bitrate: 9618 kb/s
Stream #0.0(jpn): Video: h264 (Main), yuv420p, 1280x720, 9483 kb/s, 30 fps, 30 tbr, 30k tbn, 60k tbc
Metadata:
creation_time : 2010-07-16 19:29:56
Stream #0.1(jpn): Audio: aac, 44100 Hz, stereo, s16, 127 kb/s
Metadata:
creation_time : 2010-07-16 19:29:56
At least one output file must be specified


---> DB Level Info: 40

Paul
07-18-2011, 10:04 AM
Well, the bitrate on that video is rather high (for an h264), so that may be causing the issue.

You could try modifying the device profile to force transcoding of such high-bitrate videos to see if it helps, as I suspect the TV may not be able to properly decode it. Would you like to try that and if so, would you prefer me to tell you how to do this manually or just send you an updated device profile?

stevey396
07-18-2011, 04:20 PM
Hi Dennis,
I think I managed to work it out myself how to do it manually but it didn't make any difference. Please can you send me the instructions so that I can double check that I did it correctly. I did some conversion of the files with different bit rates. At a bit rate of 4000kb/s I get stuttering but at 2000kb/s I didn't. On another forum I found someone else had the same problem on another Samsung camera of similar spec to mine. It said that when using a micro HMDi cable plugged into the TV the video was fine. (I haven't got my cable yet) It also made me think what is the difference between plugging in the cable as opposed to streaming the file or using usb stick etc.
Thanks,
Steve

Paul
07-19-2011, 09:12 AM
Hi Steve,

You need to modify the device profile file (e.g. "SamsungBDP.prf") located in your DeviceProfiles folder to do this. Is that what you did? If you did (or didn't), then you'll need to change:



<avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="0" mimetype="video/mp4" supportschunked="0">
<video>
<format id="h264" encode="0">
</format>
</video>


to:



<avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="0" mimetype="video/mp4" supportschunked="0">
<video>
<format id="h264" encode="0">
<maxbitrate>2000000</maxbitrate>
</format>
</video>


Then save the file, restart the server and it should transcode those files for you.

Which device profile are you using and did you try streaming those files to your Samsung BDP (if it has DLNA capabilities)?

Regarding streaming and playing files off a USB stick - they are two different things completely in most cases, so normally you'd be able to play more from a stick than streaming. This is just how hardware manufacturers implement their firmware for some reason.