PCLinuxOS-Forums
News: Happy Hump day!
 
*
Welcome, Guest. Please login or register. September 08, 2010, 06:35:40 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] - How to handle conversion of .flv and .mp4 files?  (Read 255 times)
vc
Hero Member
*****
Offline Offline

Posts: 505


*** WHY? ***


« on: March 30, 2010, 02:27:35 PM »

Given the resources now available in PCLinuxOS 2010 (beta 2), how may the audio portion of an .flv or an .mp4 file be converted directly to a .flac output file?
Logged
JohnBoy
Hero Member
*****
Offline Offline

Posts: 4811


MLU


« Reply #1 on: March 30, 2010, 04:22:51 PM »

Use  pacpl  from the repository ........  it provides a right click menu with lots of choices under 'Actions'

or .....  WinFF also in the repository.
Logged
vc
Hero Member
*****
Offline Offline

Posts: 505


*** WHY? ***


« Reply #2 on: March 30, 2010, 11:05:39 PM »

Use  pacpl  from the repository ........  it provides a right click menu with lots of choices under 'Actions'

or .....  WinFF also in the repository.

Neither seems to be functional, unfortunately - pacpl did add its selections; I am able to right-click on an .flv file and select 'Actions~PACPL-Convert~To FLAC', which duly results in a window popping up that then asks me where I wish to save the output file.  I select the /home/me/Music directory, click OK, and another window later pops up asking me which level of FLAC compression should be applied.  I select '0', again click OK, and... it dies.

WinFF, which was functional previously (prior to performing a full system update in Synaptic, earlier today) now pops up a window which reports "Access violation."  I again click on OK, regardless, and... it dies.  It did not seem to have any 'convert to flac' option available previously anyway - only 'convert to mp3'.
Logged
JohnBoy
Hero Member
*****
Offline Offline

Posts: 4811


MLU


« Reply #3 on: March 31, 2010, 03:18:02 AM »

Use  pacpl  from the repository ........  it provides a right click menu with lots of choices under 'Actions'

or .....  WinFF also in the repository.

Neither seems to be functional, unfortunately - pacpl did add its selections; I am able to right-click on an .flv file and select 'Actions~PACPL-Convert~To FLAC', which duly results in a window popping up that then asks me where I wish to save the output file.  I select the /home/me/Music directory, click OK, and another window later pops up asking me which level of FLAC compression should be applied.  I select '0', again click OK, and... it dies.


Does it extract to any other format such as MP3?
Are you able to play FLAC files? ----  do you have the needed codecs/libraries installed to handle FLAC files?
Logged
exwintech
Hero Member
*****
Offline Offline

Posts: 4301

80% SandBox Rating Only


« Reply #4 on: March 31, 2010, 04:05:14 AM »

VC - You might try dropping your *.flv or *mp4 file into Avidemux. Check that it's being read properly by running the slider at the bottom across a bit and back. Go to the bar, Audio > Save. Browse to a destination - name the file and Save it.

> Open it in Audacity by dropping it in the window. You can then Select the exact part of the Audio you want to Save. Go to File > Export Selection, Click on that. (To save the entire extracted file, just use File > Export.) On the bottom tab select format, FLAC, etc. Then in Options (for FLAC) - select quality level. Level 8 is highest but will make a needlessly large file for an *.mp3 save.

> A 2.8MB *.mp3 file saved at FLAC Level 8 will give a FLAC file of about 22MB. If you use Level 5, about 3.3MB.

> If using the *Tube sites, if you have the option of downloading HQ FLV or HQ MP4, the latter will usually have the better Audio track.

Regards, Dave.
Logged

Registered Linux User #412504          Trainee Linuxer, jg
JohnBoy
Hero Member
*****
Offline Offline

Posts: 4811


MLU


« Reply #5 on: March 31, 2010, 06:10:02 AM »

Quote from: vc
I select '0', again click OK, and... it dies.

