LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2023, 07:55 AM   #1
mount.nfs
Member
 
Registered: Feb 2017
Posts: 59

Rep: Reputation: Disabled
ffmpeg -i in.mp3 thumbnail


ffmpeg -i in.mp3 <thumbnail icon.jpg or.png> out.mp3

I actually want the icon thumbnail.jpg add to the .mp3 sound

Last edited by mount.nfs; 02-06-2023 at 07:57 AM.
 
Old 02-06-2023, 08:34 AM   #2
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Install easyTag or use this command line
Code:
lame --ti picture.jpg file.mp3
simples
 
1 members found this post helpful.
Old 04-05-2024, 10:13 PM   #3
mount.nfs
Member
 
Registered: Feb 2017
Posts: 59

Original Poster
Rep: Reputation: Disabled
Code:
ffmpeg -i in.mp4 -ss x out.mp4
cut first x seconds
Code:
ffmpeg -i out.mp4 -t y out2.mp4
need 0 to y seconds long


Code:
ffmpeg -i f.mp4 -vf rotate=180 
 f2.mp4
I need mp4 to be mm... up down, what command should be?

Last edited by mount.nfs; 04-05-2024 at 10:22 PM.
 
Old 04-06-2024, 09:44 AM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by mount.nfs View Post
Code:
ffmpeg -i in.mp4 -ss x out.mp4
cut first x seconds
Code:
ffmpeg -i out.mp4 -t y out2.mp4
need 0 to y seconds long


Code:
ffmpeg -i f.mp4 -vf rotate=180 
 f2.mp4
I need mp4 to be mm... up down, what command should be?
The time in those commands should be the normal notation hh:mm:ss or mm:ss for videos less than an hour in length

"man ffmpeg" gives a lot of information in detail on how to use it.
 
Old 04-06-2024, 06:31 PM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
Code:
ffmpeg -ss 00:00:10 -t 00:00:20 -i infile.mp4 -c:a copy -c:v copy outfile.mp4
You want to turn the video upside down, or mirror image?
Code:
ffmpeg -i infile.mp4 -vf "transpose=1"...outfile.mp4
0 = 90CounterCLockwise and Vertical Flip
1 = 90Clockwise
2 = 90CounterClockwise
3 = 90Clockwise and Vertical Flip

-vf "rotate=PI/1"
-vf "rotate=PI/2"
-vf "rotate=PI/3"
-vf "rotate=PI/4"

And, you can use them in combos.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a single MP3 file include a Thumbnail of the album? Xeratul Linux - Software 5 07-27-2016 05:27 PM
ffmpeg thumbnail problem yourweb Linux - Software 2 08-23-2009 02:50 PM
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration