PDA

View Full Version : Problem with aspect ratio



saeedhaftabadi
01-28-2013, 05:14 AM
Hi, I have a LED LG TV 47inch LW95000.I use the latest version of mezzmo 2.7.1. I like when I play a video with aspect ratio 4.3 on TV it's only stretched from left and right and fills the screen. I try from TV but it have only two options real size and full screen but in full screen state I have black bars on the left and right, so I try other device profiles such as generic device ETC but I couldn't do that.So when I play a video with resolution 720*576 and aspect ratio 16.9 on TV it's played with aspect ratio 4.3 that its wrong aspect ratio. please help me.
Thank you.

Paul
01-28-2013, 09:19 AM
Please post the FFmpeg information on the video you are streaming. Right-click on the video in Mezzmo and click 'Get FFmpeg Information'.

One thing to try is to pre-transcode the file to another format. Right-click on the file in Mezzmo and click 'Pre-transcode Files'. Select your device and click Choose Formats. Select a format and click OK. Click OK to start pre-transcoding. After the file has completed transcoding (go to the Transcoding pane to see this), try streaming the file again.

saeedhaftabadi
01-28-2013, 04:42 PM
Hi, I tried transcoding but it wasn't successful and the video was played with aspect ratio 4.3 whereas the real aspect ratio was 16.9.
I have this problem with mpg and TS formats with resolution 720*576 and aspect ratio 16.9. when I change resolution to 720*400 with converter software it's played true with aspect ratio 16.9.

FFmpeg information from file with mpeg format:
fmpeg version N-40693-gc457a29 Copyright (c) 2000-2012 the FFmpeg developers
built on May 15 2012 12:57:14 with gcc 4.6.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads
libavutil 51. 51.100 / 51. 51.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 73.100 / 2. 73.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
[mp2 @ 02d72ae0] Header missing
[mpeg @ 0177ba40] max_analyze_duration 5000000 reached at 5016000
Input #0, mpeg, from 'E:\Video\show\14.mpg':
Duration: 00:03:39.89, start: 22603.801756, bitrate: 3990 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
At least one output file must be specified


---> DB Level Info: 8, 4
---> Frame rate: 25.00
---> Aspect ratio: 16:9


FFmpeg information from file with TS format:
ffmpeg version N-40693-gc457a29 Copyright (c) 2000-2012 the FFmpeg developers
built on May 15 2012 12:57:14 with gcc 4.6.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads
libavutil 51. 51.100 / 51. 51.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 73.100 / 2. 73.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
[mpeg2video @ 0035c760] mpeg_decode_postinit() failure
[mp3 @ 01447340] Header missing
[mpegts @ 0035ba80] max_analyze_duration 5000000 reached at 5000000
[mpegts @ 0035ba80] PES packet size mismatch
Input #0, mpegts, from 'G:\[TS]PMC[28-01-2013.06.32.01\000.ts':
Duration: 00:02:16.78, start: 44051.234433, bitrate: 3217 kb/s
Program 9501
Metadata:
service_name : Dubai TV
service_provider: Du
Program 9502
Metadata:
service_name : Dubai Sports 3
service_provider: Du
Program 9503
Metadata:
service_name : Sama Dubai
service_provider: Du
Program 9504
Metadata:
service_name : AL SHARJAH
service_provider: Du
Program 9507
Metadata:
service_name : AD SPORT1
service_provider: Du
Program 9508
Metadata:
service_name : PMC
service_provider: Du
Stream #0:0[0x43]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 10000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x2e](ara): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 256 kb/s
Program 9509
Metadata:
service_name : AL SHARQIYA DRAMA
service_provider: Du
Program 9510
Metadata:
service_name : AL SHARQIYA
service_provider: Du
Program 9511
Metadata:
service_name : AL BAGHDADIA 2
service_provider: Du
Program 9513
Metadata:
service_name : Al-Arabiya
service_provider: Du
Program 9515
Metadata:
service_name : MBC MAGHREB AL ARABIA
service_provider: Du
Program 9516
Metadata:
service_name : Sky News Arabia
service_provider: Du
Program 9520
Metadata:
service_name : Noor Dubai Radio
service_provider: Du
Program 9521
Metadata:
service_name : AL SHARJAH RADIO
service_provider: Du
At least one output file must be specified


---> DB Level Info: 8, 4
---> Frame rate: 25.00
---> Aspect ratio: 16:9

Paul
01-29-2013, 02:28 PM
These files are being streamed directly to your LG TV without any changes or transcoding, so it seems your TV's firmware is getting confused by the mix of MPEG-2 format, the dimensions and the aspect ratio.

