Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#16 no sound with 2pass encoding + other bug

v1.0_(example)
closed
nobody
None
1
2015-04-08
2014-02-12
Anonymous
No

1)
try this
input avi clip with xvid, mp3 codec

set ouput:
ffmpeg 2pass h264, aac codec

this will produce a mp4 file with h264 codec but no sound

2)
when changing profile the apply button doesn't refresh the option summary:

3)
if export to script is enable, press encode will crash the application so
is not possible to generate script file

Discussion

  • ozok
    ozok
    2014-02-13

    Hi,

    I cannot reproduce the first problem. Please post the encoder log.

    I've fixed other two.

     

    • Anonymous
      2014-02-13

      is the fix included in the latest release ???

      you can download test clips here -> http://sdrv.ms/1cyECFS

      I think the itsoffset option is deprecated in the latest ffmpeg ...
      not sure, check ffmpeg documentation

      here is encoder log:
      Encoder Log 1
      -y -ss 00:00:00 -t 00:02:06 -threads 2 -i "Z:\Trash\recursive\original_test_clip.avi" -pass 1 -passlogfile "Z:\Tencoder\original_test_clip.log" -vcodec libx264 -b:v 600000 -profile:v high -preset fast -level 4 -f mp4 -an "Z:\Trash\recursive\original_test_clip.mp4"
      -y -ss 00:00:00 -t 00:02:06 -threads 2 -itsoffset 0 -i "Z:\Trash\recursive\original_test_clip.avi" -pass 2 -passlogfile "Z:\Tencoder\original_test_clip.log" -vcodec libx264 -b:v 600000 -profile:v high -preset fast -level 4 -f mp4 -map 0:0 -itsoffset 0 -map 0:1 -strict experimental -acodec aac -ab 64k -ac 2 "Z:\Trash\recursive\original_test_clip.mp4"

      ffmpeg version N-60456-g4040b56 Copyright (c) 2000-2014 the FFmpeg developers
      built on Feb 8 2014 22:04:09 with gcc 4.8.2 (GCC)
      configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
      libavutil 52. 63.101 / 52. 63.101
      libavcodec 55. 50.100 / 55. 50.100
      libavformat 55. 30.100 / 55. 30.100
      libavdevice 55. 7.100 / 55. 7.100
      libavfilter 4. 1.102 / 4. 1.102
      libswscale 2. 5.101 / 2. 5.101
      libswresample 0. 17.104 / 0. 17.104
      libpostproc 52. 3.100 / 52. 3.100
      [avi @ 00766600] non-interleaved AVI
      Input #0, avi, from 'Z:\Trash\recursive\original_test_clip.avi':
      Metadata:
      encoder :
      Duration: 00:01:16.15, start: 0.000000, bitrate: 789 kb/s
      Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x404 [SAR 1:1 DAR 180:101], 25 tbr, 25 tbn, 25 tbc
      Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
      [libx264 @ 006756e0] using SAR=1/1
      [libx264 @ 006756e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
      [libx264 @ 006756e0] profile Main, level 4.0
      [libx264 @ 006756e0] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1 bitrate=600 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
      Output #0, mp4, to 'Z:\Trash\recursive\original_test_clip.mp4':
      Metadata:
      encoder : Lavf55.30.100
      Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x404 [SAR 1:1 DAR 180:101], q=-1--1, pass 1, 600 kb/s, 12800 tbn, 25 tbc
      Stream mapping:
      Stream #0:0 -> #0:0 (mpeg4 -> libx264)
      Press [q] to stop, [?] for help
      frame= 1904 fps= 29 q=-1.0 Lsize= 5281kB time=00:01:16.08 bitrate= 568.6kbits/s
      video:5258kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.429264%
      [libx264 @ 006756e0] frame I:29 Avg QP:19.86 size: 30079
      [libx264 @ 006756e0] frame P:675 Avg QP:24.33 size: 5384
      [libx264 @ 006756e0] frame B:1200 Avg QP:28.09 size: 731
      [libx264 @ 006756e0] consecutive B-frames: 8.2% 16.7% 19.9% 55.3%
      [libx264 @ 006756e0] mb I I16..4: 17.7% 0.0% 82.3%
      [libx264 @ 006756e0] mb P I16..4: 9.0% 0.0% 0.0% P16..4: 65.3% 0.0% 0.0% 0.0% 0.0% skip:25.7%
      [libx264 @ 006756e0] mb B I16..4: 0.9% 0.0% 0.0% B16..8: 15.2% 0.0% 0.0% direct: 2.8% skip:81.1% L0:33.1% L1:47.5% BI:19.4%
      [libx264 @ 006756e0] final ratefactor: 23.36
      [libx264 @ 006756e0] coded y,uvDC,uvAC intra: 41.8% 65.4% 21.4% inter: 8.6% 9.1% 0.7%
      [libx264 @ 006756e0] i16 v,h,dc,p: 38% 29% 25% 9%
      [libx264 @ 006756e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 23% 11% 5% 5% 6% 5% 5% 5%
      [libx264 @ 006756e0] i8c dc,h,v,p: 45% 25% 24% 5%
      [libx264 @ 006756e0] Weighted P-Frames: Y:1.2% UV:0.7%
      [libx264 @ 006756e0] kb/s:565.50

      ffmpeg version N-60456-g4040b56 Copyright (c) 2000-2014 the FFmpeg developers
      built on Feb 8 2014 22:04:09 with gcc 4.8.2 (GCC)
      configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
      libavutil 52. 63.101 / 52. 63.101
      libavcodec 55. 50.100 / 55. 50.100
      libavformat 55. 30.100 / 55. 30.100
      libavdevice 55. 7.100 / 55. 7.100
      libavfilter 4. 1.102 / 4. 1.102
      libswscale 2. 5.101 / 2. 5.101
      libswresample 0. 17.104 / 0. 17.104
      libpostproc 52. 3.100 / 52. 3.100
      [avi @ 003966c0] non-interleaved AVI
      Input #0, avi, from 'Z:\Trash\recursive\original_test_clip.avi':
      Metadata:
      encoder :
      Duration: 00:01:16.15, start: 0.000000, bitrate: 789 kb/s
      Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x404 [SAR 1:1 DAR 180:101], 25 tbr, 25 tbn, 25 tbc
      Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
      Option itsoffset (set the input ts offset) cannot be applied to output file Z:\Trash\recursive\original_test_clip.mp4 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
      Error parsing options for output file Z:\Trash\recursive\original_test_clip.mp4.
      Error opening output files: Error number -22 occurred

       

  • Anonymous
    2014-02-13

    you can download the test clip here -> http://sdrv.ms/1cyECFS

    I think the itsoffset option is deprecate in the latest ffmpeg ....

    not sure, check ffmpeg documentation ...........

    here is the encoder log:

    Encoder Log 1
    -y -ss 00:00:00 -t 00:02:06 -threads 2 -i "Z:\Trash\recursive\original_test_clip.avi" -pass 1 -passlogfile "Z:\Tencoder\original_test_clip.log" -vcodec libx264 -b:v 600000 -profile:v high -preset fast -level 4 -f mp4 -an "Z:\Trash\recursive\original_test_clip.mp4"
    -y -ss 00:00:00 -t 00:02:06 -threads 2 -itsoffset 0 -i "Z:\Trash\recursive\original_test_clip.avi" -pass 2 -passlogfile "Z:\Tencoder\original_test_clip.log" -vcodec libx264 -b:v 600000 -profile:v high -preset fast -level 4 -f mp4 -map 0:0 -itsoffset 0 -map 0:1 -strict experimental -acodec aac -ab 64k -ac 2 "Z:\Trash\recursive\original_test_clip.mp4"

    ffmpeg version N-60456-g4040b56 Copyright (c) 2000-2014 the FFmpeg developers
    built on Feb 8 2014 22:04:09 with gcc 4.8.2 (GCC)
    configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 52. 63.101 / 52. 63.101
    libavcodec 55. 50.100 / 55. 50.100
    libavformat 55. 30.100 / 55. 30.100
    libavdevice 55. 7.100 / 55. 7.100
    libavfilter 4. 1.102 / 4. 1.102
    libswscale 2. 5.101 / 2. 5.101
    libswresample 0. 17.104 / 0. 17.104
    libpostproc 52. 3.100 / 52. 3.100
    [avi @ 00766600] non-interleaved AVI
    Input #0, avi, from 'Z:\Trash\recursive\original_test_clip.avi':
    Metadata:
    encoder :
    Duration: 00:01:16.15, start: 0.000000, bitrate: 789 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x404 [SAR 1:1 DAR 180:101], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
    [libx264 @ 006756e0] using SAR=1/1
    [libx264 @ 006756e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
    [libx264 @ 006756e0] profile Main, level 4.0
    [libx264 @ 006756e0] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1 bitrate=600 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'Z:\Trash\recursive\original_test_clip.mp4':
    Metadata:
    encoder : Lavf55.30.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x404 [SAR 1:1 DAR 180:101], q=-1--1, pass 1, 600 kb/s, 12800 tbn, 25 tbc
    Stream mapping:
    Stream #0:0 -> #0:0 (mpeg4 -> libx264)
    Press [q] to stop, [?] for help
    frame= 1904 fps= 29 q=-1.0 Lsize= 5281kB time=00:01:16.08 bitrate= 568.6kbits/s
    video:5258kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.429264%
    [libx264 @ 006756e0] frame I:29 Avg QP:19.86 size: 30079
    [libx264 @ 006756e0] frame P:675 Avg QP:24.33 size: 5384
    [libx264 @ 006756e0] frame B:1200 Avg QP:28.09 size: 731
    [libx264 @ 006756e0] consecutive B-frames: 8.2% 16.7% 19.9% 55.3%
    [libx264 @ 006756e0] mb I I16..4: 17.7% 0.0% 82.3%
    [libx264 @ 006756e0] mb P I16..4: 9.0% 0.0% 0.0% P16..4: 65.3% 0.0% 0.0% 0.0% 0.0% skip:25.7%
    [libx264 @ 006756e0] mb B I16..4: 0.9% 0.0% 0.0% B16..8: 15.2% 0.0% 0.0% direct: 2.8% skip:81.1% L0:33.1% L1:47.5% BI:19.4%
    [libx264 @ 006756e0] final ratefactor: 23.36
    [libx264 @ 006756e0] coded y,uvDC,uvAC intra: 41.8% 65.4% 21.4% inter: 8.6% 9.1% 0.7%
    [libx264 @ 006756e0] i16 v,h,dc,p: 38% 29% 25% 9%
    [libx264 @ 006756e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 23% 11% 5% 5% 6% 5% 5% 5%
    [libx264 @ 006756e0] i8c dc,h,v,p: 45% 25% 24% 5%
    [libx264 @ 006756e0] Weighted P-Frames: Y:1.2% UV:0.7%
    [libx264 @ 006756e0] kb/s:565.50

    ffmpeg version N-60456-g4040b56 Copyright (c) 2000-2014 the FFmpeg developers
    built on Feb 8 2014 22:04:09 with gcc 4.8.2 (GCC)
    configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 52. 63.101 / 52. 63.101
    libavcodec 55. 50.100 / 55. 50.100
    libavformat 55. 30.100 / 55. 30.100
    libavdevice 55. 7.100 / 55. 7.100
    libavfilter 4. 1.102 / 4. 1.102
    libswscale 2. 5.101 / 2. 5.101
    libswresample 0. 17.104 / 0. 17.104
    libpostproc 52. 3.100 / 52. 3.100
    [avi @ 003966c0] non-interleaved AVI
    Input #0, avi, from 'Z:\Trash\recursive\original_test_clip.avi':
    Metadata:
    encoder :
    Duration: 00:01:16.15, start: 0.000000, bitrate: 789 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x404 [SAR 1:1 DAR 180:101], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
    Option itsoffset (set the input ts offset) cannot be applied to output file Z:\Trash\recursive\original_test_clip.mp4 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
    Error parsing options for output file Z:\Trash\recursive\original_test_clip.mp4.
    Error opening output files: Error number -22 occurred

     

  • Anonymous
    2014-04-09

    I updated to the latest version of ffmpeg to do 2-pass encodings for some old tv shows i had around with 640x480 resolution, used the trim editor to strip one down to just the opening titles, and surprise surprise, no sound. Re-installed TEncoder and this time didn't upgrade FFmpeg, and the problem didn't repeat itself.

     
  • ozok
    ozok
    2014-04-22

    Audio stream in the file isn't recognized by TEncoder somehow.

     
  • ozok
    ozok
    2014-04-23

    This problem should be solved in 3.9.0.

     

  • Anonymous
    2015-04-08

    Post awaiting moderation.


Anonymous


Cancel   Add attachments