[FFmpeg-trac] #3942(undetermined:new): misbehaviour of ``afade`` chained with ``amovie``

FFmpeg trac at avcodec.org
Thu Sep 11 20:34:41 CEST 2014


#3942: misbehaviour of ``afade`` chained with ``amovie``
-------------------------------------+-------------------------------------
             Reporter:  while0pass   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  amovie       |               Blocked By:
  afade                              |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 `afade=t=in...` chained with `amovie` changes nothing, `afade=t=out...`
 chained with `amovie` makes stream completely silient. Both issues seem
 valid only for `amovie` source and not for `-i` option source where
 everything is ok.

 {{{
 $ ffmpeg -y -filter_complex 'amovie=/home/nurono/Desktop/kmvso.mp3,
 atrim=start=0:end=10, afade=t=in:st=0:d=2' n1.mp3

 ffmpeg version N-40693-gf7bbe0f- http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2014 the FFmpeg developers
 built on Sep 9 2014 02:20:35 with gcc 4.8 (Debian 4.8.3-10)
 configuration: --enable-gpl --enable-version3 --disable-shared --disable-
 debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264
 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis
 --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-
 libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-
 gnutls --cc=gcc-4.8
 libavutil 54. 7.100 / 54. 7.100
 libavcodec 56. 1.100 / 56. 1.100
 libavformat 56. 4.101 / 56. 4.101
 libavdevice 56. 0.100 / 56. 0.100
 libavfilter 5. 1.100 / 5. 1.100
 libswscale 3. 0.100 / 3. 0.100
 libswresample 1. 1.100 / 1. 1.100
 libpostproc 53. 0.100 / 53. 0.100
 Output #0, mp3, to 'n1.mp3':
 Metadata:
 TSSE : Lavf56.4.101
 Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p (default)
 Metadata:
 encoder : Lavc56.1.100 libmp3lame
 Stream mapping:
 afade -> Stream #0:0 (libmp3lame)
 Press [q] to stop, [?] for help
 size= 157kB time=00:00:10.00 bitrate= 128.2kbits/s
 video:0kB audio:156kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.141181%



 $ ffmpeg -y -filter_complex 'amovie=/home/nurono/Desktop/kmvso.mp3,
 atrim=start=0:end=10, afade=t=in:st=0:d=2, afade=t=out:st=8:d=2' n2.mp3

 ffmpeg version N-40693-gf7bbe0f- http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2014 the FFmpeg developers
 built on Sep 9 2014 02:20:35 with gcc 4.8 (Debian 4.8.3-10)
 configuration: --enable-gpl --enable-version3 --disable-shared --disable-
 debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264
 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis
 --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-
 libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-
 gnutls --cc=gcc-4.8
 libavutil 54. 7.100 / 54. 7.100
 libavcodec 56. 1.100 / 56. 1.100
 libavformat 56. 4.101 / 56. 4.101
 libavdevice 56. 0.100 / 56. 0.100
 libavfilter 5. 1.100 / 5. 1.100
 libswscale 3. 0.100 / 3. 0.100
 libswresample 1. 1.100 / 1. 1.100
 libpostproc 53. 0.100 / 53. 0.100
 Output #0, mp3, to 'n2.mp3':
 Metadata:
 TSSE : Lavf56.4.101
 Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p (default)
 Metadata:
 encoder : Lavc56.1.100 libmp3lame
 Stream mapping:
 afade -> Stream #0:0 (libmp3lame)
 Press [q] to stop, [?] for help
 size= 157kB time=00:00:10.00 bitrate= 128.2kbits/s
 video:0kB audio:156kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.141181%



 $ ffmpeg -y -i /home/nurono/Desktop/kmvso.mp3 -filter_complex
 'atrim=start=0:end=10, afade=t=in:st=0:d=2, afade=t=out:st=8:d=2' n3.mp3

 ffmpeg version N-40693-gf7bbe0f- http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2014 the FFmpeg developers
 built on Sep 9 2014 02:20:35 with gcc 4.8 (Debian 4.8.3-10)
 configuration: --enable-gpl --enable-version3 --disable-shared --disable-
 debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264
 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis
 --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-
 libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-
 gnutls --cc=gcc-4.8
 libavutil 54. 7.100 / 54. 7.100
 libavcodec 56. 1.100 / 56. 1.100
 libavformat 56. 4.101 / 56. 4.101
 libavdevice 56. 0.100 / 56. 0.100
 libavfilter 5. 1.100 / 5. 1.100
 libswscale 3. 0.100 / 3. 0.100
 libswresample 1. 1.100 / 1. 1.100
 libpostproc 53. 0.100 / 53. 0.100
 Input #0, mp3, from '/home/nurono/Desktop/kmvso.mp3':
 Metadata:
 title : Warrior Concerto
 artist : The Glitch Mob
 track : /
 album : We Can Make The World Stop
 disc : /
 Duration: 00:03:39.74, start: 0.025056, bitrate: 325 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
 Metadata:
 encoder : LAME3.98r
 Side data:
 replaygain: track gain - -10.300000, track peak - unknown, album gain -
 unknown, album peak - unknown,
 Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg), 600x600 [SAR 1:1 DAR
 1:1], 90k tbr, 90k tbn, 90k tbc
 Metadata:
 title : Front cover
 comment : Cover (front)
 [swscaler @ 0x3cdc560] deprecated pixel format used, make sure you did set
 range correctly
 [mp3 @ 0x3cf0940] Frame rate very high for a muxer not efficiently
 supporting it.
 Please consider specifying a lower framerate, a different muxer or -vsync
 2
 Output #0, mp3, to 'n3.mp3':
 Metadata:
 TIT2 : Warrior Concerto
 TPE1 : The Glitch Mob
 TRCK : /
 TALB : We Can Make The World Stop
 TPOS : /
 TSSE : Lavf56.4.101
 Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p
 Metadata:
 encoder : Lavc56.1.100 libmp3lame
 Stream #0:1: Video: png, rgb24, 600x600 [SAR 1:1 DAR 1:1], q=2-31, 200
 kb/s, 90k fps, 90k tbn, 90k tbc
 Metadata:
 title : Front cover
 comment : Cover (front)
 encoder : Lavc56.1.100 png
 Stream mapping:
 Stream #0:0 (mp3) -> atrim (graph 0)
 afade (graph 0) -> Stream #0:0 (libmp3lame)
 Stream #0:1 -> #0:1 (mjpeg (native) -> png (native))
 Press [q] to stop, [?] for help
 frame= 1 fps=0.9 q=0.0 Lsize= 946kB time=00:00:10.00 bitrate= 774.3kbits/s
 video:789kB audio:157kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.039045%


 $ mplayer n1.mp3
 $ # my comments: only atrim applied, no afade=t=in, sound is on and
 unchanged
 $
 $ mplayer n2.mp3
 $ # atrim applied, sound is totally off
 $
 $ mplayer n3.mp3
 $ # all the filters applied as expected
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3942>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list