Add videoinfo above from each function, and calduration is function so you will need to self call using () or call function, see below sample code
var videoinfo = [{"startdatetime":"2014-12-21 00:23:14","totalsecondrun":"2019402310","videolist":
[{"videoid":"uoSDF234","second":"192312"},{"videoid":"0apq3ss","second":"180"}]}];
var calduration = function(){
$.each(videoinfo, function(i, obj) {
alert(obj.startdatetime);
});
}();
OR
calduration();
OR
calduration.call();
UPDATE
$.each(videoinfo[0].videolist, function(i, obj) {
alert(obj.startdatetime);
});
Or if videoinfo have multiple objects then you can iterate two times using each() function
var videoinfo = [{
"startdatetime": "2014-12-21 00:23:14",
"totalsecondrun": "2019402310",
"videolist": [{
"videoid": "uoSDF234",
"second": "192312"
}, {
"videoid": "0apq3ss",
"second": "180"
}]
}];
$.each(videoinfo, function(i, obj) {
$.each(obj.videolist, function(j, o) {
alert(o.videoid);
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>