You seem to be recording these videos from a TV broadcast. Can you adjust the recording settings for the tuner card/hardware/software that you are using to record with?

Also, try pre-transcoding again. Make sure you are using the LG TV device profile (check the Media Devices dialog in Mezzmo). Right-click on the video in Mezzmo and click 'Pre-transcode Files'. In the Pre-transcode Files dialog, choose your device and then choose mpegts, h264, ac-3 as the transcoding format. Also check the 'Force full transcode' checkbox. Click OK to start transcoding. Once transcoding has completed, try streaming the file again.

saeedhaftabadi
01-29-2013, 05:12 PM
I tried receiver settings but it wasn't successful, so tried pre-transcoding again as you said but it wasn't successful. I used "LG TV" device profile.
FFmpeg information below got after transcoding.

ffmpeg version N-40693-gc457a29 Copyright (c) 2000-2012 the FFmpeg developers
built on May 15 2012 12:57:14 with gcc 4.6.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc/include --extra-ldflags=-L/home/peter/cc/lib --pkg-config=pkg-config --disable-w32threads
libavutil 51. 51.100 / 51. 51.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 73.100 / 2. 73.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
[mpegts @ 0178ba80] max_analyze_duration 5000000 reached at 5000000
[mpegts @ 0178ba80] PES packet size mismatch
Input #0, mpegts, from 'C:\Users\Saeed Laptop\Desktop\16.9.ts':
Duration: 00:00:39.35, start: 65157.523322, bitrate: 3972 kb/s
Program 17601
Metadata:
service_name : WeddingTV Italia
service_provider: Arqiva
Program 17621
Metadata:
service_name : Videolina
service_provider: Arqiva
Program 17624
Metadata:
service_name : T.TV
service_provider: Arqiva
Program 17626
Metadata:
service_name : AVA MOVIE
service_provider: Arqiva
Program 17629
Metadata:
service_name : Russia Today
service_provider: Arqiva
Program 17632
Metadata:
service_name : Russia Al-Yaum
service_provider: Arqiva
Program 17633
Metadata:
service_name : Al Anwar
service_provider: Arqiva
Program 17635
Metadata:
service_name : World Fashion Channel
service_provider: Arqiva
Program 17636
Metadata:
service_name : Tik TV
service_provider: Arqiva
Program 17637
Metadata:
service_name : Imam Hussein TV
service_provider:
Program 17638
Metadata:
service_name : Baqi TV
service_provider: Arqiva
Program 17639
Metadata:
service_name : Al-Hayat
service_provider: Arqiva
Program 17650
Metadata:
service_name : Manoto 1
service_provider: Arqiva
Stream #0:0[0x41a]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 10000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x4e2](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s
Program 17660
Metadata:
service_name : Pars TV
service_provider: Harmonic
Program 17670
Metadata:
service_name : Elite Shopping
service_provider: Arqiva
Program 17691
Metadata:
service_name : Il Sole
service_provider: Arqiva
At least one output file must be specified


---> DB Level Info: 8, 4
---> Frame rate: 25.00
---> Aspect ratio: 16:9

Paul
01-30-2013, 09:12 AM
Please send us one of your videos that has the aspect ratio problem and we'll try it here with our LG TV. If the video file is larger than 10MB, then please upload it to a filesharing site like dropbox, mega or rapidshare and then email us the download link to support [at] conceiva [dot] com.

saeedhaftabadi
01-30-2013, 09:14 PM
I sent a sample video for testing on your LG TV to support [at] conceiva [dot] com.

Paul
01-31-2013, 08:50 AM
Thanks. Got your email. We'll test it here and report back.

saeedhaftabadi
02-01-2013, 05:18 AM
Thanks. Please check your mail.

Paul
02-01-2013, 08:57 AM
Hi Saeed,

Thanks for this information. As mentioned, we tested playing the sample video you sent us on many different devices, but it does not play correctly in the majority of them (LG, Sony, Samsung, Panasonic). We can get it working by using the stretching mode on these devices to fix the broken aspect ratio, but your LG TV does not have this stretching mode (it only has full and original modes).

Remember that Mezzmo is just streaming the video file directly to your TV. Mezzmo is not altering it in anyway. So the broken aspect ratio has nothing to do with Mezzmo - it is just how your device renders this video.

If you cannot change (improve) the aspect ratio or dimension settings in your recording hardware/software, then you are left with no choice but to convert (i.e. correct) the videos after recording them.

saeedhaftabadi
02-02-2013, 03:10 AM
Thanks a lot.