[FFmpeg-trac] #1621(undetermined:new): Converted flash video has longer duration than the source

FFmpeg trac at avcodec.org
Thu Aug 16 10:04:22 CEST 2012


#1621: Converted flash video has longer duration than the source
-------------------------------------+-------------------------------------
             Reporter:  agowad       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by agowad):

 Hello

 I have used instructions from following article to build ffmpeg under
 windows:
 [http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-
 mingw/]
 However, after running make I received a few errors. Therefore, I have
 great request to you - Could you please try to test it on your development
 machine or point me to some tutorial that may work?

 Unfortunately, the media file I used initially (Dolphins_720.wmv) is 72MB,
 therefore, I have chosen different, smaller one
 (fishermans_friendCD_720_xvid.avi). I will add it as attachment to this
 ticket. Below I put outputs of previously requested commands.

 * COMMAND

 {{{
 ffmpeg.exe -i "fishermans_friendCD_720_xvid.avi" -ar 44100
 "fishermans_friendCD_720_xvid_TMP.flv"
 }}}

 * OUTPUT

 {{{
 ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-
 frei0r --ena
 ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame
 --enable-li
 bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-
 aacenc --e
 nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      51. 66.100 / 51. 66.100
   libavcodec     54. 49.100 / 54. 49.100
   libavformat    54. 22.100 / 54. 22.100
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3.  5.102 /  3.  5.102
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, avi, from 'fishermans_friendCD_720_xvid.avi':
   Metadata:
     encoder         : MEncoder Sherpya-SVN-r32492-4.2.5
   Duration: 00:00:09.96, start: 0.000000, bitrate: 1090 kb/s
     Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658),
 yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16,
 128 kb/s
 Output #0, flv, to 'fishermans_friendCD_720_xvid_TMP.flv':
   Metadata:
     encoder         : Lavf54.22.100
     Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 1280x720
 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 1k tbn, 25 tbc
     Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 -> flv)
   Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
 Press [q] to stop, [?] for help
 frame=  247 fps= 84 q=31.0 Lsize=    1720kB time=00:00:09.95
 bitrate=1415.8kbits/s
 video:1554kB audio:156kB subtitle:0 global headers:0kB muxing overhead
 0.593016%
 }}}

 * COMMAND

 {{{
 ffprobe.exe -show_streams fishermans_friendCD_720_xvid.avi
 }}}

 * OUTPUT

 {{{
 ffprobe version N-43594-gf0896a6 Copyright (c) 2007-2012 the FFmpeg
 developers
   built on Aug 15 2012 21:25:48 with gcc 4.7.1 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-pthreads
 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-
 frei0r --enabl
 e-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-
 libn
 ut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-
 aacenc --ena
 ble-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      51. 69.100 / 51. 69.100
   libavcodec     54. 52.100 / 54. 52.100
   libavformat    54. 23.101 / 54. 23.101
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3.  9.100 /  3.  9.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, avi, from 'fishermans_friendCD_720_xvid.avi':
   Metadata:
     encoder         : MEncoder Sherpya-SVN-r32492-4.2.5
   Duration: 00:00:09.96, start: 0.000000, bitrate: 1090 kb/s
     Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658),
 yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16,
 128 kb/s
 [STREAM]
 index=0
 codec_name=mpeg4
 codec_long_name=MPEG-4 part 2
 profile=Simple Profile
 codec_type=video
 codec_time_base=1/25
 codec_tag_string=XVID
 codec_tag=0x44495658
 width=1280
 height=720
 has_b_frames=0
 sample_aspect_ratio=1:1
 display_aspect_ratio=16:9
 pix_fmt=yuv420p
 level=3
 timecode=N/A
 quarter_sample=0
 divx_packed=0
 id=N/A
 r_frame_rate=25/1
 avg_frame_rate=0/0
 time_base=1/25
 start_time=0.000000
 duration=9.960000
 bit_rate=N/A
 nb_frames=249
 nb_read_frames=N/A
 nb_read_packets=N/A
 [/STREAM]
 [STREAM]
 index=1
 codec_name=mp3
 codec_long_name=MP3 (MPEG audio layer 3)
 profile=unknown
 codec_type=audio
 codec_time_base=1/44100
 codec_tag_string=U[0][0][0]
 codec_tag=0x0055
 sample_fmt=s16
 sample_rate=44100
 channels=2
 bits_per_sample=0
 id=N/A
 r_frame_rate=0/0
 avg_frame_rate=0/0
 time_base=32/1225
 start_time=0.000000
 duration=9.952653
 bit_rate=128000
 nb_frames=381
 nb_read_frames=N/A
 nb_read_packets=N/A
 [/STREAM]
 }}}

 * COMMAND

 {{{
 ffprobe.exe -show_streams fishermans_friendCD_720_xvid_TMP.flv
 }}}

 * OUTPUT

 {{{
 ffprobe version N-43594-gf0896a6 Copyright (c) 2007-2012 the FFmpeg
 developers
   built on Aug 15 2012 21:25:48 with gcc 4.7.1 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-pthreads
 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-
 frei0r --enabl
 e-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-
 libn
 ut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-
 aacenc --ena
 ble-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      51. 69.100 / 51. 69.100
   libavcodec     54. 52.100 / 54. 52.100
   libavformat    54. 23.101 / 54. 23.101
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3.  9.100 /  3.  9.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, flv, from 'fishermans_friendCD_720_xvid_TMP.flv':
   Metadata:
     encoder         : Lavf54.22.100
   Duration: 00:00:11.07, start: 0.000000, bitrate: 1272 kb/s
     Stream #0:0: Video: flv1, yuv420p, 1280x720, 200 kb/s, 25 tbr, 1k tbn,
 1k tbc
     Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
 [STREAM]
 index=0
 codec_name=flv
 codec_long_name=FLV / Sorenson Spark / Sorenson H.263 (Flash Video)
 profile=unknown
 codec_type=video
 codec_time_base=1/1000
 codec_tag_string=[0][0][0][0]
 codec_tag=0x0000
 width=1280
 height=720
 has_b_frames=0
 sample_aspect_ratio=0:1
 display_aspect_ratio=0:1
 pix_fmt=yuv420p
 level=-99
 timecode=N/A
 id=N/A
 r_frame_rate=25/1
 avg_frame_rate=0/0
 time_base=1/1000
 start_time=0.025000
 duration=N/A
 bit_rate=200000
 nb_frames=N/A
 nb_read_frames=N/A
 nb_read_packets=N/A
 [/STREAM]
 [STREAM]
 index=1
 codec_name=mp3
 codec_long_name=MP3 (MPEG audio layer 3)
 profile=unknown
 codec_type=audio
 codec_time_base=1/44100
 codec_tag_string=[0][0][0][0]
 codec_tag=0x0000
 sample_fmt=s16
 sample_rate=44100
 channels=2
 bits_per_sample=0
 id=N/A
 r_frame_rate=0/0
 avg_frame_rate=0/0
 time_base=1/1000
 start_time=0.000000
 duration=N/A
 bit_rate=128000
 nb_frames=N/A
 nb_read_frames=N/A
 nb_read_packets=N/A
 [/STREAM]
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1621#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list