Error in Pull function "Invalid NAL unit size"

For the developers that use FFmpeg in their software.
Post Reply
shashi
Posts: 1
Joined: Thu Sep 26, 2019 3:07 pm

Error in Pull function "Invalid NAL unit size"

Post by shashi » Thu Sep 26, 2019 3:13 pm

Hello everyone,

we are working on processing the youtube live stream URL with ffmpeg, But when we trying for some specific type of URL's which is also a youtube live stream we are getting Error in Pull function:

Example URL:

"https://r5---sn-5jucgv5qc5oq-itql.googl ... bypass=yes"

we have used the above URL with ffmpeg commad such as :

ffmpeg -i "https://r5---sn-5jucgv5qc5oq-itql.googl ... bypass=yes" -loglevel error -bsf:a aac_adtstoasc -c copy -c:a avc1.42c00b -flags +global_header -f segment -segment_time 30 -segment_format_options movflags=+faststart -reset_timestamps 1 /home/shashi/test/6376765c5e8e3da7652173787e10ea_%d.mp4


when we execute the above command, we end up with the following error which is:

Code: Select all

[tls @ 0x55b6d188fd80] Error in the pull function.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (497 > 210).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1596485864 > 247).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 251
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1596485864 > 247).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (386636430 > 645).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 649
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (386636430 > 645).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (87095142 > 707).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 711
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (87095142 > 707).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (965309274 > 268).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 272
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (965309274 > 268).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-934912217 > 300).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 304
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-934912217 > 300).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (2090320544 > 337).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 341
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (2090320544 > 337).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (761771247 > 140).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 144
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (761771247 > 140).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1659187815 > 185).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 189
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1659187815 > 185).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-777220305 > 208).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 212
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-777220305 > 208).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (804856984 > 93).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 97
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (804856984 > 93).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (925092854 > 187).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 191
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (925092854 > 187).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-631056836 > 315).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 319
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-631056836 > 315).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (135064601 > 167).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 171
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (135064601 > 167).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (134496972 > 333).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 337
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (134496972 > 333).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (394234589 > 468).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 472
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (394234589 > 468).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1473411247 > 230).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 234
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1473411247 > 230).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1456430792 > 330).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 334
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1456430792 > 330).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1818898992 > 412).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 416
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1818898992 > 412).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (9037224 > 228).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 232
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (9037224 > 228).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1153495710 > 351).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 355
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1153495710 > 351).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1002208658 > 499).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 503
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1002208658 > 499).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-151860717 > 175).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 179
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-151860717 > 175).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-498758723 > 468).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 472
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-498758723 > 468).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1075701529 > 455).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 459
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1075701529 > 455).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-902995916 > 203).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 207
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-902995916 > 203).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-274863618 > 497).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 501
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-274863618 > 497).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (364741612 > 520).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 524
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (364741612 > 520).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1841116390 > 190).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 194
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1841116390 > 190).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (334121902 > 697).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 701
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (334121902 > 697).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (145728820 > 435).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 439
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (145728820 > 435).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-458172899 > 177).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 181
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-458172899 > 177).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1398223877 > 341).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 345
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-1398223877 > 341).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (406474145 > 440).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 444
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (406474145 > 440).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-21919209 > 192).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 196
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-21919209 > 192).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (855211466 > 358).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 362
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (855211466 > 358).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1091213068 > 394).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 398
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1091213068 > 394).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-54380189 > 175).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 179
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-54380189 > 175).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1236006377 > 393).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 397
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1236006377 > 393).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (2129887108 > 288).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 292
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (2129887108 > 288).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1646625865 > 106).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 110
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (1646625865 > 106).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (761992968 > 199).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 203
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (761992968 > 199).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-201049043 > 117).
[h264 @ 0x55b6d1890c40] missing picture in access unit with size 121
[h264 @ 0x55b6d1890c40] Invalid NAL unit size (-201049043 > 117).
[h264 @ 0x55b6d1890c40] Error splitting the input into NAL units.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6d18191c0] stream 0, offset 0x6c84: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b6d18191c0] stream 0, offset 0x6cd7: partial file
https://r5---sn-5jucgv5qc5oq-itql.googlevideo.com/videoplayback?expire=1569530427&ei=282MXaeFI5GPogPs-bfIDw&ip=183.82.99.166&id=Bry8EN99Irk.1&itag=160&aitags=yt_live_broadcast&requiressl=yes&mm=44%2C26&mn=sn-5jucgv5qc5oq-itql%2Csn-cvh76nez&ms=lva%2Conr&mv=m&mvi=4&pl=20&initcwndbps=670000&live=1&hang=1&noclen=1&mime=video%2Fmp4&gir=yes&mt=1569508706&fvip=5&keepalive=yes&fexp=23842630&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Clive%2Chang%2Cnoclen%2Cmime%2Cgir&sig=ALgxI2wwRQIhALfDmKM4iehLeKu4jDoEyuux-zs2hLJ2h5TOTShYU4ryAiAeWCdv0zYNRHtZIEw9amvyuMrvxJgCYMfNxNy6WR1PCg%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIgLa062MkCIKmJJE1RIv9FwB0aqOTykaeSMGrMNMSBEHUCIQDKs38cnbS0V0G2llbroALPFwis8yJsiCD3wAswtyX8aA%3D%3D&ratebypass=yes: Invalid data found when processing input

can you please help us in solving this issue.

Thank You In advance.

Post Reply
'