LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-18-2006, 02:03 PM   #16
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15

According to a forum notice they lost a server a short time ago too; lost a lot of files irrecoverably. I don't think they are back on their feet yet. I went to http://homepage.mac.com/johnmm/publi...e.DailyBuilds/ which is were they say builds are made daily from the cvs depository and the download link doesn't work.
 
Old 01-18-2006, 03:09 PM   #17
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
I have been using this script to make this a little more covenant for my self it's just a quick job and i don't think it will work right with aspect ratios other then 16:9 or 4:3.

Code:
# encodes video to ipod mpeg4 with aac audio

if [ -n "$1" ]
# Test if command line argument (file name) is present (non-empty).
then
  echo "Source file: "$1
else  
  echo "Usage:  enc2ipod <sourcefile> [16:9|4:3]" && exit
fi  

if [ -n "$2" ]
# Test if command line argument (aspect ratio) is present (non-empty).
then

  ffmpeg -i $1 -vcodec mpeg4 -b 640 -s 320x240 -aspect $2 -acodec aac -ab 96 $1.mp4

else

  echo "No aspect ratio specified assuming 16:9" &&   ffmpeg -i $1 -vcodec mpeg4 -b 640 -s 320x176 -aspect 16:9 -acodec aac -ab 96 $1.mp4

fi

exit
 
Old 01-18-2006, 05:10 PM   #18
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Original Poster
Rep: Reputation: 45
and this is just video correct? not ripping from DVD, but just conversion right? Thanks for posting
 
Old 01-18-2006, 05:32 PM   #19
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
this script encodes a video file but doesn't rip the dvd if you have mplayer installed you can rip a dvd like this:
Code:
mplayer -dumpstream -dumpfile rip.vob dvd://
then check the aspect ratio 4:3 - full screen or 16:9 - widescreen and run the script to to encode it (but I hope you have somewhere like 12gig free for working space) this should work if you have any problems let me know. but using this method I was watching a clock work orange the same day I got the ipod
 
Old 01-19-2006, 08:36 PM   #20
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
Thats what I am looking for, though when I run it I get "Unknown audio codec 'aac'". Afterward, I checked and installed faac and faad2 then attempted again and got the same. Do I have to enable at ffmpeg install to get it to work? If thats the case can I install from source over my urpmi installation of do I have to uninstall the rpm before. By doing the latter I would have to uninstall kino, klvemkdvd and lve whick would be a pain but I guess i could.

Maybe there is a conf I could edit?

rock
 
Old 01-24-2006, 03:08 PM   #21
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
uninstall ffmpeg. then reinstall it from the source. configure with the --enable-aac option. you shouldn't have to uninstall those other apps.
 
Old 02-13-2006, 09:21 PM   #22
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
If I try enc2ipod on a VOB derived from a commercially produced video ffmpeg gives a segmentation fault error if I use a home made VOB made with dvdauthor it all works fine. See results below.

