PDA

View Full Version : Interesting Playback Anomaly



ftanner
01-14-2015, 09:03 AM
I've noticed an interesting playback anomaly that I think might be more of an ffmpeg thing, but I wanted toget your take on it.

So the player I am using for this (I haven't tested it on another one yet) is a Sony BluRay Player.

When I play a movie that has an intentionally pixelated image in it, like the dream sequence in Prometheus or some of the time viewer sequences in Deja Vu (watching these movies at 1080p), I have noticed stuttering.

This stuttering only happens during the duration of these pixelated sequences.

Have you heard of this before?

PS... I will see if I get the same result on my Samsung Smart TV.

Paul
01-14-2015, 10:02 AM
We have not seen this before. My guess is it could be the way the videos were encoded.

If the video(s) are being transcoded on-the-fly by Mezzmo, then they may be being re-muxed for fast transcoding speed. This means that the video and/or audio codecs/channels in the original video are copied into the transcoded video. If you wish, you can pre-transcode the video and do a full transcode of the codecs/channels. This may eliminate any possible encoding issues in the original video. When pre-transcoding, make sure you select the 'Force full transcode of all channels' checkbox on the Pre-transcode Formats dialog. Let us know how it goes.

ftanner
01-14-2015, 03:48 PM
We have not seen this before. My guess is it could be the way the videos were encoded.

If the video(s) are being transcoded on-the-fly by Mezzmo, then they may be being re-muxed for fast transcoding speed. This means that the video and/or audio codecs/channels in the original video are copied into the transcoded video. If you wish, you can pre-transcode the video and do a full transcode of the codecs/channels. This may eliminate any possible encoding issues in the original video. When pre-transcoding, make sure you select the 'Force full transcode of all channels' checkbox on the Pre-transcode Formats dialog. Let us know how it goes.

They're not being transcoded. They're being played natively.

I checked the Samsung TV. During the same sequence using the Samsung TV's SmartHub, it pauses every few seconds and displays the "loading" icon and then repeats.

Paul
01-14-2015, 05:10 PM
Understand. Given Mezzmo server is streaming the file directly to your device(s), then the problem will most likely be either your home network bandwidth not being fast enough for the video, or the encoding of the video itself causing the firmware on your device(s) to have problems decoding and playing that part of the video. Right-click on the video in Mezzmo and click 'Get FFmpeg Information'. Post that here and we may see a clue as to the problem.

ftanner
01-16-2015, 11:31 AM
Understand. Given Mezzmo server is streaming the file directly to your device(s), then the problem will most likely be either your home network bandwidth not being fast enough for the video, or the encoding of the video itself causing the firmware on your device(s) to have problems decoding and playing that part of the video. Right-click on the video in Mezzmo and click 'Get FFmpeg Information'. Post that here and we may see a clue as to the problem.

ffmpeg version N-66094-gbb8b752 Copyright (c) 2000-2014 the FFmpeg developers
built on Sep 4 2014 16:23:51 with gcc 4.8.2 (GCC)
configuration: --enable-memalign-hack --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc32/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-libvpx --enable-libvorbis
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.100 / 56. 4.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.103 / 5. 0.103
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\Movies\Prometheus.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2014-07-19 22:47:55
Duration: 02:03:46.43, start: 0.000000, bitrate: 3079 kb/s
Chapter #0.0: start 0.000000, end 313.146000
Metadata:
title :
Chapter #0.1: start 313.146000, end 464.881000
Metadata:
title :
Chapter #0.2: start 464.881000, end 691.524000
Metadata:
title :
Chapter #0.3: start 691.524000, end 909.784000
Metadata:
title :
Chapter #0.4: start 909.784000, end 1204.912000
Metadata:
title :
Chapter #0.5: start 1204.912000, end 1352.810000
Metadata:
title :
Chapter #0.6: start 1352.810000, end 1663.120000
Metadata:
title :
Chapter #0.7: start 1663.120000, end 1917.833000
Metadata:
title :
Chapter #0.8: start 1917.833000, end 2050.840000
Metadata:
title :
Chapter #0.9: start 2050.840000, end 2273.229000
Metadata:
title :
Chapter #0.10: start 2273.229000, end 2445.360000
Metadata:
title :
Chapter #0.11: start 2445.360000, end 2749.330000
Metadata:
title :
Chapter #0.12: start 2749.330000, end 2927.925000
Metadata:
title :
Chapter #0.13: start 2927.925000, end 3023.062000
Metadata:
title :
Chapter #0.14: start 3023.062000, end 3236.400000
Metadata:
title :
Chapter #0.15: start 3236.400000, end 3392.222000
Metadata:
title :
Chapter #0.16: start 3392.222000, end 3571.610000
Metadata:
title :
Chapter #0.17: start 3571.610000, end 3689.185000
Metadata:
title :
Chapter #0.18: start 3689.185000, end 3857.562000
Metadata:
title :
Chapter #0.19: start 3857.562000, end 3961.457000
Metadata:
title :
Chapter #0.20: start 3961.457000, end 4137.884000
Metadata:
title :
Chapter #0.21: start 4137.884000, end 4273.519000
Metadata:
title :
Chapter #0.22: start 4273.519000, end 4510.631000
Metadata:
title :
Chapter #0.23: start 4510.631000, end 4626.038000
Metadata:
title :
Chapter #0.24: start 4626.038000, end 5102.306000
Metadata:
title :
Chapter #0.25: start 5102.306000, end 5229.349000
Metadata:
title :
Chapter #0.26: start 5229.349000, end 5410.363000
Metadata:
title :
Chapter #0.27: start 5410.363000, end 5563.725000
Metadata:
title :
Chapter #0.28: start 5563.725000, end 5723.134000
Metadata:
title :
Chapter #0.29: start 5723.134000, end 5866.861000
Metadata:
title :
Chapter #0.30: start 5866.861000, end 6046.374000
Metadata:
title :
Chapter #0.31: start 6046.374000, end 6226.220000
Metadata:
title :
Chapter #0.32: start 6226.220000, end 6508.794000
Metadata:
title :
Chapter #0.33: start 6508.794000, end 6728.096000
Metadata:
title :
Chapter #0.34: start 6728.096000, end 7086.288000
Metadata:
title :
Chapter #0.35: start 7086.288000, end 7426.431667
Metadata:
title :
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800, 2693 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
creation_time : 2014-07-19 22:47:55
handler_name : Video
Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Metadata:
creation_time : 2014-07-19 22:48:52
handler_name : GPAC ISO Audio Handler
At least one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 41, 100
---> Frame rate: 23.98
---> Aspect ratio:
---> Duration: 02:03:46

Paul
01-16-2015, 11:52 AM
The video does not have an overly high video bitrate (~3Mb/sec) so I don't think the problem is a too high video bitrate causing the stuttering. So, it does suggest the actual video's encoding may have a problem in that particular section of the video so that your device's firmware cannot decode & play that part properly. You can test this yourself by pre-transcoding the video with Mezzmo and then try playing the newly transcoded video. If it works, then it does confirm the encoding issue. To pre-transcode the video, right-click on it in Mezzmo and click 'Pre-transcode Files'. On the Pre-transcode Files dialog, select your device and click 'Choose Formats'. On the Pre-transcode Formats dialog, select the bolded format and select the 'Force full transcode of all channels' checkbox. Click OK. Select the 'Pre-transcode files even if they match the devices supported formats' checkbox and click OK. Wait until transcoding has completed and then try to stream the video again. Hopefully it plays smoothly all the way through now.

ftanner
01-20-2015, 03:14 AM
The video does not have an overly high video bitrate (~3Mb/sec) so I don't think the problem is a too high video bitrate causing the stuttering. So, it does suggest the actual video's encoding may have a problem in that particular section of the video so that your device's firmware cannot decode & play that part properly. You can test this yourself by pre-transcoding the video with Mezzmo and then try playing the newly transcoded video. If it works, then it does confirm the encoding issue. To pre-transcode the video, right-click on it in Mezzmo and click 'Pre-transcode Files'. On the Pre-transcode Files dialog, select your device and click 'Choose Formats'. On the Pre-transcode Formats dialog, select the bolded format and select the 'Force full transcode of all channels' checkbox. Click OK. Select the 'Pre-transcode files even if they match the devices supported formats' checkbox and click OK. Wait until transcoding has completed and then try to stream the video again. Hopefully it plays smoothly all the way through now.

I will give that a shot and see what happens. I will let you know,

ftanner
01-20-2015, 07:46 AM
The video does not have an overly high video bitrate (~3Mb/sec) so I don't think the problem is a too high video bitrate causing the stuttering. So, it does suggest the actual video's encoding may have a problem in that particular section of the video so that your device's firmware cannot decode & play that part properly. You can test this yourself by pre-transcoding the video with Mezzmo and then try playing the newly transcoded video. If it works, then it does confirm the encoding issue. To pre-transcode the video, right-click on it in Mezzmo and click 'Pre-transcode Files'. On the Pre-transcode Files dialog, select your device and click 'Choose Formats'. On the Pre-transcode Formats dialog, select the bolded format and select the 'Force full transcode of all channels' checkbox. Click OK. Select the 'Pre-transcode files even if they match the devices supported formats' checkbox and click OK. Wait until transcoding has completed and then try to stream the video again. Hopefully it plays smoothly all the way through now.

So, I did as you suggested and that seems to have worked. Thank you for your assistance.

Paul
01-20-2015, 08:34 AM
OK - glad we determined that the original video had some strange encoding. Have fun streaming with Mezzmo!