I hope that helped you some.
You could re-encode the movie, but this will decrease the quality, so it s not a good solution. Probably the best way is to split them. There are two ways you can split them, split the files using a file archiver, which is easy but will require the space to put them back together and spitting them into two separate movie files. To split an mp4 into two separate files, I would use YAMB. To split an mkv I would use mkvtoolnix. You may need to try a few times before you get the configuration of these programs working, as there is a bit of a learning curve.
Good luck.
You shouldn't use handbreak, you're needlessly (and lossily) re-encoding the video. You just need to split the MP4. There are a bunch of programs that can do this, like YAMB.
Looks like you pulled the video stream out of a Matroska container, yes? If so, you may want to rewrap that as an MP4 file with something like YAMB (Yet Another MP4 Box UI). Alternatively, you could help yourself by converting it to a high-quality mezzanine codec like Cineform. It'll be a lot easier on your system than HEVC, though with larger file sizes.
Mkv or Mp4?
I use Yamb for this. Just uncheck the stream you don't want.
Yamb is outdated, but I haven't found a decent replacement. You may want to update the programs it uses (MP4Box.exe, MKVExtract.exe, and EAC3to.exe) and make sure settings points to the new programs.
AVI and MP4 are containers and support overlapping but not identical video and audio codecs. If you wish to convert an AVI file so that it plays back on a device that does not support AVI playback then first try this re-mux software which transfers the video and audio files from an AVI container into an MP4 container.
http://yamb.unite-video.com/features.html
However if the codecs used are not supported as standard, by MP4, the file will only work in a universal media player which would have played the AVI file anyway. XVID is a common video codec found in AVI files which generally isn’t compatible with standard MP4 playback.
Re-mux the file then try to play it on the device. If it works great, if not they you would need to re-encode the video, using Handbrake, which is not a lossless process.
Well, I just did exactly what I was trying to do, so I know for a fact that you can.
Instructions from /u/camcabbit :
EDIT: perhaps you were confused by the use of the word lossless here. I meant lossless as in no loss in quality compared to the youtube original. Downloader sites transcode the audio to a new mp3 file, and this would be a lossy extraction of the audio because of the transcode.
To losslessly extract the audio data does not imply to obtain a lossless format like FLAC from it, but to extract the audio portion with no loss from the source, which is what I have achieved with the help above.
I haven't attempted this, and don't have an iTunes m4v to test with, but I would think this might be accomplished by muxing to mkv. Try playing around with mkvmerge, available in mkvtoolnix. You might need something to first demux, my only suggestion there would be Yamb, but it's Windows only as far as I can tell. Hope this at least gives you something to go on, and good luck.