LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2006, 02:04 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Question DVD 2 Theora on the fly


Guys, I'm trying to "pipe" a DVD to ffmpeg2theora using a named pipe, but it fails.

What am I doing wrong?

Code:
$ mkfifo pipe.fifo
$ ffmpeg2theora -o video.ogg pipe.fifo &
[1] 8048
$ mencoder dvd://2 -oac pcm -ovc copy -o pipe.fifo
MEncoder 2:0.99+1.0pre8-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm)  (Family: 6, Model: 8, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.

WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
Reading disc structure, please wait...
There are 14 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0  data: 0x0 - 0xde088800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  7600.0 kbps (950.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [dvdpcm] Uncompressed DVD/VOB LPCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16be, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dvdpcm] afm: dvdpcm (Uncompressed DVD/VOB LPCM)
==========================================================================
videocodec: framecopy (720x480 24bpp fourcc=10000002)
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

File pipe.fifo has unknown data format
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
pipe.fifo: Error writing file.0fps Trem:   0min   0mb  A-V:0.000 [0:0]

Exiting...
[1]+  Exit 1                  ffmpeg2theora -o video.ogg pipe.fifo
$
I tried creating a "mid-step" file and then encoding and it worked flawlessly. How can I make it with the named pipe instead of the file?
 
Old 12-03-2006, 04:36 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,845

Rep: Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006
My guess is that you need to start mencoder before ffmpeg2theora. ffmpeg probably needs to have a detectable video format in the pipe when it starts.
 
  


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
Converting video to Ogg / Theora akbar14 Linux - Software 3 11-03-2006 05:38 AM
How to convert Quicktime movie/WMV to Ogg Theora? fhd Linux - Software 5 08-26-2006 01:48 AM
Converting proprietary audio/video formats to ogg vorbis/theora? brynjarh Linux - Software 2 08-26-2006 12:52 AM
The command to burn dvd on-the-fly scng Linux - Software 3 10-04-2005 11:19 AM
mencoder -> theora questions chunlee Linux - Software 4 01-11-2005 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration