PDA

View Full Version : problem with franscoding speed



dejansa
03-19-2011, 09:01 PM
Hi,
possess an extended trial mezzmo v2.2.0.0
OS is Windows 7 proffesional 64-bit, porocesor AMD dual-core Opteron 2216 2.4 GHz, 4GB RAM. My problem is as follows ... Some HD or full HD files work great, while some do not. The problem is that when I start movie, transcoding are very slow (file 5626-mpegts_transcoding-libx264-ac3.mzt is growing with speed of 1MB/min), while some movies transcodes for only a few seconds! I would love to find a pattern to encode the entire library so that all the films work well. Here's an example (Avater is doing well, Gladiator does not work):
Avatar ffmpeg info:
FFmpeg version git-c3897d7, Copyright (c) 2000-2011 the FFmpeg developers
built on Feb 28 2011 10:03:54 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 --extra-cflags=-U__STRICT_ANSI__ --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect
libavutil 50. 39. 0 / 50. 39. 0
libavcodec 52.113. 2 / 52.113. 2
libavformat 52.102. 0 / 52.102. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 12. 0 / 0. 12. 0
[matroska,webm @ 016bcc40] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 24.00 (24/1)
Input #0, matroska,webm, from 'E:\My_Video\Ivana_Dejan\Avatar 2009 BluRay 720p H264-3Li.mkv':
Duration: 02:41:41.75, start: 0.000000, bitrate: 448 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 23.98 fps, 24 tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
At least one output file must be specified


---> DB Level Info: 31

Gladiator ffmpeg info:
FFmpeg version git-c3897d7, Copyright (c) 2000-2011 the FFmpeg developers
built on Feb 28 2011 10:03:54 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 --extra-cflags=-U__STRICT_ANSI__ --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect
libavutil 50. 39. 0 / 50. 39. 0
libavcodec 52.113. 2 / 52.113. 2
libavformat 52.102. 0 / 52.102. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 12. 0 / 0. 12. 0
[matroska,webm @ 015bcc40] Estimating duration from bitrate, this may be inaccurate

Seems stream 1 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 24.00 (24/1)
Input #0, matroska,webm, from 'E:\My_Video\Ivana_Dejan\Gladiator.2009.720.mkv':
Duration: 02:50:58.90, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0: Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)
Stream #0.1(eng): Video: h264 (High), yuv420p, 1280x544, PAR 1:1 DAR 40:17, 23.98 fps, 24 tbr, 1k tbn, 47.95 tbc (default)
At least one output file must be specified


---> DB Level Info: 31

Paul
03-21-2011, 09:28 AM
Hi,

Can you please tell me which device and device profile you're using? I would guess that the movies that transcode quickly are simply remuxed (in case of Avatar it has "standard" dimensions, so I'm guessing it's remuxed, while the Gladiator may be fully recoded due to it's dimensions). Once I know the device profile I can confirm this for sure.

dejansa
03-22-2011, 01:51 AM
Hi Dennis,
thanks for quick answer.... profile is Sony Bravia KDL device is Sony Bravia KDL 40ex500

Paul
03-22-2011, 09:12 AM
Yes, then my guess is correct :) We're remuxing the standard dimensions, but because the TV has issues with non-standard dimensions (and aspect ratios), we have to pad those files and this means a full video recode. If you wish, you can remove video dimensions from the device profile, but that may mean that those files will look stretched or squeezed on your TV.

dejansa
03-22-2011, 05:29 PM
First, how to remove video dimensions from my device profile and secondely, how to encode my video (I alredy encode every video to hardcode subtitle in) to just remux standard dimension. What is standard dimension for my device (and aspect ratio)....For purpose of encoding, I'm using MeGUI and avisynth script.
Regards

Paul
03-23-2011, 09:01 AM
To remove video dimensions, edit the SonyBraviaKDL.prf file (in your DeviceProfiles folder) and remove the various <dimensions> tags from the "mpegts_transcoding" container. After that save the file, restart the server and try again - this should remux the file now. If it doesn't, let me know and I'll post a command using FFmpeg (I don't know about MeGUI/avisynth, as we're not using those).

dejansa
03-23-2011, 02:41 PM
Dennis,
now work perfect.
Regards

Paul
03-23-2011, 02:43 PM
Great, thanks for letting me know! Does it display correctly (although with just a few pixels' difference, it'll probably be impossible to tell)?

dejansa
03-23-2011, 05:34 PM
Dennis,
almost every video I have alredy resized and croped to aspect ratio 16:9 so its immposible to me to see any difference...I really don't understand why is this default setting ? I beleve that many people have the same problem as I do...
regards

Paul
03-24-2011, 09:07 AM
Avatar's resolution is 1280x544 with an aspect ratio of 40:17 and not every TV can display that properly, thus the need to transcode such files to proper dimensions/aspect ratio.

dejansa
03-24-2011, 09:44 PM
Dennis,
Yes, Gladiator resolution is 1280x544 and my Sony Bravia KDL 40ex500 can play it. Today I purched Mezzmo :)
Bye

dejansa
05-13-2011, 02:05 AM
Dennis,
since I upgrade Mezzmo to version 2.3.1.0, the same problem turned back !! I tried to modify device prf file by deleteing dimension section, but nothing happend?
What to do?
Regards,
Dejan.

Paul
05-13-2011, 08:58 AM
Please make sure you restart the server (not the GUI) after modifying the device profile. If that doesn't help, please send in logs to support and I'll take a look - also, please send in your modified profile (or post it here).

dejansa
05-13-2011, 05:20 PM
I have restarted Server. Nothing happend.... I Have attached SonyBraviaKDL.prf
Regards.
Dejan.107

dejansa
05-16-2011, 01:50 AM
Dennis,
I have send log files together with SonyBraviaKDL.prf at support....please take a look.
regards,
Dejan.

Paul
05-16-2011, 09:23 AM
Thanks Dejan, we'll get back to you via e-mail.

dejansa
05-16-2011, 07:29 PM
Dennis,
we are in the middle of nothing.... please help us.... get involved....
regards,
Dejan.

dejansa
05-16-2011, 11:40 PM
Dennis,
I'm not sure that this is the same problem as before... becouse now even Avatar (standard dimension) can't play normally.... please help me to solve thisbig issue.
regards,
Dejan.

Paul
05-17-2011, 08:53 AM
I'll check out what's happening with your case and get back to you shortly.