Thursday, December 7, 2017

How to add image to audio file for uploading to youtube


1.First make sure you have FFmpeg installed.
2. Goto Terminal
3. Type the following command

ffmpeg -r 1 -loop 1 -i p1.jpg -i comp.mp3 -acodec copy -r 1 -shortest comp.flv

4. The output container may be Mp4, AVI,MOV,3GP, etc it depends on your choice.
5. Finally your output file will be in your working directory
6. Optionally you can use the -scale operator to crop or scale the image.

Tuesday, December 5, 2017

How to add album art to your audio using VLC

1. Start VLC.
2. Goto Tools -----------> Media information
3. Change the metadata
4. Goto the general tab and you will find the logo of VLC or it may have already downloaded the album art for you.
5. Right click the VLC image and select ------> Add cover art from File and click OK.
6. That's it Now you have changed your album art using VLC.

Tuesday, June 20, 2017

systemd; External hard drive time-out problem during boot.

If you have an external hard drive that is plugged in all the time but on one fine day you boot your system without the external hard  drive and  your system drops to a maintenance shell after looking through the syslog i.e journald  you find out your system got into a loop trying to mount the external hard disk. So what is the solution?
It lies in  the fstab file. In the /dev/sdb line add
nofail,x-systemd.device-timeout=1ms
and do not set it to zero it will go into infinte loop.

for more info check:
https://wiki.archlinux.org/index.php/fstab#External_devices

Popular Posts