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

FFmpeg trac at avcodec.org
Sun Jan 6 04:00:57 CET 2013


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

Comment (by bonconboy):

 To upload output files, I encode only 15 seconds.
 As a result, I paste new consoles.

 ffmpeg console
 {{{
 ffmpeg -i input.mp4  -t 00:00:15 -vf "fifo, scale= 720:480" -vcodec
 libx264 -aspect 16:9 -r 29.97 -acodec ac3 -ac 2 -ar 48000 -ab 96000 -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, 96 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=   68 fps=0.0 q=28.0 size=       1kB time=00:00:02.93 bitrate=
 2.8kbits/frame=  126 fps=125 q=29.0 size=     194kB time=00:00:05.37
 bitrate= 295.8kbits/frame=  184 fps=122 q=29.0 size=     385kB
 time=00:00:07.32 bitrate= 430.4kbits/frame=  243 fps=121 q=27.0 size=
 570kB time=00:00:09.75 bitrate= 479.0kbits/frame=  288 fps=114 q=29.0
 size=     862kB time=00:00:11.70 bitrate= 603.5kbits/frame=  325 fps=108
 q=28.0 size=    1182kB time=00:00:13.17 bitrate= 735.0kbits/frame=  369
 fps=105 q=27.0 size=    1545kB time=00:00:12.44 bitrate=1017.0kbits/frame=
 375 fps= 95 q=-1.0 Lsize=    1979kB time=00:00:15.00 bitrate=1080.8kbits/s
 video:1797kB audio:176kB subtitle:0 global headers:0kB muxing overhead
 0.354533%
 [libx264 @ 0x102873000] frame I:9     Avg QP:21.70  size: 16250
 [libx264 @ 0x102873000] frame P:254   Avg QP:23.82  size:  5820
 [libx264 @ 0x102873000] frame B:112   Avg QP:24.80  size:  1916
 [libx264 @ 0x102873000] consecutive B-frames: 44.3% 47.5%  0.8%  7.5%
 [libx264 @ 0x102873000] mb I  I16..4: 17.6% 66.6% 15.8%
 [libx264 @ 0x102873000] mb P  I16..4:  6.9% 15.5%  1.7%  P16..4: 34.4%
 10.8%  4.5%  0.0%  0.0%    skip:26.3%
 [libx264 @ 0x102873000] mb B  I16..4:  0.3%  0.5%  0.1%  B16..8: 32.0%
 5.3%  1.1%  direct: 2.6%  skip:58.2%  L0:32.7% L1:60.6% BI: 6.7%
 [libx264 @ 0x102873000] 8x8 transform intra:64.6% inter:77.1%
 [libx264 @ 0x102873000] coded y,uvDC,uvAC intra: 42.8% 61.5% 18.5% inter:
 17.8% 25.1% 1.1%
 [libx264 @ 0x102873000] i16 v,h,dc,p: 35% 30%  6% 29%
 [libx264 @ 0x102873000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 22% 22%  4%  6%
 6%  7%  5%  5%
 [libx264 @ 0x102873000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 22% 13%  4%  8%
 7%  8%  5%  3%
 [libx264 @ 0x102873000] i8c dc,h,v,p: 56% 21% 19%  5%
 [libx264 @ 0x102873000] Weighted P-Frames: Y:14.2% UV:10.2%
 [libx264 @ 0x102873000] ref P L0: 65.4% 18.6% 11.6%  4.1%  0.3%
 [libx264 @ 0x102873000] ref B L0: 88.8% 11.2%
 [libx264 @ 0x102873000] ref B L1: 99.8%  0.2%
 [libx264 @ 0x102873000] kb/s:982.01
 }}}

 hand brake console
 {{{
 [02:54:08] hb_init: starting libhb thread
 [02:54:08] macgui: Handbrake Version: 5112svn x86_64 (2012122801)
 [02:54:08] hb_init: starting libhb thread
 [02:54:08] hb_init: starting libhb thread
 [02:54:08] macgui: hbInstances path to this instance:
 /Applications/HandBrake.app
 [02:54:08] macgui: hbInstance found instance pidnum:784 at path:
 /Applications/HandBrake.app
 [02:54:08] macgui: hbInstance MATCH FOUND, our pidnum is:784
 [02:54:08] macgui: Pid for this instance:784
 [02:54:08] macgui: HBQueueController : My Pidnum is 784
 [02:54:15] macgui: trying to open video_ts folder (parent directory
 chosen)
 [02:54:15] macgui: scanning titles with a duration of 10 seconds or more
 [02:54:15] hb_scan: path=/Volumes/Y/281112CHD/input.mp4, title_index=0
 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 (0x10302c200)
 [02:54:15] 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
 [02:54:15] 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
 [02:54:15] scan: decoding previews for title 1
 [02:54:16] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 4/0/0/6,
 aspect 16:9, PAR 1:1
 [02:54:16] libhb: scan thread found 1 valid title(s)
 [02:54:16] macgui: showNewScan: This is a new source item scan
 [02:59:46] macgui: Rip: Pending queue count is 0
 [02:59:48] macgui: getNextPendingQueueIndex next pending encode index is:0
 [02:59:48] macgui: scanning specifically for title: 1
 [02:59:48] 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 (0x103903a00)
 [02:59:48] 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
 [02:59:48] 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
 [02:59:48] scan: decoding previews for title 1
 [02:59:49] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 4/0/0/6,
 aspect 16:9, PAR 1:1
 [02:59:49] libhb: scan thread found 1 valid title(s)
 [02:59:49] macgui: ScanDone state received from fQueueEncodeLibhb
 [02:59:49] macgui: Preset: Custom
 [02:59:49] macgui: processNewQueueEncode number of passes expected is: 1
 [02:59:49] macgui: Start / Stop set to seconds…
 [02:59:49] macgui: prepareJob exiting
 [02:59:49] 1 job(s) to process
 [02:59:49] starting job
 [02:59:49] sync: expecting 400 video frames
 [02:59:49] work: only 1 chapter, disabling chapter markers
 [02:59:49] job configuration:
 [02:59:49]  * source
 [02:59:49]    + /Volumes/Y/281112CHD/input.mp4
 [02:59:49]    + title 1, start 0:0:0.00 stop 0:0:15.00
 [02:59:49]    + container: mov,mp4,m4a,3gp,3g2,mj2
 [02:59:49]    + data rate: 5772 kbps
 [02:59:49]  * destination
 [02:59:49]    + /Volumes/Y/output_handbrake.mkv
 [02:59:49]    + container: Matroska (.mkv)
 [02:59:49]  * video track
 [02:59:49]    + decoder: h264
 [02:59:49]      + bitrate 5578 kbps
 [02:59:49]    + frame rate: 25.000 fps -> constant 29.970 fps
 [02:59:49]    + filters
 [02:59:49]      + Framerate Shaper (1:27000000:900900)
 [02:59:49]        + frame rate: 29.970 fps -> constant 29.970 fps
 [02:59:49]      + Crop and Scale (720:480:0:0:0:0)
 [02:59:49]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080,
 scale: 720 * 480
 [02:59:49]    + custom anamorphic
 [02:59:49]      + storage dimensions: 720 * 480, mod 2
 [02:59:49]      + pixel aspect ratio: 32 / 27
 [02:59:49]      + display dimensions: 853 * 480
 [02:59:49]    + encoder: H.264 (x264)
 [02:59:49]      + quality: 23.00 (RF)
 [02:59:49]  * audio track 1
 [02:59:49]    + decoder: Unknown (aac) (2.0 ch) (track 1, id 0x1)
 [02:59:49]      + bitrate: 192 kbps, samplerate: 44100 Hz
 [02:59:49]    + mixdown: Stereo
 [02:59:49]    + encoder: AC3 (ffmpeg)
 [02:59:49]      + bitrate: 96 kbps, samplerate: 48000 Hz
 [02:59:49] reader: first SCR 0 id 0x0 DTS 0
 [02:59:49] encx264: min-keyint: 30, keyint: 300
 [02:59:49] encx264: encoding with stored aspect 32/27
 [02:59:49] 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
 [02:59:54] sync: reached pts 1350000, exiting early
 [02:59:54] work: average encoding speed for job is 82.819817 fps
 [02:59:54] sync: got 375 frames, 400 expected
 [02:59:55] render: 449 frames output, 0 dropped and 74 duped for CFR/PFR
 [02:59:55] render: lost time: 0 (0 frames)
 [02:59:55] render: gained time: 0 (0 frames) (0 not accounted for)
 [02:59:55] h264-decoder done: 483 frames, 0 decoder errors, 0 drops
 [02:59:55] reader: done. 1 scr changes
 x264 [info]: frame I:8     Avg QP:21.94  size: 16874  PSNR Mean Y:46.28
 U:49.28 V:49.21 Avg:47.03 Global:45.76
 x264 [info]: frame P:332   Avg QP:23.84  size:  4644  PSNR Mean Y:44.03
 U:47.24 V:47.10 Avg:44.81 Global:43.55
 x264 [info]: frame B:109   Avg QP:26.69  size:  1457  PSNR Mean Y:44.94
 U:47.84 V:48.13 Avg:45.67 Global:43.62
 x264 [info]: consecutive B-frames: 56.3% 33.0%  2.7%  8.0%
 x264 [info]: mb I  I16..4: 19.2% 65.1% 15.7%
 x264 [info]: mb P  I16..4:  6.5% 12.4%  1.4%  P16..4: 28.3%  8.8%  3.6%
 0.0%  0.0%    skip:39.0%
 x264 [info]: mb B  I16..4:  0.4%  0.4%  0.1%  B16..8: 27.6%  4.2%  0.8%
 direct: 2.0%  skip:64.6%  L0:33.9% L1:60.6% BI: 5.5%
 x264 [info]: 8x8 transform intra:61.3% inter:74.8%
 x264 [info]: coded y,uvDC,uvAC intra: 38.2% 54.6% 16.1% inter: 14.0% 19.2%
 0.9%
 x264 [info]: i16 v,h,dc,p: 40% 28%  7% 25%
 x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 24%  4%  6%  6%  7%
 5%  4%
 x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 21% 13%  4%  8%  7%  8%
 5%  3%
 x264 [info]: i8c dc,h,v,p: 56% 20% 19%  4%
 x264 [info]: Weighted P-Frames: Y:11.7% UV:8.4%
 x264 [info]: ref P L0: 65.5% 18.9% 10.4%  4.9%  0.3%
 x264 [info]: ref B L0: 87.2% 12.8%  0.0%
 x264 [info]: ref B L1: 99.0%  1.0%
 x264 [info]: SSIM Mean Y:0.9840744 (17.979db)
 x264 [info]: PSNR Mean Y:44.287 U:47.422 V:47.389 Avg:45.058 Global:43.600
 kb/s:980.12
 [02:59:55] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
 [02:59:55] mux: track 0, 449 frames, 1835161 bytes, 979.95 kbps, fifo 512
 [02:59:55] mux: track 1, 469 frames, 180096 bytes, 96.17 kbps, fifo 512
 [02:59:55] libhb: work result = 0
 [02:59:55] macgui: incrementQueueItemDone there are no more pending
 encodes
 }}}

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


More information about the FFmpeg-trac mailing list