file fails to play with ffplay, plays fine in other players

Any other question that don't fit into the other support categorizes.
Post Reply
wowter19
Posts: 2
Joined: Tue Aug 21, 2018 8:52 am

file fails to play with ffplay, plays fine in other players

Post by wowter19 » Tue Aug 21, 2018 9:10 am

I have captured a lot of content from the nickjr website for my daughter, using youtubedl. The result is multiple files which i joined with mp4joiner. The resulting files suddenly fail to play properly in Libreelec (and FFPLAY), previously they played OK, but messed up while seeking.

ffplay says:

Code: Select all

1 Missing key frame while searching for timestamp: 0
 1 Cannot find an index entry before timestamp: 0.
so apparantly the joining proces messed something up, but other players handle this graciously as VLC, MPC-BE, and the built in windows player play the files just fine, and are also able to seek/skip.

Is it a bug or are these files supposed to fail?

Code: Select all

Format                         : MPEG-4
Format profile                 : Base Media
Codec ID                       : isom (isom)
File size                      : 581 MiB
Duration                       : 23 min 10 s
Overall bit rate mode          : Variable
Overall bit rate               : 3 504 kb/s
Encoded date                   : UTC 2018-03-12 14:59:52
Tagged date                    : UTC 2018-03-12 14:59:52

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : [email protected]
Format settings                : CABAC / 4 Ref Frames
Format settings, CABAC         : Yes
Format settings, ReFrames      : 4 frames
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 23 min 10 s
Source duration                : 23 min 10 s
Bit rate mode                  : Variable
Bit rate                       : 3 372 kb/s
Maximum bit rate               : 8 050 kb/s
Width                          : 1 920 pixels
Height                         : 1 080 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Variable
Frame rate                     : 23.976 (23976/1000) FPS
Minimum frame rate             : 11.152 FPS
Maximum frame rate             : 24.390 FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.068
Stream size                    : 559 MiB (96%)
Source stream size             : 559 MiB (96%)
Writing library                : x264 core 148
Encoding settings              : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=24 / lookahead_threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=48 / keyint_min=4 / scenecut=0 / intra_refresh=0 / rc_lookahead=48 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.75 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=5000 / vbv_bufsize=10000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:0.80
Tagged date                    : UTC 2018-03-12 15:00:01

Audio
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : mp4a-40-2
Duration                       : 23 min 10 s
Source duration                : 23 min 10 s
Bit rate mode                  : Variable
Bit rate                       : 128 kb/s
Maximum bit rate               : 134 kb/s
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 46.875 FPS (1024 SPF)
Compression mode               : Lossy
Stream size                    : 21.2 MiB (4%)
Source stream size             : 21.2 MiB (4%)
Default                        : Yes
Alternate group                : 1
Tagged date                    : UTC 2018-03-12 15:00:01


wowter19
Posts: 2
Joined: Tue Aug 21, 2018 8:52 am

Re: file fails to play with ffplay, plays fine in other players

Post by wowter19 » Fri Nov 09, 2018 9:53 am

Here is an example file. It does not contain any actual content, just the opening and credit sequences merged by mp4joiner (which basically does MP4BOX -bs-switching merge -force-cat )

https://www.dropbox.com/s/k1fphmvvb5ovh ... r.mp4?dl=0

Any tips on how to properly join these segments are also welcome!

Thanks!

Post Reply