ajdahlenburg / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

MPEG-2 TS Aspect Incorrect - 32-bit Windows-build only #126

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When reading TS with TS Reader Lite, aspect shows as 1:1. Aspect is ok in most 
other programs (VLC, Mediainfo, etc), but TS Reader shows what most set top 
boxes will read.

This is to replace a previously submitted issue which I submitted before 
knowing that the issue was limited to the 32-bit Windows build.
Apparently this does not affect Linux builds, and the current 64-bit build for 
Windows does not exhibit the problem.

The current 32-bit build for Windows (FFmbc 0.7rc7 for Windows (32-bit) 
5-Jul-2012) does exhibit this issue.

Hoping to have 32-bit fixed for RC8

C:\>ffmbc -i "88888.mov" -vcodec mpeg2video -vb 12000k -profile 1 -minrate 
12000k -maxrate 12000k -bufsize 2000k -s 1280x720 -r 29.97 -pix_fmt yuv420p 
-aspect 16:9 -acodec mp2 -ab 384k -ar 48000 -ss 9.95 -t 10 -y -f mpegts 
"D:\88888.mov.mpg
"
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '88888.mov':
  Metadata:
    creation_time: 2011-08-08 21:20:46
    timecode: 01:00:14:13
  Duration: 00:00:40.04, start: 0.000000, bitrate: 59131 kb/s
    Stream #0.0(eng): Audio: pcm_s16be, 48000 Hz, 2 channels, s16, 1536 kb/s
    Stream #0.1(eng): Video: dvvideo, yuv422p, 960x720i tff [PAR 1:1 DAR 4:3], 5
7542 kb/s, 29.97 fps
    Metadata:
      codec_name: DV100  RGB
    Stream #0.2(eng): Data: unknown (tmcd)
[scale @ 02A4EAC0] w:960 h:720 fmt:yuv422p -> w:1280 h:720 fmt:yuv420p flags:0x4

[mp2 @ 03293600] The requested thread algorithm is not supported with this threa
d library.
[mpegts @ 0177B9A0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every
40 pkts
Output #0, mpegts, to 'D:\88888.mov.mpg':
  Metadata:
    encoder: FFmbc 0.7
    Stream #0.0(und): Video: mpeg2video, yuv420p, 1280x720p [PAR 1:1 DAR 16:9],
cbr, 12000 kb/s, 29.97 fps
    Stream #0.1(und): Audio: mp2, 48000 Hz, 2 channels, s16, 384 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1

Original issue reported on code.google.com by john.dac...@gmail.com on 14 Dec 2012 at 8:29

GoogleCodeExporter commented 8 years ago
rc8 should be fixed

Original comment by baptiste...@gmail.com on 20 Mar 2013 at 8:59

GoogleCodeExporter commented 8 years ago

Original comment by baptiste...@gmail.com on 20 Mar 2013 at 8:59

GoogleCodeExporter commented 8 years ago
Thank you, but unfortunately, it isn't fixed.

This code:
C:\>ffmbc -i 88888.mov -vcodec mpeg2video -s 1280x720 -pix_fmt yuv420p -aspect
6:9 -vb 10700k -minrate 10700k -maxrate 10700k -bufsize 5M -acodec mp2 -ab 256k
-ar 48000 -f mpegts -ss 9.95 -t 5 mbctest.mpg
FFmbc version 0.7-rc8
Copyright (c) 2008-2013 Baptiste Coudurier and the FFmpeg developers

...still results in TSReader showing 1:1:
Elementary Stream PID 256 (0x0100) MPEG-2 Video
MPEG Video: Bitrate 10.700 Mbps Resolution 1280 x 720p
MPEG Video: Framerate 29.97 fps Aspect Ratio 1:1 Chroma Format 4:2:0

The rc7 64-bit Windows build works. Do you think it would be possible to get 
the 32-bit build working?

Thanks for your help! 

Original comment by john.dac...@gmail.com on 20 Mar 2013 at 9:20