Zyxware default image3
| 1 min read
Youtube does not allow audio files to be uploaded. However, you can easily convert any audio file into a video file using the given audio file and a fixed image as a background. The following works on Ubuntu and any variants of GNU/Linux. For converting a single mp3 file you can use the following. ffmpeg -v quiet -i "picture.jpg" -i input.mp3 -shortest -acodec copy output.mp4; done For converting a batch of files in a folder you can use the following
Zyxware default image4
| 3 min read
Suppose you have to display the thumbnail image of each video uploaded in a content and while clicking on the thumbnail the corresponding video should be loaded in the page. This can be done by embedding the video in page and implementing jquery function to load video.If you are not sure how to display the thumbnail images of the videos uploaded from vimeo/youtube in Drupal then read on.