Selecting something other than 0 and PACPL works here.

Try it!
Logged
Archie
Hero Member
*****
Offline Offline

Posts: 2362



« Reply #6 on: March 31, 2010, 07:42:05 PM »

Try it on a Konsole.

Code:
ffmpeg -i <flv_or_mp4.file> <output_file.flac>
Logged

Linux Counter # 401868
vc
Hero Member
*****
Offline Offline

Posts: 505


*** WHY? ***


« Reply #7 on: April 01, 2010, 06:15:34 AM »

Selecting something other than 0 and PACPL works here.

Try it!

Thank you, JohnBoy - I suppose it was merely my bad luck, to initially have chosen the one .flac compression level that is dysfunctional.  For the purpose of this thread, therefore, PACPL does seem adequate and I shall now mark the thread as [SOLVED], accordingly.

WinFF, however, is still not functional - I have utilised Synaptic to 'Completely Remove' it (and manually deleted the /home/me/.winff directory and files that Synaptic left behind, regardless), then re-installed it anew; yet it still fails to run and produces only the "Access Violation" popup message.  Something in the recent updates may have broken that particular app, somehow?

Regarding the other suggestions:  though I do wish to thank all for the respective assistances offered, the various editors seem to be a bit of an overkill for a simple conversion, and right-clicking upon a file is more convenient to me than opening a terminal.  The PACPL method appears to be satisfactory, so I shall make use of it.
Logged
JohnBoy
Hero Member
*****
Offline Offline

Posts: 4811


MLU


« Reply #8 on: April 01, 2010, 09:12:57 AM »

I can confirm that WinFF is now giving me the same Access Violation .....
Logged
vc
Hero Member
*****
Offline Offline

Posts: 505


*** WHY? ***


« Reply #9 on: April 01, 2010, 11:39:49 AM »

I can confirm that WinFF is now giving me the same Access Violation .....

I thank you for your confirmation JohnBoy, and hope that the problem may be rectified.  Perhaps it may seem a trivial matter to most; however, as I have recently discovered a number of rather surprising musical selections now available on YouTube I have also been busy with downloading their respective .flv and .mp4 files accordingly.  The only remaining issue was the .flac conversion, which has since been resolved satisfactorily.  Thank you again, JohnBoy!  I really thought this particular music had been lost forever - and now that I am able to listen to it again after so many years, I am quite determined to keep local copies of it.
Logged
tuxfriend
Hero Member
*****
Offline Offline

Posts: 847


« Reply #10 on: April 03, 2010, 04:31:07 AM »

I can confirm that WinFF is now giving me the same Access Violation .....

I had that error yesterday.  Cry

If you haven't known by now - the command line sometimes is the last resort.  Cool
Logged

Best regards

Eddie
JohnBoy
Hero Member
*****
Offline Offline

Posts: 4811


MLU


« Reply #11 on: April 03, 2010, 06:14:53 AM »

I can confirm that WinFF is now giving me the same Access Violation .....

I had that error yesterday.  Cry

If you haven't known by now - the command line sometimes is the last resort.  Cool

This is a reported bug on Mandriva (and Ubuntu also) and maybe others.

Did using the command line do something for you?

Does nothing here except confirm the bug!   Sad
Logged
tuxfriend
Hero Member
*****
Offline Offline

Posts: 847


« Reply #12 on: April 03, 2010, 06:23:57 AM »

Does this work for you?
Logged

Best regards

Eddie
JohnBoy
Hero Member
*****
Offline Offline

Posts: 4811


MLU


« Reply #13 on: April 03, 2010, 07:21:08 AM »

Does this work for you?


No
"Oh no! It looks like the page you're trying to find isn't around anymore."   Cheesy

...  anyway it seems it was about how to "convert flv files mpeg linux" which is not quite relevant to getting WinFF working ........  from command line or otherwise   Wink
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM