VideoHelp.com Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date: Apr 2006
    Location: Italy
    Hi all... this is my first post after trying many time to encode a 640x272 divx to 720x576 dvd... i solved using mpeg2enc insted of ffmpeg... the problem is that when I try to encode the divx with flags -Z 720x306 -Y -135 with ffmpeg, dvdauthor say me that the final resolution is unknown... it's a strange thing... transcodee say that the final resolution is 720x576... no problem with mpeg2enc...
    This is the transcode output with ffmpeg during conversion:
    Code:
    redirect@gentoomachine ~/Films $ transcode -i TUONO\ BLU\ \[DIVX\ ITA\]\ \[AZIONE\].avi -x mplayer -y ffmpeg -F mpeg2video -R 1 -w 10200 -D 0 --use_rgb --export_frc 3 -Z 720x306 -Y -135,0,-135,0 -E 48000 -b192 -N 0x2000 -o tuonoblu -m tuonoblu.ac3
    transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
    [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
    [transcode] auto-probing source TUONO BLU [DIVX ITA] [AZIONE].avi (ok)
    [transcode] V: import format    | DivX5 RIFF data, AVI (V=mplayer|A=ac3)
    [transcode] V: import frame     | 640x272  2.35:1  
    [transcode] V: zoom             | 720x306  2.35:1 (Lanczos3)
    [transcode] V: clip frame (->)  | 720x576
    [transcode] V: bits/pixel       | 0.984
    [transcode] V: decoding fps,frc | 25.000,3
    [transcode] V: multi-pass       | (mode=1) writing data (pass 1) to divx4.log
    [transcode] A: import format    | 0x2000  AC3          [48000,16,2]  192 kbps
    [transcode] A: export format    | 0x2000  AC3          [48000,16,2]  192 kbps
    [transcode] V: encoding fps,frc | 25.000,3
    [transcode] A: bytes per frame  | 7680 (7680.000000)
    [transcode] A: adjustment       | 0@1000
    tc_memcpy: using libc for memcpy
    [transcode] V: video buffer     | 10 @ 720x576
    [import_ac3.so] v0.3.2 (2002-02-15) (audio) AC3
    [import_mplayer.so] v0.0.5 (2003-03-10) (video) rendered by mplayer | (audio) rendered by mplayer
    [export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.0.0 | (audio) MPEG/AC3/PCM
    [import_ac3.so] AC3->PCM
    [import_ac3.so] tcextract -a 0 -i "TUONO BLU [DIVX ITA] [AZIONE].avi" -x ac3 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0
    [import_mplayer.so] mplayer -benchmark -noframedrop -nosound -vo yuv4mpeg "TUONO BLU [DIVX ITA] [AZIONE].avi" -osdlevel 0 > /dev/null 2>&1
    [import_mplayer.so] tcextract -i ./stream.yuv -x yv12 -t yuv4mpeg | tcdecode -x yv12 -g 640x272
    tc_memcpy: using libc for memcpy
    tc_memcpy: using libc for memcpy
    [export_ffmpeg.so] Using FFMPEG codec 'mpeg2video' (FourCC 'mpg2', MPEG2 compliant video).
    [export_ffmpeg.so]: WARNING: Interlacing parameters unknown, use --encode_fields
    [export_ffmpeg.so]: INFO: No profile selected
    [export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg'
    [export_ffmpeg.so] found. Default settings will be used instead.
    [export_ffmpeg.so]: INFO: Starting 1 thread(s)
    [export_ffmpeg.so]: INFO: Set display aspect ratio to input
    [mpeg2video @ 0x2aaaaddf43d0]removing common factors from fram
    [encoding frames [000000-004396],  31.53 fps, EMT: 0:02:55, ( 7| 1| 0)
    dvdauthor give me these messages : WARN: unknown mpeg2 aspect ratio 1

    If i try to play the mplexed mpg (multiplexed with mplex) there are black bars also on left and rigth... not with mpeg2enc... where is my error.. thanks and sorry for my little english
    Quote Quote  

  2. I am not Linux user (maybe one day...), but mpeg2 for DVD should have 4:3 or 16:9 (also known as anamorphic) aspect ratio. If the aspect ratio is any other dvdauthor would throw such an error. I couldn't see such figure (4:3 or 16:9) in the output. But this line
    [export_ffmpeg.so]: INFO: Set display aspect ratio to input
    give me a hint that ffmpeg sets the aspect ratio as the input. Your input is an divx avi and avi's in general have 1:1 aspect ratio. You need to find a way to force ffmpeg to write to output the correct aspect ratio (4:3 or 16:9).
    Quote Quote  

  3. Member
    Join Date: Dec 2006
    Location: United Kingdom
    -aspect 4:3 (or 16:9)
    Quote Quote  




Similar Threads

  1. ffmpeg can transcode both audios on "dual avi"?
    By CactusMan in forum Newbie / General discussions
    Replies: 3
    Last Post: 12th Jan 2012, 07:25
  2. Problems Encoding DVD with mpeg2enc
    By justin35 in forum ffmpegX bugs and suggestions
    Replies: 8
    Last Post: 11th Nov 2009, 14:07
  3. VOB to .H264 FFmpeg Transcode Bitrate and Slow Seeking
    By Gloriosis in forum Video Conversion
    Replies: 3
    Last Post: 9th Sep 2009, 14:34
  4. Extensions (ffmpeg, mencoder, mpeg2enc) what do they mean
    By loveformetal1 in forum ffmpegX general discussion
    Replies: 4
    Last Post: 18th Jun 2007, 01:30
  5. Problems w/selectable subs avi-DVD w/mpeg2enc
    By kenzo69 in forum ffmpegX general discussion
    Replies: 1
    Last Post: 20th May 2007, 05:53
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools