>Short. It creates an output file that is < 3 megs,
The "error message" seems to be saying that there's a likelyhood a video or audio packet gap might exist.
Can you try the mplex that was distributed with ExtractStream?
There's a chance that an audio packet that gets cut short might screw it up... if so, I have a fix for that:
--- inptstrm.cpp Sun Jun 10 14:51:17 2001
***************
*** 995,1005 ****
empty_aaunit_struc (&wds->access_unit);
! MACROgetbits(wds->bs, retval, 12);
! if (wds->bs.eobs)
! goto exit3;
!
! if (retval==AUDIO_SYNCWORD)
{
if (!marker_bit(&wds->bs, 1))
goto exit3;
--- 995,1006 ----
empty_aaunit_struc (&wds->access_unit);
! do {
! MACROgetbits(wds->bs, retval, 12);
! if (wds->bs.eobs)
! goto exit3;
! } while
! (retval!=AUDIO_SYNCWORD);
{
if (!marker_bit(&wds->bs, 1))
goto exit3;
***************
*** 1048,1055 ****
audio_info->size_frames[0] = wds->framesize;
audio_info->size_frames = wds->framesize+1;
}
! else
! exit (0);
return 1;
exit3:
--- 1049,1056 ----
audio_info->size_frames[0] = wds->framesize;
audio_info->size_frames = wds->framesize+1;
}
! //else
! // exit (0);
return 1;
exit3:
***************
*** 1123,1140 ****
goto exit3;
}
! wds->offset_bits = bitcount(&wds->bs);
!
! MACROgetbits(wds->bs, retval, 12);
! if (wds->bs.eobs)
! {
! if (!end_bs(&wds->bs))
! goto exit3;
! else
! break;
! }
! if (retval == AUDIO_SYNCWORD)
{
if (!marker_bit(&wds->bs, 1))
goto exit3;
--- 1124,1142 ----
goto exit3;
}
! do {
! wds->offset_bits = bitcount(&wds->bs);
! MACROgetbits(wds->bs, retval, 12);
! if (wds->bs.eobs)
! {
! if (!end_bs(&wds->bs))
! goto exit3;
! else
! break;
! }
! } while
! (retval != AUDIO_SYNCWORD);
{
if (!marker_bit(&wds->bs, 1))
goto exit3;
***************
*** 1171,1178 ****
if (wds->bs.eobs)
goto exit3;
}
! else
! break;
} while (!end_bs(&wds->bs) && !allowRet);
}
/*
--- 1173,1180 ----
if (wds->bs.eobs)
goto exit3;
}
! // else
! // break;
} while (!end_bs(&wds->bs) && !allowRet);
}
/*
(I appologize for this editor: it flattens anything that looks like code)
Otherwise, try the mjpegtools-1.3b4.tar.gz (the last of the series before 1.4).
It seems like they're getting more rigorous concerning their allowed input in 1.4.
>I found that I don't get these errors when I run mplex with "-m 3" or "-m 4" instead of "-m 2".
Do you mean "-f"?
"-m" only takes "1" or "2" as an argument.