I need to put a piece of GPS information (there may be other texts) into a video file
The requirement is that it can be played as usual and this information can be taken out
The first idea is to put the plaintext directly into the end of the binary file
$data=file_get_content('xxx.mp4');
$data=$data. $gps;
file_put_content('xxx_new.mp4',$data);
That's fine
But...
Now I feel that this is too vulgar, and the writing is not scientific at all.
My question now is, does anyone have a more standardized approach?
I am a PHP developer and I know nothing about video processing. I hope I can get some advice
https://wiki.multimedia.cx/in...
There are a lot of text bits that can be written in a video format. What you did was indeed too violent.