View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Aug 06, 2008 9:20 am 
Offline
Joined: Wed Aug 06, 2008 12:08 am
Posts: 19
Hoping someone can help me out. When I attempt to transcode from VOB to H264 using the transcode program:
Code:
transcode -i filename.vob -I 5 -g 720x480 -f 0,1 -M 2 -y ffmpeg -F h264,null -A -N 0x2000 -o /dev/null --print_status 20 --color 0 -R 1,x264_2pass.log


I get the following error:

Code:
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source filename.vob (ok)
[transcode] V: import format    | MPEG    (V=null|A=null)
[transcode] V: AV demux/sync    | (2) initial MPEG sequence / enforce frame rate
[transcode] V: import frame     | disabled
[transcode] V: de-interlace     | (mode=5) interpolate scanlines / blend frames
[transcode] V: bits/pixel       | 0.000 (unknown)
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: multi-pass       | (mode=2) reading data (pass2) from x264_2pass.log
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import           | disabled
[transcode] A: export           | disabled
[transcode] V: encoding fps,frc | 23.976,1
[transcode] A: bytes per frame  | 0 (0.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse (sse 3dnowext 3dnow mmxext mmx asm C)
tc_memcpy: using sse for memcpy
[transcode] V: video buffer     | 10 @ 0x0
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc51.11.0 | (audio) MPEG/AC3/PCM
[export_ffmpeg.so] Could not find a FFMPEG codec for 'h264'.
[transcode] warning : (encoder.c) video export module error: init failed
[transcode] critical: failed to init encoder



I think the error is in the compliation of ffmpeg under R5.5:
Code:
sh-3.1$ ffmpeg -version
FFmpeg version SVN-r12391, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-libmp3lame --enable-libfaac --enable-liba52 --enable-libvorbis --enable-gpl --enable-shared --enable-libxvid --prefix=/usr --enable-libtheora --arch=i586 --cpu=i586 --enable-pthreads --enable-avfilter --enable-postproc
  libavutil version: 49.6.0
  libavcodec version: 51.51.0
  libavformat version: 52.9.0
  libavdevice version: 52.0.0
  libavfilter version: 0.0.0
  built on Apr 16 2008 05:24:04, gcc: 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
FFmpeg SVN-r12391
libavutil   3212800
libavcodec  3355392
libavformat 3410176
libavdevice 3407872


Note, there is no --enable-libx264 flag set under this compilation.

Is anyone else having this issue?

Can I simply download the SVN for ffmpeg, build it using the right flags, and install it, or would I need to rebuild transcode as well with the new libraries?

Thx


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 20, 2008 11:29 am 
Offline
Joined: Fri Feb 24, 2006 4:39 pm
Posts: 30
Location: Seattle, Washington
You can get x264 by enabling the debian-multimedia apt sources and installing ffmpeg from there. See the following page for some instructions on doing this: http://knoppmyth.net/phpBB2/viewtopic.p ... 0815315699


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 20, 2008 12:56 pm 
Offline
Joined: Fri Feb 24, 2006 4:39 pm
Posts: 30
Location: Seattle, Washington
I went back and revisited the process. The following is a condensed version of what I posted in that thread:

Edit /etc/apt/sources/conf and uncomment the following lines:
Code:
deb http://www.debian-multimedia.org unstable main
deb-src http://www.debian-multimedia.org unstable main


Run the following commands as root:

Backup a couple configuration files:

Code:
cp /etc/ffserver.conf /etc/ffserver.R5.5-orig
cp /etc/mplayer/mplayer.conf /etc/mplayer/mplayer.R5.5-orig


Perform the upgrade--you have to upgrade ffmpeg, mplayer and transcode together (along with a few dependencies)

Code:
apt-get update
apt-get remove transcode mplayer
apt-get install ffmpeg libavcodec51 libavdevice52 libavformat52 libavutil49 transcode mplayer


You will be asked if you want to change configuration files for ffserver and mplayer. Press Y to accept and examine changes from backups made above if you find any problems.

Finally, check ffmpeg version to confirm change:
Code:
ffmpeg -v


Top
 Profile  
 
 Post subject: doesn't work any more
PostPosted: Sat May 23, 2009 4:54 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
The directions from Aug.2008 don't work any more. There are dependency errors.

I found that if you change the sources to SID rather than UNSTABLE or even STABLE, the dependency problems are fixed.

/etc/apt/sources.list
Code:
deb http://www.debian-multimedia.org sid main
deb-src http://www.debian-multimedia.org sid main

then
Code:
apt-get update
apt-get remove transcode mplayer
apt-get install ffmpeg transcode mplayer

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
PostPosted: Thu Jul 23, 2009 11:02 am 
Offline
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
neutron68 wrote:
The directions from Aug.2008 don't work any more. There are dependency errors.

I found that if you change the sources to SID rather than UNSTABLE or even STABLE, the dependency problems are fixed.

/etc/apt/sources.list
Code:
deb http://www.debian-multimedia.org sid main
deb-src http://www.debian-multimedia.org sid main

then
Code:
apt-get update
apt-get remove transcode mplayer
apt-get install ffmpeg transcode mplayer

That's a bit odd from my understanding of what sid, stable, and unstable mean in Debian-speak. I am looking for a what all the lines in R5.5 sources.list should look like now...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu