problems w/ frame rate on mpeg2 interlaced source

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

problems w/ frame rate on mpeg2 interlaced source

Nicholas Tung
Hi all,

   ffmpeg seems to encode video with half the frame rate on a mpeg 2 source
(~10 sec hi-def clip from PBS), although ffplay works flawlessly. Does
anyone know why this is? I can somewhat correct it with yuv4mpegpipe and
yuvfps, but it seems desynchronized. I'm not sure if any of it is lag with
ffplay either...I have a core 2 e4300 so it shouldn't be slow.

   I tried -deinterlace, and also "-r" (both before and after the "-i
filename"). I am using opensuse 10.3.

Thanks,
Nicholas

gatoatigrado@oliver:~/Desktop/video> ffplay -stats Maui.mpg
FFplay version SVN-r11889, Copyright (c) 2003-2008 Fabrice Bellard, et al.
  configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man
--libdir=/usr/lib --enable-shared --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libfaad --enable-libfaac --enable-libxvid
--enable-liba52 --enable-swscaler --enable-pp --enable-gpl --enable-vhook
--enable-x11grab --enable-libgsm --enable-libx264 --enable-libamr-nb
--enable-libamr-wb --enable-libdc1394 --enable-nonfree --enable-pthreads
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Feb  9 2008 21:28:04, gcc: 4.2.1 (SUSE Linux)
Input #0, mpeg, from 'Maui.mpg': 0KB vq=    0KB sq=    0B
  Duration: 00:00:10.6, start: 0.128000, bitrate: 11434 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR
16:9], 90000 kb/s, 29.97 tb(r)
    Stream #0.1[0x80]: Audio: liba52, 48000 Hz, 5:1, 384 kb/s
No accelerated IMDCT transform found
[mpeg2video @ 0xb7e062f0]ac-tex damaged at 92 15 0B
[mpeg2video @ 0xb7e062f0]Warning MVs not available
[mpeg2video @ 0xb7e062f0]concealing 6340 DC, 6340 AC, 6340 MV errors
  10.14 A-V: -5.113 aq=    0KB vq=    0KB sq=    0B

gatoatigrado@oliver:~/Desktop/video> ffmpeg -an -i Maui.mpg -s 710x400
maui.mp4
FFmpeg version SVN-r11889, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man
--libdir=/usr/lib --enable-shared --enable-libmp3lame --enable-libvorbis
--enable-libtheora --enable-libfaad --enable-libfaac --enable-libxvid
--enable-liba52 --enable-swscaler --enable-pp --enable-gpl --enable-vhook
--enable-x11grab --enable-libgsm --enable-libx264 --enable-libamr-nb
--enable-libamr-wb --enable-libdc1394 --enable-nonfree --enable-pthreads
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Feb  9 2008 21:28:04, gcc: 4.2.1 (SUSE Linux)
Input #0, mpeg, from 'Maui.mpg':
  Duration: 00:00:10.6, start: 0.128000, bitrate: 11434 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR
16:9], 90000 kb/s, 29.97 tb(r)
    Stream #0.1[0x80]: Audio: liba52, 48000 Hz, 5:1, 384 kb/s
File 'maui.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'maui.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 710x400 [PAR 1:1 DAR 71:40], q=2-31,
200 kb/s, 29.97 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[mpeg2video @ 0xb7d852f0]ac-tex damaged at 92 1519.3 bitrate= 351.0kbits/s
[mpeg2video @ 0xb7d852f0]Warning MVs not available
[mpeg2video @ 0xb7d852f0]concealing 6340 DC, 6340 AC, 6340 MV errors
frame=  615 fps= 74 q=31.0 Lsize=     861kB time=20.5 bitrate= 343.7kbits/s
video:355kB audio:0kB global headers:0kB muxing overhead 142.388157%


--
http://ntung.com
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user