[FFmpeg-user] PAL MP4 displays VITC in transcodes

marcus at sonicpool.com marcus at sonicpool.com
Sat Dec 29 02:54:42 CET 2012


Hello All

I'm fairly young to FFMPEG but I'm coming across an unusual problem.
I've been encoding various (NTSC) QT ProsRes HQ to mp4. So far no
problems.
When using very similar settings for my (PAL) QT ProRes, the end results
are unusual.

I'm seeing VITC TIMECODE and additional "blanking" in the (PAL) mp4's.
The source files of 
the active picture don't have any visible VITC and no blanking. However
once I've transcoded the file, it is severely shifted. Displaying VITC &
Blanking in the final product. Please see attachment. 

I've checked the files in MEDIA INFO to verify the resolution.
The QT ProRes is 720x576 5:4 and the MP4 is reporting 720x608 5:4
Is there away transcode only Active Lines?


I'm using FFMPEG 1.01.7 and below is the session from the Terminal. I've
scaled down my encode settings to the bare minimum. 

marcus$   ./ffmpeg  -i
/Volumes/XXXXXX/XXXX/PAL/TJB_WTextless_PAL_ENG.mov -r 25  
JungleBook/TJB_WTextless_PAL_ENG/video.mp4


ffmpeg version 1.0.1-tessus Copyright (c) 2000-2012 the FFmpeg
developers
  built on Dec  3 2012 23:31:08 with llvm-gcc 4.2.1 (LLVM build
2336.1.00)
  configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm
--extra-version=tessus --disable-shared --enable-static --disable-ffplay
--disable-ffserver --enable-gpl --enable-pthreads --enable-postproc
--enable-libmp3lame --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib
--enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libxavs --enable-version3 --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus
--enable-fontconfig --enable-libfreetype --enable-libass
--enable-filters --enable-runtime-cpudetect
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10281ae00] Stream #0: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10281ae00] Stream #2: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10281ae00] Stream #3: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10281ae00] Stream #4: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10281ae00] Stream #5: not enough frames to
estimate rate; consider increasing probesize
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Guessed Channel Layout for  Input Stream #0.5 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Volumes/JungleBook_Dig/Media/PAL/TJB_WTextless_PAL_ENG.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537134592
    compatible_brands: qt  
    creation_time   : 2012-09-10 19:08:12
    timecode        : 00:58:29:12
  Duration: 01:31:42.88, start: 0.000000, bitrate: 53154 kb/s
    Stream #0:0(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 1970-01-02 12:24:32
      timecode        : 00:58:29:12
    Stream #0:1(eng): Video: mpeg2video (4:2:2) (mx5p / 0x7035786D),
yuv422p, 720x608 [SAR 152:135 DAR 4:3], 50000 kb/s, SAR 16:15 DAR 24:19,
25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      creation_time   : 1971-02-11 08:43:28
    Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, s16, 768 kb/s
    Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, s16, 768 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:02
    Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, s16, 768 kb/s
    Stream #0:5(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
mono, s16, 768 kb/s
[libx264 @ 0x102828a00] using SAR=16/15
[libx264 @ 0x102828a00] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0x102828a00] profile High 4:2:2, level 3.1, 4:2:2 8-bit
[libx264 @ 0x102828a00] 264 - core 128 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2012 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12
lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00
Output #0, mp4, to 'JungleBook/TJB_WTextless_PAL_ENG/vidzeo.mp4':
  Metadata:
    major_brand     : qt  
    minor_version   : 537134592
    compatible_brands: qt  
    timecode        : 00:58:29:12
    encoder         : Lavf54.29.104
    Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv422p,
720x608 [SAR 16:15 DAR 24:19], q=-1--1, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 1971-02-11 08:43:28
    Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz,
mono, s16, 128 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video -> libx264)
  Stream #0:2 -> #0:1 (pcm_s16le -> libvo_aacenc)
Press [q] to stop, [?] for help
frame=  420 fps=261 q=32766.0 Lsize=     345kB time=00:00:16.79 bitrate=
168.4kbits/s    
video:68kB audio:263kB subtitle:0 global headers:0kB muxing overhead
4.159731%
[libx264 @ 0x102828a00] frame I:3     Avg QP:20.83  size:  9860
[libx264 @ 0x102828a00] frame P:105   Avg QP:23.89  size:   141
[libx264 @ 0x102828a00] frame B:312   Avg QP:32.03  size:    80
[libx264 @ 0x102828a00] consecutive B-frames:  1.0%  0.0%  0.0% 99.0%
[libx264 @ 0x102828a00] mb I  I16..4: 82.2%  6.5% 11.4%
[libx264 @ 0x102828a00] mb P  I16..4:  0.7%  0.1%  0.0%  P16..4:  0.8% 
0.3%  0.0%  0.0%  0.0%    skip:98.1%
[libx264 @ 0x102828a00] mb B  I16..4:  0.3%  0.0%  0.0%  B16..8:  0.8% 
0.1%  0.0%  direct: 0.0%  skip:98.8%  L0:56.0% L1:43.6% BI: 0.4%
[libx264 @ 0x102828a00] 8x8 transform intra:7.2% inter:42.9%
[libx264 @ 0x102828a00] coded y,uvDC,uvAC intra: 5.6% 7.5% 5.4% inter:
0.0% 0.1% 0.0%
[libx264 @ 0x102828a00] i16 v,h,dc,p: 84% 13%  3%  1%
[libx264 @ 0x102828a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 45%  6% 48%  0% 
0%  0%  0%  0%  0%
[libx264 @ 0x102828a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 49% 25% 19%  1% 
1%  1%  1%  1%  2%
[libx264 @ 0x102828a00] i8c dc,h,v,p: 75% 10% 14%  1%
[libx264 @ 0x102828a00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x102828a00] ref P L0: 78.9%  0.9% 11.3%  8.9%
[libx264 @ 0x102828a00] ref B L0: 60.8% 33.3%  5.8%
[libx264 @ 0x102828a00] ref B L1: 91.9%  8.1%
[libx264 @ 0x102828a00] kb/s:33.04
Received signal 2: terminating.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2012-12-28 at 5.27.07 PM.png
Type: image/png
Size: 61858 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121228/9588c7fb/attachment.png>


More information about the ffmpeg-user mailing list