SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-10-2011, 03:42 PM
btf1962 btf1962 is offline
Sage User
 
Join Date: Feb 2010
Location: Rochester, NY
Posts: 22
ffmpeg not working after change from 7.0.12.1 to 7.0.23.1

Going from SageTV 7.0.12.1 to 7.0.23.1 I managed to break video conversions.

Previously I generated iPhone widescreen conversions just fine. Now the conversions produce a much larger and broken file output. Playback shows audio and video are out of sync.

I revamped my Ubuntu server going from Ubuntu 9.10 server to Ubuntu 10.10 desktop. I used these Debian packages downloaded from sagetv.com

sagetv-client_7.0.23_i386.deb
sagetv-server_7.0.23_i386.deb

I restored my database and /var/media directories and everything seems great. (Recording, viewing, etc. are just fine.)

But conversions are now botched.

Here's the ffmpeg -version output from before and after.

ffmpeg -version under 7.0.12.1 (old - worked):
Code:
FFmpeg version SVN-r67, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --disable-ffserver --disable-ffplay --enable-gpl --enable-pthreads --enable-libfaad --enable-libfaac --enable-libx264 --enable-libxvid --disable-devices --disable-bzlib --prefix=/sage/bin/mplayerhq-sage/libs/ --extra-cflags=-I/sage/bin/mplayerhq-sage/libs/include --extra-ldflags=-L/sage/bin/mplayerhq-sage/libs/lib --disable-demuxer=msnwc_tcp
  libavutil     50. 2. 0 / 50. 2. 0
  libavcodec    52.22. 3 / 52.22. 3
  libavformat   52.32. 0 / 52.32. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 7. 1 /  0. 7. 1
  built on Jul 14 2010 16:22:41, gcc: 4.4.3
FFmpeg SVN-r67
libavutil     50. 2. 0 / 50. 2. 0
libavcodec    52.22. 3 / 52.22. 3
libavformat   52.32. 0 / 52.32. 0
libavdevice   52. 1. 0 / 52. 1. 0
libswscale     0. 7. 1 /  0. 7. 1
ffmpeg -version under 7.0.23.1 (new - broken):
Code:
FFmpeg version SVN-r90, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct  7 2010 18:39:46 with gcc 4.4.3
  configuration: --disable-ffserver --disable-ffplay --enable-gpl --enable-pthreads --enable-nonfree --enable-libfaac --enable-libx264 --enable-libxvid --disable-devices --disable-bzlib --prefix=/sage/bin/mplayerhq-sage/libs/ --extra-cflags=-I/sage/bin/mplayerhq-sage/libs/include --extra-ldflags=-L/sage/bin/mplayerhq-sage/libs/lib --disable-demuxer=msnwc_tcp --enable-libfaad
  libavutil     50.22. 0 / 50.22. 0
  libavcodec    52.83. 0 / 52.83. 0
  libavformat   52.73. 0 / 52.73. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.22. 0 /  1.22. 0
  libswscale     0.11. 0 /  0.11. 0
FFmpeg SVN-r90
libavutil     50.22. 0 / 50.22. 0
libavcodec    52.83. 0 / 52.83. 0
libavformat   52.73. 0 / 52.73. 0
libavdevice   52. 2. 0 / 52. 2. 0
libavfilter    1.22. 0 /  1.22. 0
libswscale     0.11. 0 /  0.11. 0
I also noticed changes in the Sage.properties file defining the parameters for transcoder/formats/iPhone-Widescreen:

7.0.12.1 (old - working):
Code:
transcoder/formats/iPhone-Widescreen=f\=mp4;MCompressionDetails\=-deinterlace -g 150 -qmin 26 -level 30 -flags loop -sc_threshold 40 -partitions partp4x4 -rc_eq blurCplx^(1-qComp) -refs 1 -qmax 51 -maxrate 768000 -bufsize 768k -keyint_min 40 -async 50;[bf\=vid;f\=h264;br\=640000;fps\=29.97;w\=480;h\=272;arn\=16;ard\=9;][bf\=aud;f\=aac;sr\=48000;ch\=2;br\=128000;]
7.0.23.1 (new - broken):
Code:
transcoder/formats/iPhone-Widescreen=f\=mp4;MCompressionDetails\=-coder 0 -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method umh -subq 8 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 2 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 0 -refs 5 -directpred 3 -trellis 1 -flags2 -wpred-dct8x8 -wpredp 0 -rc_lookahead 50 -level 13 -maxrate 768000 -bufsize 3000000 -async 50;[bf\=vid;f\=h264;br\=640000;fps\=29.97;w\=480;h\=272;arn\=16;ard\=9;][bf\=aud;f\=aac;sr\=48000;ch\=2;br\=128000;]
I will probably try to use the old transcoder/format/iPhone-Widescreen definition in the new Sage.properties file and see how that goes ...
Reply With Quote
  #2  
Old 03-15-2011, 10:41 AM
btf1962 btf1962 is offline
Sage User
 
Join Date: Feb 2010
Location: Rochester, NY
Posts: 22
Apparently the old transcoder format definition will not work with the newer version of ffmpeg. May turn this into an official service request ...
Reply With Quote
Reply

Tags
conversion, ffmpeg, iphone, ubuntu


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
S-Video Capture not working on Channel Change davinman Hardware Support 4 03-26-2010 08:15 PM
Firewire channel change not always working Sam Hardware Support 15 04-06-2009 10:19 AM
Change Category not working Julianus SageMC Custom Interface 0 12-26-2008 08:39 AM
Mencoder instead of FFmpeg TechBill SageTV Beta Test Software 1 02-10-2008 11:23 PM
ffmpeg help ChePazzo SageTV Linux 4 12-04-2006 09:52 AM


All times are GMT -6. The time now is 01:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.