[Libav-user] Seeking encoded video (.avi)

praks411 praks411 at gmail.com
Thu Apr 11 14:08:55 CEST 2013


Please the output of ffmpeg -i 
The output file is perfect. It is working in both windows and vlc and
seeking is also fixed.
So is this related to pts and dts setting? I still don't get what I'm
missing in my code.

in>ffmpeg.exe -i output.avi new_output.avi
ffmpeg version N-51511-g599866f Copyright (c) 2000-2013 the FFmpeg
developers
  built on Apr  1 2013 12:44:46 with gcc 4.8.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libg
sm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb
--enable-libo
pencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-li
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-lib
twolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enabl
e-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 24.100 / 52. 24.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  1.100 / 55.  1.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 48.105 /  3. 48.105
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, avi, from 'output.avi':
  Metadata:
    encoder         : Lavf54.20.3
  Duration: 00:05:13.89, start: 0.000000, bitrate: 317 kb/s
    Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p, 320x130
[SAR 1
:1 DAR 32:13], 48 fps, 24 tbr, 48 tbn, 48 tbc
    Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz, mono, fltp,
56
kb/s
Output #0, avi, to 'new_output.avi':
  Metadata:
    ISFT            : Lavf55.1.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x130 [SAR 1:1
DAR
 32:13], q=2-31, 200 kb/s, 24 tbn, 24 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
  Stream #0:1 -> #0:1 (aac -> libmp3lame)
Press [q] to stop, [?] for help
frame=  418 fps=0.0 q=4.3 size=     712kB time=00:00:17.42 bitrate=
334.6kbits/s
frame=  854 fps=853 q=10.2 size=    1353kB time=00:00:35.60 bitrate=
311.2kbits/
frame= 1305 fps=869 q=9.6 size=    1983kB time=00:00:54.41 bitrate=
298.5kbits/s
frame= 1751 fps=875 q=12.5 size=    2592kB time=00:01:12.98 bitrate=
291.0kbits/
frame= 2203 fps=881 q=12.7 size=    3226kB time=00:01:31.79 bitrate=
287.9kbits/
frame= 2660 fps=886 q=8.2 size=    3812kB time=00:01:50.83 bitrate=
281.7kbits/s
frame= 3111 fps=889 q=8.7 size=    4380kB time=00:02:09.64 bitrate=
276.7kbits/s
frame= 3559 fps=889 q=12.0 size=    4998kB time=00:02:28.32 bitrate=
276.0kbits/
frame= 4013 fps=892 q=10.7 size=    5647kB time=00:02:47.23 bitrate=
276.6kbits/
frame= 4469 fps=894 q=6.1 size=    6258kB time=00:03:06.22 bitrate=
275.3kbits/s
frame= 4921 fps=895 q=10.3 size=    6885kB time=00:03:25.08 bitrate=
275.0kbits/
frame= 5373 fps=895 q=9.9 size=    7484kB time=00:03:43.89 bitrate=
273.8kbits/s
frame= 5826 fps=896 q=7.0 size=    8103kB time=00:04:02.78 bitrate=
273.4kbits/s
frame= 6281 fps=897 q=7.3 size=    8714kB time=00:04:21.72 bitrate=
272.8kbits/s
frame= 6732 fps=897 q=5.6 size=    9329kB time=00:04:40.52 bitrate=
272.4kbits/s
frame= 7185 fps=898 q=8.0 size=    9944kB time=00:04:59.41 bitrate=
272.1kbits/s
frame= 7521 fps=900 q=2.8 Lsize=   10651kB time=00:05:13.88 bitrate=
278.0kbits/
s
video:7716kB audio:2452kB subtitle:0 global headers:0kB muxing overhead
4.748217
%

C:\vid_an2\ffmpeg-latest-win32-static\ffmpeg-20130401-git-599866f-win32-static\b
in>^A



--
View this message in context: http://libav-users.943685.n4.nabble.com/Seeking-encoded-video-avi-tp4657245p4657250.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list