This is for a very old version of Symfony – 2.3
It might not work with the version of Symfony you’re using
Here is how I do it.
What it does? Upload an image file and an audio file and add an encode job.
The purpose is to join an image and a mp3 into a mkv file x264 encoded with ffmpeg.
But this here is only to upload the files and add the related entities. Yes I am very proud of myself for having accomplished this even if it was extremely more complicated than just doing it in PHP.
Continue reading “Symfony2 File Upload with Related Entities”