[FFmpeg-trac] #2111(FFmpeg:new): files made by ffmpeg cannot correctly be playbacked with panasonic hdd recoder.

FFmpeg trac at avcodec.org
Sat Jan 5 07:04:24 CET 2013


#2111: files made by ffmpeg cannot correctly be playbacked with panasonic hdd
recoder.
------------------------------------+----------------------------------
             Reporter:  bonconboy   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  important   |                Component:  FFmpeg
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------

Comment (by bonconboy):

 ffmpeg and handbrak consoles
 source is DmC: Devil May Cry - Mission 9 EXCLUSIVE Gameplay - Eurogamer
 http://www.youtube.com/watch?v=ArGgYqW5Ssk
 The difference I know is that ffmpeg uses Lavf54.59.100 as Writing library
 and handbrake does libmkv 0.6.5 as Writing library.

 I don't convert to x264 files by multiAVCHD because multiAVCHD is windows
 app and convert speed is very very slow on emulation app of MacOSX.

 I couldn't have attached input and output files in this modification
 because of size limit 2.5 MB.

 ffmpeg console
 {{{
 ffmpeg  -i input.mp4 -vf "fifo, scale= 720:480" -vcodec libx264 -aspect
 16:9 -r 29.97 -acodec ac3 -ac 2 -ar 48000 -ab 64000 -r 29.97
 output_ffmpeg.mkv
 ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
   configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-
 cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-
 cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl
 --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx
 --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-
 libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-
 libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid
 --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters
 --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray
 --enable-libopencore_amrwb --enable-libopencore_amrnb
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 85.100 / 54. 85.100
   libavformat    54. 59.100 / 54. 59.100
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 30.102 /  3. 30.102
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     creation_time   : 2013-01-02 11:53:23
   Duration: 00:04:11.16, start: 0.000000, bitrate: 5772 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
 1920x1080, 5578 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc
     Metadata:
       creation_time   : 1970-01-01 00:00:00
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 192 kb/s
     Metadata:
       creation_time   : 2013-01-02 11:53:24
       handler_name    : IsoMedia File Produced by Google, 5-11-2011
 [libx264 @ 0x102873000] using SAR=32/27
 [libx264 @ 0x102873000] using cpu capabilities: MMX2 SSE2Fast SSSE3
 FastShuffle SSE4.2 AVX
 [libx264 @ 0x102873000] profile High, level 3.0
 [libx264 @ 0x102873000] 264 - core 129 - H.264/MPEG-4 AVC codec - Copyleft
 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0
 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12
 lookahead_threads=2 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=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, matroska, to 'output_ffmpeg.mkv':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     encoder         : Lavf54.59.100
     Stream #0:0(und): Video: h264, yuv420p, 720x480 [SAR 32:27 DAR 16:9],
 q=-1--1, 1k tbn, 29.97 tbc
     Metadata:
       creation_time   : 1970-01-01 00:00:00
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: ac3, 48000 Hz, stereo, fltp, 64 kb/s
     Metadata:
       creation_time   : 2013-01-02 11:53:24
       handler_name    : IsoMedia File Produced by Google, 5-11-2011
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> libx264)
   Stream #0:1 -> #0:1 (aac -> ac3)
 Press [q] to stop, [?] for help
 frame= 6279 fps= 79 q=-1.0 Lsize=   45017kB time=00:04:11.16
 bitrate=1468.3kbits/s
 video:42954kB audio:1962kB subtitle:0 global headers:0kB muxing overhead
 0.222606%
 [libx264 @ 0x102873000] frame I:55    Avg QP:22.00  size: 28966
 [libx264 @ 0x102873000] frame P:3319  Avg QP:25.17  size: 10161
 [libx264 @ 0x102873000] frame B:2905  Avg QP:27.50  size:  2984
 [libx264 @ 0x102873000] consecutive B-frames: 19.0% 53.2% 13.9% 13.9%
 [libx264 @ 0x102873000] mb I  I16..4:  8.9% 65.0% 26.1%
 [libx264 @ 0x102873000] mb P  I16..4:  2.8% 11.4%  2.8%  P16..4: 39.0%
 20.7%  9.5%  0.0%  0.0%    skip:13.8%
 [libx264 @ 0x102873000] mb B  I16..4:  0.2%  0.7%  0.4%  B16..8: 38.8%
 8.6%  2.0%  direct: 2.9%  skip:46.3%  L0:36.6% L1:56.2% BI: 7.2%
 [libx264 @ 0x102873000] 8x8 transform intra:66.4% inter:66.0%
 [libx264 @ 0x102873000] coded y,uvDC,uvAC intra: 64.2% 79.7% 37.5% inter:
 24.0% 26.8% 1.7%
 [libx264 @ 0x102873000] i16 v,h,dc,p: 27% 28%  5% 40%
 [libx264 @ 0x102873000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 20% 16%  6%  8%
 8%  9%  7%  8%
 [libx264 @ 0x102873000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 21% 15%  5%  8%
 8%  8%  6%  5%
 [libx264 @ 0x102873000] i8c dc,h,v,p: 48% 23% 19% 10%
 [libx264 @ 0x102873000] Weighted P-Frames: Y:3.5% UV:2.4%
 [libx264 @ 0x102873000] ref P L0: 66.5% 19.7%  9.7%  4.0%  0.1%
 [libx264 @ 0x102873000] ref B L0: 91.6%  7.8%  0.5%
 [libx264 @ 0x102873000] ref B L1: 97.7%  2.3%
 [libx264 @ 0x102873000] kb/s:1401.06
 }}}


 handbrake console
 {{{
 [14:53:49] macgui: Rip: Pending queue count is 0
 [14:53:52] macgui: getNextPendingQueueIndex next pending encode index is:2
 [14:53:52] macgui: scanning specifically for title: 1
 [14:53:52] hb_scan: path=/Volumes/Y/281112CHD/input.mp4, title_index=1
 libbluray/bdnav/index_parse.c:162: indx_parse(): error opening
 /Volumes/Y/281112CHD/input.mp4/BDMV/index.bdmv
 libbluray/bdnav/index_parse.c:162: indx_parse(): error opening
 /Volumes/Y/281112CHD/input.mp4/BDMV/BACKUP/index.bdmv
 libbluray/bluray.c:1725:
 nav_get_title_list(/Volumes/Y/281112CHD/input.mp4) failed (0x115832600)
 [14:53:52] bd: not a bd - trying as a stream/file instead
 libdvdnav: Using dvdnav version 4.1.3
 libdvdread: Using libdvdcss version 1.2.10 for DVD access
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
 libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
 libdvdread: Can't open file VIDEO_TS.IFO.
 libdvdnav: vm: failed to read VIDEO_TS.IFO
 [14:53:52] dvd: not a dvd - trying as a stream/file instead
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Y/281112CHD/input.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     creation_time   : 2013-01-02 11:53:23
   Duration: 00:04:11.16, start: 0.000000, bitrate: 5772 kb/s
     Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 5578 kb/s,
 25 fps, 25 tbr, 50 tbn, 50 tbc
     Metadata:
       creation_time   : 1970-01-01 00:00:00
     Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 192 kb/s
     Metadata:
       creation_time   : 2013-01-02 11:53:24
 [14:53:52] scan: decoding previews for title 1
 [14:53:53] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 4/0/0/6,
 aspect 16:9, PAR 1:1
 [14:53:53] libhb: scan thread found 1 valid title(s)
 [14:53:53] macgui: ScanDone state received from fQueueEncodeLibhb
 [14:53:53] macgui: Preset: Custom
 [14:53:53] macgui: processNewQueueEncode number of passes expected is: 1
 [14:53:53] macgui: Start / Stop set to chapters
 [14:53:53] macgui: prepareJob exiting
 [14:53:53] 1 job(s) to process
 [14:53:53] starting job
 [14:53:53] sync: expecting 6279 video frames
 [14:53:53] job configuration:
 [14:53:53]  * source
 [14:53:53]    + /Volumes/Y/281112CHD/input.mp4
 [14:53:53]    + title 1, chapter(s) 1 to 1
 [14:53:53]    + container: mov,mp4,m4a,3gp,3g2,mj2
 [14:53:53]    + data rate: 5772 kbps
 [14:53:53]  * destination
 [14:53:53]    + /Volumes/Y/output_handbrake.mkv
 [14:53:53]    + container: Matroska (.mkv)
 [14:53:53]  * video track
 [14:53:53]    + decoder: h264
 [14:53:53]      + bitrate 5578 kbps
 [14:53:53]    + frame rate: 25.000 fps -> constant 29.970 fps
 [14:53:53]    + filters
 [14:53:53]      + Framerate Shaper (1:27000000:900900)
 [14:53:53]        + frame rate: 29.970 fps -> constant 29.970 fps
 [14:53:53]      + Crop and Scale (720:400:0:0:0:0)
 [14:53:53]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080,
 scale: 720 * 400
 [14:53:53]    + custom anamorphic
 [14:53:53]      + storage dimensions: 720 * 400, mod 16
 [14:53:53]      + pixel aspect ratio: 32 / 27
 [14:53:53]      + display dimensions: 853 * 400
 [14:53:53]    + encoder: H.264 (x264)
 [14:53:53]      + quality: 23.00 (RF)
 [14:53:53]  * audio track 1
 [14:53:53]    + decoder: Unknown (aac) (2.0 ch) (track 1, id 0x1)
 [14:53:53]      + bitrate: 192 kbps, samplerate: 44100 Hz
 [14:53:53]    + mixdown: Stereo
 [14:53:53]    + encoder: AC3 (ffmpeg)
 [14:53:53]      + bitrate: 96 kbps, samplerate: 48000 Hz
 [14:53:53] reader: first SCR 0 id 0x0 DTS 0
 [14:53:53] encx264: min-keyint: 30, keyint: 300
 [14:53:53] encx264: encoding with stored aspect 32/27
 [14:53:53] encx264: Encoding at constant RF 23.000000
 x264 [warning]: --psnr used with psy on: results will be invalid!
 x264 [warning]: --tune psnr should be used if attempting to benchmark
 psnr!
 x264 [info]: using SAR=32/27
 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle
 SSE4.2 AVX
 x264 [info]: profile High, level 3.0
 [14:55:28] reader: done. 1 scr changes
 [14:55:30] work: average encoding speed for job is 65.914680 fps
 [14:55:30] sync: got 6279 frames, 6279 expected
 [14:55:30] render: 7527 frames output, 0 dropped and 1248 duped for
 CFR/PFR
 [14:55:30] render: lost time: 0 (0 frames)
 [14:55:30] render: gained time: 0 (0 frames) (0 not accounted for)
 [14:55:30] h264-decoder done: 6279 frames, 0 decoder errors, 0 drops
 x264 [info]: frame I:56    Avg QP:22.33  size: 25529  PSNR Mean Y:43.66
 U:47.99 V:46.50 Avg:44.49 Global:43.85
 x264 [info]: frame P:4573  Avg QP:25.36  size:  6925  PSNR Mean Y:40.14
 U:45.51 V:43.37 Avg:41.11 Global:40.63
 x264 [info]: frame B:2898  Avg QP:28.05  size:  2041  PSNR Mean Y:40.09
 U:45.84 V:43.71 Avg:41.12 Global:40.40
 x264 [info]: consecutive B-frames: 34.7% 37.3% 13.7% 14.3%
 x264 [info]: mb I  I16..4:  8.8% 62.7% 28.5%
 x264 [info]: mb P  I16..4:  2.2%  7.8%  2.2%  P16..4: 32.0% 17.5%  8.4%
 0.0%  0.0%    skip:30.0%
 x264 [info]: mb B  I16..4:  0.1%  0.5%  0.3%  B16..8: 35.1%  7.3%  1.7%
 direct: 2.4%  skip:52.5%  L0:38.5% L1:54.7% BI: 6.8%
 x264 [info]: 8x8 transform intra:63.5% inter:62.4%
 x264 [info]: coded y,uvDC,uvAC intra: 63.3% 78.0% 36.6% inter: 20.6% 21.9%
 1.8%
 x264 [info]: i16 v,h,dc,p: 27% 31%  6% 36%
 x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 23% 16%  6%  7%  7% 10%
 6%  9%
 x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 25% 15%  5%  8%  7%  9%
 5%  6%
 x264 [info]: i8c dc,h,v,p: 48% 26% 17% 10%
 x264 [info]: Weighted P-Frames: Y:2.9% UV:2.0%
 x264 [info]: ref P L0: 67.3% 20.0%  8.4%  4.2%  0.1%
 x264 [info]: ref B L0: 90.5%  8.8%  0.6%
 x264 [info]: ref B L1: 97.5%  2.5%
 x264 [info]: SSIM Mean Y:0.9733583 (15.744db)
 x264 [info]: PSNR Mean Y:40.148 U:45.653 V:43.525 Avg:41.141 Global:40.557
 kb/s:1242.67
 [14:55:30] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
 [14:55:30] mux: track 0, 7527 frames, 39009659 bytes, 1242.59 kbps, fifo
 4096
 [14:55:30] mux: track 1, 7848 frames, 3013632 bytes, 95.99 kbps, fifo 4096
 [14:55:30] libhb: work result = 0
 [14:55:30] macgui: incrementQueueItemDone there are no more pending
 encodes
 }}}

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


More information about the FFmpeg-trac mailing list