[FFmpeg-trac] #7677(undetermined:closed): Some converted video files fail miserably with Apple video players
FFmpeg
trac at avcodec.org
Thu Feb 21 11:26:12 EET 2019
#7677: Some converted video files fail miserably with Apple video players
-------------------------------------+-------------------------------------
Reporter: forthrin | Owner:
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: duplicate
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by forthrin):
The enclosed file and command line below will produce a file that, when
synced with an iPod via iTunes, makes the native video player on an iPod
Nano 3rd generation exit at 11:20.
Note:
- The file intentionally contain black/silence. The problem seems
independent of content.
- The problem persists even if adding `-video_track_timescale 24024`.
- The problem disappears if you do `ffmpeg -i s.mov s.avi`, and use
`s.avi` as input.
{{{
$ ffmpeg -y -i s.mov -vcodec libx264 -profile:v baseline -level 3.0
-pix_fmt yuv420p t.mov
ffmpeg version N-45416-g7e4d3dbe1 Copyright (c) 2000-2019 the FFmpeg
developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --enable-gpl --enable-libx264 --enable-libass
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 47.102 / 58. 47.102
libavformat 58. 26.101 / 58. 26.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 's.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf58.26.101
Duration: 00:12:00.03, start: 0.000000, bitrate: 10 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 320x240 [SAR 480:347 DAR 640:347], 2 kb/s, 24 fps,
24 tbr, 12288 tbn, 48 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc58.47.102 libx264
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 2 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7ff6d700f800] using SAR=480/347
[libx264 @ 0x7ff6d700f800] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7ff6d700f800] profile Constrained Baseline, level 3.0
[libx264 @ 0x7ff6d700f800] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options:
cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250
keyint_min=24 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, mov, to 't.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf58.26.101
Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p,
320x240 [SAR 480:347 DAR 640:347], q=-1--1, 24 fps, 24 tbn, 24 tbc
(default)
Metadata:
handler_name : VideoHandler
encoder : Lavc58.47.102 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc58.47.102 aac
video:202kB audio:184kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 140.998138%
[libx264 @ 0x7ff6d700f800] frame I:70 Avg QP: 8.04 size: 243
[libx264 @ 0x7ff6d700f800] frame P:17210 Avg QP:11.00 size: 11
[libx264 @ 0x7ff6d700f800] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0x7ff6d700f800] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0%
0.0% 0.0% 0.0% 0.0% skip:100.0%
[libx264 @ 0x7ff6d700f800] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter:
0.0% 0.0% 0.0%
[libx264 @ 0x7ff6d700f800] i16 v,h,dc,p: 93% 0% 7% 0%
[libx264 @ 0x7ff6d700f800] i8c dc,h,v,p: 100% 0% 0% 0%
[libx264 @ 0x7ff6d700f800] kb/s:2.29
[aac @ 0x7ff6d7013200] Qavg: 65536.000
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7677#comment:42>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list