[FFmpeg-trac] #1686(documentation:new): Dataloss because ffmpeg manpage about -passlogfile is wrong

FFmpeg trac at avcodec.org
Wed Aug 29 22:45:55 CEST 2012


#1686: Dataloss because ffmpeg manpage about -passlogfile is wrong
-------------------------------------+-------------------------------------
             Reporter:  jonb         |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  minor        |                Component:
              Version:  0.7.13       |  documentation
             Keywords:  passlogfile  |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by jonb):

 jonbendtsen at media:/jon_compiles_ffmpeg/ffmpeg$ ./configure --enable-gpl
 --enable-libx264
 ERROR: libx264 not found

 If you think configure made a mistake, make sure you are using the latest
 version from Git.  If the latest version fails, report the problem to the
 ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
 Include the log file "config.log" produced by configure as this will help
 solving the problem.

 installing the debian package now.

 okay, so it compiled, but the same cmdlines doesnt work.

 jonbendtsen at media:/jon_compiles_ffmpeg/ffmpeg/overwritetest$ cat
 ffmpeg_cmdlines.sh
 ls -la
 ../ffmpeg -i 00000.MTS -vcodec libx264 -acodec copy -filter:v yadif -b:v
 1000000 -r 25 -s 1440x1080 -pass 1 -an -passlogfile 00000.MTS -f rawvideo
 -y /dev/null
 ls -la
 ../ffmpeg -i 00000.MTS -vcodec libx264 -acodec copy -filter:v yadif -b:v
 1000000 -r 25 -s 1440x1080 -pass 2 -an -passlogfile 00000.MTS -f rawvideo
 -y /dev/null
 ls -la
 ../ffmpeg -i 00000.MTS -vcodec libx264 -acodec copy -filter:v yadif -b:v
 1000000 -r 25 -s 1440x1080 -pass 3 -passlogfile 00000.MTS
 00000.MTS.ss438.h264

 that does not overwrite any files, but now there is another problem: No
 sound?

 jonbendtsen at media:/jon_compiles_ffmpeg/ffmpeg/overwritetest$ ffmpeg -i
 *.h264
 ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers
   built on Jun 13 2012 14:14:09 with gcc 4.4.5
   configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g
 ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl
 --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid
 --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter
 --enable-libdirac --disable-decoder=libdirac --enable-libfreetype
 --enable-libschroedinger --disable-encoder=libschroedinger --enable-
 version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-
 libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6
 --disable-vis
   libavutil    50. 43. 0 / 50. 43. 0
   libavcodec   52.123. 0 / 52.123. 0
   libavformat  52.111. 0 / 52.111. 0
   libavdevice  52.  5. 0 / 52.  5. 0
   libavfilter   1. 80. 0 /  1. 80. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
 [h264 @ 0x24ed2e0] max_analyze_duration 5000000 reached at 5000000
 [h264 @ 0x24ed2e0] Estimating duration from bitrate, this may be
 inaccurate

 Seems stream 0 codec frame rate differs from container frame rate: 50.00
 (50/1) -> 25.00 (50/2)
 Input #0, h264, from '00000.MTS.ss438.h264':
   Duration: N/A, bitrate: N/A
     Stream #0.0: Video: h264 (High), yuv420p, 1440x1080 [PAR 4:3 DAR
 16:9], 25 fps, 25 tbr, 1200k tbn, 50 tbc
 At least one output file must be specified

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


More information about the FFmpeg-trac mailing list