NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 677 678 679 680 681 … 1231 Next »
FFMPEG doesn't transcode the complete movie

 
  • 0 Vote(s) - 0 Average
FFMPEG doesn't transcode the complete movie
pluto1209
Offline

Junior Member

Posts: 10
Threads: 2
Joined: Dec 2005
#1
2005-12-04, 08:24 PM
I've used the FFMPEG from within GB PVR to transcode movies, and I tried in a command prompt with the same result. Whenever I try to transcode a movie or anything recorded longer than approx. 1h20min, FFMPEG stops transcoding after that time, it just does a normal exit without errors. This is the option that I have, do I miss one to transcode larger files ?

-f avi -vcodec xvid -b 1700 -ab 192
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2005-12-04, 08:29 PM
What speed CPU have you got in your machine?
pluto1209
Offline

Junior Member

Posts: 10
Threads: 2
Joined: Dec 2005
#3
2005-12-04, 08:31 PM
I've got a P4 2.6GHz and 1 GB ram
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2005-12-04, 08:37 PM
Scratch that thought. I had a vague recollection that I had some logic that would kill the transcode process after a certain amount of time (thinking it'd never finish), but thats not the case - I removed that logic a long time ago.

To be honest, I dont know. Probably a bug in ffmpeg. I didnt see that here in my tests, but i cant remember for sure whether I recorded anything longer than that.
pluto1209
Offline

Junior Member

Posts: 10
Threads: 2
Joined: Dec 2005
#5
2005-12-05, 04:36 AM
Thanks Sub...Is there someone else in the Forum that could say if they have used FFmpeg to transcode something longer than 1h20min ?
GSpanFan
Offline

Junior Member

Posts: 47
Threads: 10
Joined: Apr 2005
#6
2006-03-09, 03:24 AM
I've recently ran into this problem. Large recordings stop transcoding at 01:27:54 using the xvid codec. Although the file sizes in bytes were proportionally what I'd expect for a fully transcoded file. Any suggestions? Maybe I've got an old xvid codec installed... (?)
djtaylor
Offline

Senior Member

Posts: 505
Threads: 48
Joined: Jan 2006
#7
2006-03-09, 08:22 AM
If you search back, I found that mine were stopping at 1:46.33

I believe this is a problem with the libavcodec library that is used by both mencoder and ffmpeg and it's my belief that this struggles to deal with generated avi files that result in >1GB. Note, i'm not talking about the input size of the file, this is nothing to do with the original mpeg size.

Yes the resultant size is correct and can even be viewed via some software but I suspect that the library sets wrong values in the avi header.

If I reduced the encoding bitrate down to 900, I found that it worked just fine. Of course, for shorter movies, there's a lower bitrate hit that is unnecessary but it's an either or it seems without manual intervention.

Reduce the bitrate and my bet is that it will work fine.

David.
GSpanFan
Offline

Junior Member

Posts: 47
Threads: 10
Joined: Apr 2005
#8
2006-03-09, 04:34 PM
Thanks for the suggestion David, I will try reducing the bitrate... although I'm reluctant to go to low and sacrifice on video quality especially for a 3 hour recording.

Also for anyone interested I was using an old Xvid codec and then upgraded to the newest version only to find out that the previously encoded videos wouldn't play (some kind of "pin" error). Thus I suspect I have an old/hacked/faulty codec in the first place that might be generating this error (or there's something wrong with the new one). I won't have access to my box I have GBPVR on for the next week or so, but will eventually post in this thread if I can find a workaround that doesn't involve reducing the bitrate.
djtaylor
Offline

Senior Member

Posts: 505
Threads: 48
Joined: Jan 2006
#9
2006-03-09, 05:24 PM
Split the file in half or into 3 chunks then transcode?
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#10
2006-03-10, 12:59 AM
djtaylor has the right idea, I had an issue just like he's describing.. in MEncoder, using libavcodec gave the same error.

The way I got it to fix is by using XviD as the codec in mencoder (so you do -ovc xvid). It's a slower transcode, but I've seen it's much less blocky and gives better quality. It happens overnight anyway after all, so I don't care if it takes a little longer.

fwiw, this works wonders for me: (the bitrate I use is pretty high; if you're just going to watch the recording you should drop the bitrate and resolution.. 512x384 @ 1000 bitrate should be very nice)

Quote:mencoder <input_file> -ovc xvid -xvidencopts bitrate=2000:me_quality=6:noqpel:chroma_me:bvhq=1:trellis:hq_ac:quant_type=mpeg -oac mp3lame -lameopts mode=2:cbr:br=128 -vf softskip,scale=640:480 -forceidx -ofps 29.97 -o <output_file>

If you want to use GBPVR's built-in processing function, just stick mencoder in the Third Party\ffmpeg folder and rename it to ffmpeg.exe, and update the config.xml to an mencoder-type command line.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Transcode Problem axeman91 7 3,405 2010-11-22, 09:02 AM
Last Post: goelectric
  IR Blaster doesn't change to channel missing show details Kid_Ego5150 3 2,122 2010-11-13, 02:11 AM
Last Post: sub
  Selecting a different decoder doesn't seem to make it use the selected decoder? jksmurf 6 2,340 2010-06-01, 10:58 PM
Last Post: pBS
  Config doesn't seem to be updating... Miller 1 1,692 2010-05-28, 12:50 AM
Last Post: JonnyCam
  Scheduled EPG update doesn't work? allstarnz 4 2,106 2010-05-12, 07:38 AM
Last Post: allstarnz
  How do I activate ffmpeg to automaticaliy convert MPG video to AVI format in GbPVR HYBRiD.BLiNG 0 1,266 2010-04-18, 01:52 AM
Last Post: HYBRiD.BLiNG
  Adding subtitles or movie to STranscode.bat maddogmike 0 1,259 2010-04-14, 02:34 PM
Last Post: maddogmike
  A Complete noob question about remote controller mpooley 3 1,969 2010-04-01, 11:52 AM
Last Post: jw100
  PC doesn't wake up sometimes aesn5 15 4,559 2010-03-18, 09:52 PM
Last Post: aesn5
  PC wakes up, but doesn't go back to hibernate Probedude 6 2,720 2010-03-13, 05:01 PM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode