#3537: Wrong duration of some WMV to MP4 file or wrong meta data with ffmpeg 2.1 and 2.2, but ok with 1.2 and old -------------------------------------+------------------------------------- Reporter: vikigns | Owner: Type: defect | Status: new Priority: important | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+-------------------------------------
Comment (by cehoyos): I tested the following command line: {{{ $ ffmpeg -ss 10 -i 1280.wmv -vcodec mpeg4 -strict -2 -acodec aac -t 29 -qscale 2 -s 640:360 out.mp4 }}} FFmpeg, MPlayer and vlc all report the length of the output file as 29 seconds. How can I reproduce the problem? {{{ $ ffmpeg -i out.mp4 ffmpeg version N-62246-g02497a5 Copyright (c) 2000-2014 the FFmpeg developers built on Apr 7 2014 12:19:24 with gcc 4.7 (SUSE Linux) configuration: --enable-gpl libavutil 52. 74.100 / 52. 74.100 libavcodec 55. 58.102 / 55. 58.102 libavformat 55. 36.102 / 55. 36.102 libavdevice 55. 11.100 / 55. 11.100 libavfilter 4. 3.100 / 4. 3.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf55.36.102 Duration: 00:00:29.02, start: 0.023220, bitrate: 2954 kb/s Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 2821 kb/s, 30 fps, 30 tbr, 15360 tbn, 30 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name : SoundHandler At least one output file must be specified }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/3537#comment:10> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac