VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    I am trying to convert mpg (mpeg2) files from my TiVo to h.264 files for my iPod. I am currently using ffmpegX on a mac and it is working great, however I have a linux box with a more powerful CPU that I would like to use. I have installed ffmpeg, x264, and found some scripts to streamline the process, however the output files are not good.
    A 5 second clip would produce a 10 second clip with the audio ending half way through, and jerky slow motion video.

    It is almost working!!!!!!!

    Any help would be appreciated.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Can you post the ffmpeg parameters that you are using or where you find the script?
    And what ffmpeg build?
    Quote Quote  
  3. Member
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    Parameters :
    ffmpeg -y 0 -i myfile.mpg -cropleft 0 -cropright 0 \
    -croptop 0 -cropbottom 0 -v 1 -vcodec libx264 -b 800 -bt 175k -refs 2 -loop 1 \
    -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 \
    -partb8x8 1 -me full -subq 6 -brdo 1 -me_range 21 -chroma 1 \
    -slice 2 -bf 0 -level 13 -g 300 -keyint_min 30 \
    -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 \
    -qmax 35 -qdiff 4 -i_qfactor 0.71428572 -b_qfactor 0.76923078 \
    -maxrate 768k -bufsize 3000k -cmp 1 -s 640x480 -acodec libfaac \
    -ab 160 -ar 48000 -ac 2 -f mp4 2 myfile


    I am using a the script from here
    http://slated.org/howto_transcode_h264_for_ipod_with_ffmpeg
    Quote Quote  
  4. Member
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    I was able to fix it by installing a newer version of x264!!! The output file is all good, I noticed that with the older version, there was no output in the terminal while it was encoding, just [q] to quit or something. Now the terminal is filled with thousands of these messages, is there any way to suppress them?

    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combinationime=3592.66 bitrate= 866.5kbits/s
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combinationime=3593.37 bitrate= 866.5kbits/s
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    [mpeg @ 0x914fa70]invalid dts/pts combination
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!