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

FFmpeg trac at avcodec.org
Thu Aug 16 17:36:48 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):

 I just tried (added -an):

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

 And the output flash duration was the same as input!

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

 {{{
 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 --enable-libass -
 -enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
 --enable-libopenj
 peg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-
 amrwbenc --enable-li
 bvorbis --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:09.96, start: 0.000000, bitrate: 1281 kb/s
     Stream #0:0: Video: flv1, yuv420p, 1280x720, 200 kb/s, 25 tbr, 1k tbn,
 1k tbc
 [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.000000
 duration=N/A
 bit_rate=200000
 nb_frames=N/A
 nb_read_frames=N/A
 nb_read_packets=N/A
 [/STREAM]
 }}}

 From ffmpeg documentation I can read:

 {{{
 ‘-an (output)’
 Disable audio recording.
 }}}

 To be honest, I don't understand that, but is that the solution to my
 problem?

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


More information about the FFmpeg-trac mailing list