View previous topic :: View next topic |
Author |
Message |
richard Ultimate Member

Joined: 13 Apr 2025 Posts: 2730 Location: Kent, United Kingdom
|
Posted: Mon Feb 11, 2025 8:30 am Post subject: Convert flash to mpeg |
|
|
I've got some flash files that have been pulled for YouTube which I need to convert to mpeg for people who don't have access to the internet. I'm wondering if there is a way to do this with out me having to fire up a virtual copy of windows?
_________________ Windows Vista / Ubuntu 8.10
|
|
Back to top |
|
jester Sr. Member

Joined: 19 Apr 2025 Posts: 1166
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
Posted: Mon Feb 11, 2025 9:36 am Post subject: |
|
|
It's not working for me on sound. I'm wondering if there's a way to convert to using tovid rather than ffmpeg for the encoding?
_________________ Mandriva 2025.1 PWP
Mandriva Cooker
ArtistX live
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
|
Back to top |
|
richard Ultimate Member

Joined: 13 Apr 2025 Posts: 2730 Location: Kent, United Kingdom
|
Posted: Mon Feb 11, 2025 4:01 pm Post subject: |
|
|
I just tried your modified script DedannaRocks and it worked like a charm. I did have to install a couple dependencies but it was easy enough to do.
_________________ Windows Vista / Ubuntu 8.10
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
Posted: Mon Feb 11, 2025 10:13 pm Post subject: |
|
|
I'm getting the vids a bit out of syc - video delay, so next one I'm going to try a more modified one. Added an option to tovid. I think the length of the vids is giving tovid a chance to start lagging. We'll see how it goes:
Code: | #!/bin/bash
# by Crouse
# Program name ytr = YouTube.com Ripper
baseurl="http://youtube.com/get_video.html?"
mkdir -p ~/YouTube ;
mkdir -p ~/YouTube/tmp ;
cd ~/YouTube/tmp ;
read -p "What is the youtube.com url you want to rip ? " urltorip ;
read -p "What would you like to name the video (no spaces in the name) ? " nameofvideo ;
wget ${urltorip} -O urlsource.txt ;
grep "watch_fullscreen" urlsource.txt > url.info;
videourl=`sed "s;.*\(video_id.\+\)&title.*;\1;" url.info`;
fullurl=${baseurl}${videourl};
echo ${fullurl};
rm *;
wget ${fullurl};
mv * *.flv;
echo "Now converting the file to mpeg ... this can take awhile, please be patient" ;
tovid -in *.flv -out ${nameofvideo} -ffmpeg -half-dvd -ntsc;
mv *.mpg ../;
rm -Rf ~/YouTube/tmp;
exit |
_________________ Mandriva 2025.1 PWP
Mandriva Cooker
ArtistX live
|
|
Back to top |
|
DocZayus Ultimate Member

Joined: 15 Feb 2025 Posts: 2199 Location: Fredericton, New Brunswick
|
Posted: Tue Feb 12, 2025 12:12 am Post subject: |
|
|
media-convert.com
convert anything to anything, without any 3rd party app.
OS independent.
try it. Nothing to install.
_________________ Sabayon
Vista
|
|
Back to top |
|
tlmiller Ultimate Member

Joined: 01 May 2025 Posts: 2434 Location: MD, USA
|
Posted: Tue Feb 12, 2025 12:57 am Post subject: |
|
|
DocZayus wrote: | media-convert.com
convert anything to anything, without any 3rd party app.
OS independent.
try it. Nothing to install. |
Wow, awesome!! Bookmarked.
_________________ Debian Squeeze, Arch, Kubuntu mostly. Some Mandriva. Some Windows.
Desktops: shadowdragon, medusa
Laptops: bluedrake, banelord, sandwyrm, aardvark.
|
|
Back to top |
|
richard Ultimate Member

Joined: 13 Apr 2025 Posts: 2730 Location: Kent, United Kingdom
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
|
Back to top |
|
DocZayus Ultimate Member

Joined: 15 Feb 2025 Posts: 2199 Location: Fredericton, New Brunswick
|
Posted: Wed Feb 13, 2025 2:01 am Post subject: |
|
|
You can still get a Firefox plugin that wil save you the /flv file that can then be uploaded/converted.
_________________ Sabayon
Vista
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
|
Back to top |
|
mmmna . . . .

Joined: 21 Apr 2025 Posts: 7224
|
Posted: Wed Feb 13, 2025 5:28 pm Post subject: |
|
|
DocZayus wrote: | You can still get a Firefox plugin that wil save you the /flv file that can then be uploaded/converted. | Plugin name, please? Thx!
|
|
Back to top |
|
DocZayus Ultimate Member

Joined: 15 Feb 2025 Posts: 2199 Location: Fredericton, New Brunswick
|
Posted: Thu Feb 14, 2025 3:50 am Post subject: |
|
|
videodownloader
......
_________________ Sabayon
Vista
|
|
Back to top |
|
mmmna . . . .

Joined: 21 Apr 2025 Posts: 7224
|
Posted: Thu Feb 14, 2025 1:03 pm Post subject: |
|
|
Oh.
_________________ -Kubuntu 10.04 LTS Beta2 on Celeron D desktop
-PCLinuxOS 2025 LXDE on EeePC 900A with Atom n270 (modded with 32G SATA drive and 2G ram).
|
|
Back to top |
|
|