$ mplayer -alang eng -dumpstream -dumpfile rip.vob dvd:// (commercial video)
MPlayer dev-CVS-051220-04:08-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin(Family: 15, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


89 audio & 203 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing dvd://.
Reading disc structure, please wait...
There are 62 titles on this DVD.
There are 22 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
Core dumped

Exiting... (End of file)

$ tcprobe -i rip.vob
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for rip.vob, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
aspect ratio: 4:3 (*)
frame rate: -f 29.970 [25.000] frc=4 (*)
PTS=0.2806, frame_time=33 ms, bitrate=9800 kbps
audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
PTS=0.2806, bitrate=192 kbps
-D 0 --av_fine_ms 0 (frames & ms) [0] [0]

$ enc2ipod rip.vob 4:3
Source file: rip.vob
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --enable-mp3lame --enable-libogg --enable-vorbis --enable-theora --enable-faad --enable-faadbin --enable-faac --enable-xvid --enable-a52 --enable-a52bin --enable-shared --enable-gpl
libavcodec version: 51.1.0
libavformat version: 50.0.0
built on Jan 22 2006 15:41:03, gcc: 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
/usr/bin/enc2ipod: line 21: 9557 Segmentation fault ffmpeg -i $1 -vcodecmpeg4 -b 640 -s 320x240 -aspect $2 -acodec aac -ab 96 $1.mp4
[/COLOR]

But then if I try enc2ipod with a VOB made from dvdauthor of my own home video it all works great. Is there a copy protection issue at work here?

ps I threw the -alang switch in thinking there may have been a problem with the mulitple languages in the resulting VOB but results are the same with or without it.

Any clues?

rock
 
Old 02-15-2006, 07:26 PM   #23
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
the dvd is css encrypted do you have libdvdcss installed? can you watch said dvd in mplayer? sometimes they switch the stream orders on these to make them more dificult to duplicate (you can use the -map option with ffmpeg to rearange these to a more sensible order, or can you run them through dvdauthor before you run this) A lot of the movies I've been using were previously riped and encoded for 4.7Gb DVD-R but this is working fine for me with these and most of the stuff I get off bittorrent.
 
Old 02-15-2006, 08:27 PM   #24
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
I have always been able to play the dvd on xine, mplayer and the rest, and I backed it up using dvdbackup and can play the resulting vob files. I can convert the file to an avi or mpeg with transcode using ffmpeg, and encode that to mp4 with the with your ffmpeg command, Steve.

I just installed all the libdvdstuff available on mandriva's rpm database and the devel versions to no avail, unless I have to reinstall ffmpeg from the cvs source to make use of them. I had libdvdread installed already that should have been all I needed or I wouldn't have been able to play the video as you pointed out.

The workaround is to convert to avi and then enc2ipod. I guess I can do that, unless I have to reinstall from source for ffmpeg to recognize the newly installed lidvdcss and the others. Its a protection issue no doubt. I have tried other ffmpeg encoding options with the same results; my personal vobs work, commercial ones don't.

i am still working on it but I am pretty stumped. The next thing I am going to do is remove it and install a rpm version, if that works on the commercial vobs I will try the cvs again. The reason I went with the source install is the urpmi install did not enable aac for ipod mp4, but that will be a different error.

I will report the results this weekend. If you can think of anything else let me know.

Thanks,

rock
 
Old 02-16-2006, 05:04 PM   #25
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Sorry, I haven't been out to blockbuster in a while; I owe them money and why get off my ass when I can just get it off bittorrent. so I don't believe I've tested this with commercial dvds at all mostly tv shows off bittorrent. also this worked for me right away so I had no reason to improve it (very crude) but I have everything (I mean everything it's gentoo) installed from source and this could have something to do with it.
 
Old 02-18-2006, 04:27 PM   #26
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
A search of the ffmpeg cvs bug report archives revealed this:

Hi

On Fri, Feb 10, 2006 at 09:02:32PM +0000, Tyler Loch wrote:
> In the latest CVS builds, .vob program streams, giving an "Unknown format" when
> read.

should be fixed

[...]

--
Michael

The rest of the thread can be seen at:

http://mplayerhq.hu/pipermail/ffmpeg...ry/007386.html

Note the date. I downloaded another cvs and the problem of vobs went away.

Live and learn

rock
 
Old 02-21-2006, 11:09 AM   #27
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
So it works now?
 
Old 02-23-2006, 04:28 PM   #28
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
Yes, now it works, though I can't explain why it affected only commercial vobs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM
Install Suse on Ipod and boot from Ipod??? lemuel Linux - Newbie 4 12-27-2004 07:04 AM
ipod detected and added by kudzu but no files in /mnt/ipod gtan Linux - Hardware 5 08-31-2004 09:19 AM
ripping audio from dvds catzmiyow Linux - Software 2 05-10-2004 11:27 AM
Problem ripping dvds using K3b in mdk 9.2 hari_seldon99 Linux - Software 0 01-19-2004 06:44 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration