VideoHelp Forum




Results 1 to 12 of 12
  1. Member
    Join Date
    Dec 2005
    Location
    Netherlands
    Search Comp PM
    Since 0.0.9v my resulting video output is running about twice as fast... This is the same when using the old PSP preset... Strangely I tried another preset (mencoder xvid) and that does encode fine... I'm wondering what could be causing this, because it's pretty damn annoying :P

    When checking the info window when encoding using the h264 preset it floods the window with messages like:

    'error, non monotone timestamps 0 >= 6006'

    The number keeps increasing...

    Any1 got any idea? I did try multiple sources and they all turn out the same.

    p.s.
    This is the entire info window output when encoding and cancelling it, but it shouldn't be any different than when keeping it running:

    Code:
    Encoding started on Mon Feb 13 11:25:12 CET 2006
    ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX static build for ffmpegX
      configuration:  --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264 
      built on Dec  1 2005 03:50:24, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
    x264 [info]: using cpu capabilities Altivec 
    mp4 [info]: initial delay 0 (scale 30000)
    Input #0, avi, from 'xxpathxx':
      Duration: 00:23:19.9, start: 0.000000, bitrate: 805 kb/s
      Stream #0.0, 23.98 fps: Video: mpeg4, yuv420p, 704x396
      Stream #0.1: Audio: mp3, 48000 Hz, stereo, 112 kb/s
    Output #0, yuv4mpegpipe, to 'pipe:':
      Stream #0.0,   nan fps: Video: rawvideo, yuv420p, 368x208, q=2-31, 200 kb/s
    Stream mapping:
      Stream #0.0 -> #0.0
    Press [q] to stop encoding
    error, non monotone timestamps 0 >= 6006
    error, non monotone timestamps 0 >= 18018
    error, non monotone timestamps 0 >= 18018
    error, non monotone timestamps 0 >= 18018
    error, non monotone timestamps 0 >= 27027
    error, non monotone timestamps 0 >= 27027
    error, non monotone timestamps 0 >= 30030
    error, non monotone timestamps 0 >= 42042
    error, non monotone timestamps 0 >= 54054
    error, non monotone timestamps 0 >= 66066
    error, non monotone timestamps 0 >= 78078
    error, non monotone timestamps 0 >= 90090
    error, non monotone timestamps 0 >= 102102
    x264 [info]: slice I:3     Avg QP:21.33  size:  5976  PSNR Mean Y:49.05 U:52.39 V:52.75 Avg:49.86 Global:47.31
    x264 [info]: slice P:29    Avg QP:28.28  size:  1008  PSNR Mean Y:39.00 U:47.32 V:47.68 Avg:40.37 Global:38.80
    x264 [info]: mb I  I16..4: 70.0%  0.0% 30.0%
    x264 [info]: mb P  I16..4: 12.0%  0.0%  5.1%  P16..4: 30.8%  0.0%  0.0%  0.0%  0.0%    skip:52.1%
    x264 [info]: final ratefactor: 25.39
    x264 [info]: PSNR Mean Y:39.944 U:47.795 V:48.158 Avg:41.263 Global:39.163 kb/s:353.35
    aborted at input frame 32
    encoded 32 frames, 8.04 fps, 356.87 kb/s
    ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX static build for ffmpegX
      configuration:  --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264 
      built on Dec  1 2005 03:50:24, gcc: 3.3 20030304 (Apple Computer, Inc. build 1666)
    Seems that stream 0 comes from film source: 30000.00 (30000/1) -> 29.97 (30000/1001)
    Input #0, mov,mp4,m4a,3gp,3g2, from 'xxpathxx/MAQ06175.video.mp4':
      Duration: 00:00:01.0, start: 0.000000, bitrate: 363 kb/s
      Stream #0.0, 29.97 fps: Video: h264, yuv420p, 368x208
    Input #1, avi, from 'xxpathxx':
      Duration: 00:23:19.9, start: 0.000000, bitrate: 805 kb/s
      Stream #1.0, 23.98 fps: Video: mpeg4, yuv420p, 704x396
      Stream #1.1: Audio: mp3, 48000 Hz, stereo, 112 kb/s
    Output #0, mp4, to '/xxpathxx/MAQ06175.audio.mp4':
      Stream #0.0: Audio: aac, 48000 Hz, stereo, 64 kb/s
    Stream mapping:
      Stream #1.1 -> #0.0 [sync #0.0]
    Press [q] to stop encoding
    video:0kB audio:0kB global headers:0kB muxing overhead 7100.000000%

  2. Does it work by enabling "Decode with Quicktime"?

  3. Member
    Join Date
    Dec 2005
    Location
    Netherlands
    Search Comp PM
    Nope, it does have a different effect though, all I get is a black screen....

  4. Can you play your source file in Quicktime Player?

  5. I had similar results although I would say video was running about 20% faster.

    I then tried setting the framerate to "NTSC FILM (23.976) instead of the default NTSC (29.97) and it seems to have worked. Although the 1 minute test file I used didn't have spoken word in it to check lip-sync, the video and audio did seem to run the same time.

    You must, however, have 2.60 firmware on your PSP to use NTSC FILM framerates.

    I've noticed that whilst the encoding is taking place, a "video.mp4" is produced first followed by an "audio.mp4" which are then wrapped or joined together at the end to form one .MP4 file.

    It seems that when using the NTSC (29.97) setting, the audio may be being encoded at, say, 23.976 instead.

    Just a guess...

  6. Member
    Join Date
    Dec 2005
    Location
    Netherlands
    Search Comp PM
    I totally forgot to mention this... It plays this fast as well when playing it on the computer... I tried changing the framerate but it didn't have any effect on the playback speed though...

    In any case, Quicktime doesn't seem to be able to handle it properly... That is when cancelling the process though (when VLC can play it)... QT handles it as if it were an audio file (but it doesn't playback any audio, because that hasn't been encoded yet)...

    I'll encode a file without cancelling it first now, too see if QT can play that...

    EDIT: Encoding done... It does play in QT now... Still too fast... The video is done playing at 6m55s... The total length of the file is 23m19s... From 7 minutes the video is all white.... The audio does play until the end.

  7. Member
    Join Date
    Dec 2005
    Location
    Netherlands
    Search Comp PM
    I really don't understand it one bit.. I even tried it on another computer and it had the same problem there! I tried it with another source file there created with ffmpegx and that does playback correctly, but when loading it on my PSP it tells me the format is unrecognized... Eh?

  8. Member
    Join Date
    Jan 2005
    Location
    United States
    Search Comp PM
    Like Smithers, I have good results with video when changing to NTSC film. By the end of each video though, the audio is badly out of sync. The input is a single VOB from MTR. Any suggestions on the audio sync, Major?
    Sometimes the light at the end of the tunnel is a train.

  9. Member
    Join Date
    Dec 2005
    Location
    Netherlands
    Search Comp PM
    Okay, the sitaution with me now is that I can actually encode earlier encoded files with ffmpegx (to mencoder divx), correctly now to the PSP h264 format.. This only works if I set it to the same framerate as the source though...

    With this I found a work-around for the files I'm not able to encode properly... I'm just re-encoding them with ffmpegX first with high bitrates for minimal quality loss... Tried it out and it seems to be working... It's not really optimal but it should do for now.. Major, you think you could do something with the source, too see if it really is the source's problem?

  10. Member
    Join Date
    Feb 2006
    Location
    United Kingdom
    Search Comp PM
    I also found I have the exact same problem, video too fast and white frames for half my film. I'm rencoding PAL stuff as my dvds are european so keeping the same framerate isnt really an option.

  11. Member
    Join Date
    Mar 2006
    Location
    U.S.A.
    Search Comp PM
    I've found that, when encoding AVI's to PSP h.264, the video output plays too fast but the audio plays normally. However, when I trim the last second of the video file in Quicktime and save it as a mov, converting it using the PSP h.264 option converts fine, video and audio both play at normal speed.

  12. Just to be clear, right now the easiest thing to do is to make a manual change to be sure the frame rates are the same?

    Edit: After trying - its better but the video is still a bit faster than the audio.




Similar Threads

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