LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 02-17-2016, 08:15 AM   #16
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169

thanks.

I will look up how to convert oog to mp3.
 
Old 02-17-2016, 05:52 PM   #17
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Tried to convert oog to mp3.
Quote:
# ffmpeg -i Rhinestone.ogg to example.mp3
ffmpeg version 2.2.16 Copyright (c) 2000-2015 the FFmpeg developers
built on Oct 8 2015 14:32:29 with gcc 4.8.2 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Rhinestone.ogg: Invalid data found when processing input
Conversion failed!
 
Old 02-17-2016, 06:07 PM   #18
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Was the input file a valid ogg file? The file you downloaded from me was an ogg, I changed the extension to mp3 for testing purpose. If you still have it try to convert it.
 
Old 02-17-2016, 06:19 PM   #19
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I used mplayer to do the conversion.

Quote:
# file *.ogg
Rhinestone.ogg: FoxPro FPT, blocks size 65472, next free block index 553649408
Because this looks like a good mp3.

Quote:
# file Song*.mp3
SongSungBlue.mp3: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo
I think some of files on YouTube are not true mp4s.

Last edited by Fixit7; 02-17-2016 at 06:24 PM.
 
Old 02-17-2016, 06:30 PM   #20
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
# file *.ogg
Rhinestone.ogg: FoxPro FPT, blocks size 65472, next free block index 553649408
This is not ogg file, it is useless for your testing.

Did you try this? It should give you an ogg:

Code:
mplayer -dumpaudio -dumpfile RhinestoneCowboy.ogg Rhinestone_Cowboy.mp4
 
Old 02-17-2016, 08:42 PM   #21
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Got the same answer from file.

Quote:
# file *.ogg
RhinestoneCowboy.ogg: FoxPro FPT, blocks size 65472, next free block index 55364
It looks like mplayer is not able to make a good conversion. ?
 
Old 02-17-2016, 08:57 PM   #22
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I got it to work with

Quote:
ffmpeg -i Rhinestone.mp4 -acodec libvorbis file.ogg
Then I used VLC to convert the .ogg to mp3.
It has a convert/save under Media. :-)

SOLVED.
 
Old 02-23-2016, 07:48 PM   #23
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Quote:
ffmpeg -i Rhinestone.mp4 -acodec libvorbis file.ogg
Is there a bash method of doing a batch conversion from mp4s to .ogg files ?

(I download a lot of mp4 files.)

Last edited by Fixit7; 02-23-2016 at 08:24 PM.
 
  


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
mp4 files - video but no audio Cammigirl Linux - Software 9 05-25-2016 01:42 AM
[SOLVED] Best way to extract AAC from mp4 losslessly KickMeElmo Linux - Software 10 03-22-2014 12:10 PM
mp4 audio issues in Mandriva using MPlayer ixhabbaba Linux - Software 4 09-14-2008 02:54 AM
MP4 with Xine.. I have video but no audio darkone66669 Linux - Software 1 03-04-2008 05:37 AM
Audio in mp4 format: your experiences with FAAC hansalfredche Linux - Software 0 01-28-2008 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 01:02 AM.

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