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 … 904 905 906 907 908 … 1231 Next »
Conversion process - What am I missing

 
  • 0 Vote(s) - 0 Average
Conversion process - What am I missing
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#11
2005-12-01, 01:13 AM
Cheers. This is very useful info.

Quote:- One important discovery that I made (a feature people will start asking for at some point) is how to get the name of the recording to appear correctly when viewed on the PSP. (So, The Bernie Mac Show is listed as such on the PSP Video Menu rather than MV4xxxxx.MP4.) To do this you will need to use the flag "-title string" where string is equal to the name of the show. Conceptually I can see how this can be acheived. Sadly, passing a unique show name to FFmpeg for each converted file is WAY beyond my programming ability so I won't be of much help there.
I'll make sure you can do this in the next build.

Quote:- And just to re-iterate, the proper naming format for a PSP video file is M4Vxxxxx.MP4 where x is a unique string of 5 numbers. Also, as I understand it, the letters must be capitalized.
I'll probably leave this to user.
daphatty
Offline

Posting Freak

Posts: 1,032
Threads: 85
Joined: Feb 2005
#12
2005-12-01, 01:20 AM
sub Wrote:Cheers. This is very useful info.

Great, glad to be of help. One thing I forgot to mention about the profiles.xml file I posted is the file is from a slightly older version of PSPV9 (1.6 IIRC). It's still a great example of the types of settings you can use and they have been proven to work.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#13
2005-12-01, 01:21 AM
I'll probably only include one or two default profiles, but there user can always edit them or add additional ones if they want to.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#14
2005-12-01, 01:38 AM
daphatty, any chance you could try editing your config.xml and set it to include:

Code:
<CustomFFmpegConversions>
    <Conversion name="XviD" cmd="-i {SOURCE_FILE} -f avi -vcodec xvid -b 1250 {DEST_FILE}" targetExtension=".avi" />
    <Conversion name="Video Ipod" cmd="-y -i {SOURCE_FILE} -f mp4 -vcodec mpeg4 -s 320x240 -r 15 {DEST_FILE}" targetExtension=".mp4" />  
    <Conversion name="Sony PSP" cmd="-y -i {SOURCE_FILE} -bitexact -vol 256 -vcodec xvid -s 368x208 -r 29.97 -b 1500 -acodec aac -ac 2 -ar 24000 -ab 64 -f psp -muxvb 768 {DEST_FILE}" targetExtension=".mp4" />
    <Conversion name="Mobile .3GP" cmd="-i {SOURCE_FILE} -acodec aac -vcodec mpeg4 -s qcif -aspect 4:3 -hq {DEST_FILE}" targetExtension=".3gp" />
  </CustomFFmpegConversions>

I havnt tried it, but it should do the job.
daphatty
Offline

Posting Freak

Posts: 1,032
Threads: 85
Joined: Feb 2005
#15
2005-12-01, 02:31 AM
Sure thing. I'll edit it now.
daphatty
Offline

Posting Freak

Posts: 1,032
Threads: 85
Joined: Feb 2005
#16
2005-12-01, 03:27 AM
First test results with the new setting - Failed. Here's an excerpt.. Full log attached.

Quote:11/30/2005 10:00:47 PM.187 VERBOSE [20] About to start transcode of: D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_21302200.mpg
11/30/2005 10:00:47 PM.187 VERBOSE [20] getValue() loading new key/value into cache: /settings/AutoConvertMpgToFormat
11/30/2005 10:00:47 PM.187 VERBOSE [20] getValue: /settings/AutoConvertMpgToFormat : Sony PSP
11/30/2005 10:00:47 PM.187 VERBOSE [20] About to run transcode command: C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe -y -i "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_21302200.mpg" -bitexact -vol 256 -vcodec xvid -s 368x208 -r 29.97 -b 1500 -acodec aac -ac 2 -ar 24000 -ab 64 -f psp -muxvb 768 "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_21302200.mp4"
11/30/2005 10:01:47 PM.218 INFO [20] File transcode has completed unsuccessfully...
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#17
2005-12-01, 03:29 AM
If you open a command prompt and run exactly the following command (cut and paste), what output do you get?

Code:
"C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -y -i "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_21302200.mpg" -bitexact -vol 256 -vcodec xvid -s 368x208 -r 29.97 -b 1500 -acodec aac -ac 2 -ar 24000 -ab 64 -f psp -muxvb 768 "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_21302200.mp4"
daphatty
Offline

Posting Freak

Posts: 1,032
Threads: 85
Joined: Feb 2005
#18
2005-12-01, 04:37 AM
Here ya go. I think the item in bold at the bottom is what you are looking for.

C:\Documents and Settings\user>"C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\
ffmpeg.exe" -y -i "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_213022
00.mpg" -bitexact -vol 256 -vcodec xvid -s 368x208 -r 29.97 -b 1500 -acodec aac
-ac 2 -ar 24000 -ab 64 -f psp -muxvb 768 "D:\Recordings\Cartoon Cartoon\Cartoon
Cartoon_20051130_21302200.mp4"
ffmpeg version 0.4.9-pre1, build 4743, Copyright © 2000-2004 Fabrice Bellard
configuration: --enable-mp3lame --enable-vorbis --enable-faad --enable-faac -
-enable-xvid --enable-mingw32 --enable-a52 --enable-dts --enable-pp --enable-gpl
--enable-memalign-hack
built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
Input #0, mpeg, from 'D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_213
02200.mpg':
Duration: 00:12:33.9, start: 0.333833, bitrate: 4026 kb/s
Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe: unrecognized option
'-vol'
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#19
2005-12-01, 05:27 AM
Can you try running the command again, with the "-vol 256" removed?

Code:
"C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -y -i "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_21302200.mpg" -bitexact -vcodec xvid -s 368x208 -r 29.97 -b 1500 -acodec aac -ac 2 -ar 24000 -ab 64 -f psp -muxvb 768 "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_21302200.mp4"
daphatty
Offline

Posting Freak

Posts: 1,032
Threads: 85
Joined: Feb 2005
#20
2005-12-01, 01:58 PM
Ok. I ran the updated profile and FFmpeg returned another unreconized option error (see first entry).
Quote:C:\Documents and Settings\user>"C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\
ffmpeg.exe" -y -i "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_213022
00.mpg" -bitexact -vcodec xvid -s 368x208 -r 29.97 -b 1500 -acodec aac -ac 2 -ar
24000 -ab 64 -f psp -muxvb 768 "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_2
0051130_21302200.mp4"
ffmpeg version 0.4.9-pre1, build 4743, Copyright © 2000-2004 Fabrice Bellard
configuration: --enable-mp3lame --enable-vorbis --enable-faad --enable-faac -
-enable-xvid --enable-mingw32 --enable-a52 --enable-dts --enable-pp --enable-gpl
--enable-memalign-hack
built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
Input #0, mpeg, from 'D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_213
02200.mpg':
Duration: 00:12:33.9, start: 0.333833, bitrate: 4026 kb/s
Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe: unrecognized option
'-muxvb'

So I ran a second test without the offending option and FFmpeg returned a new error. I'm not entirely sure what this second error means.

Quote:C:\Documents and Settings\user>"C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\
ffmpeg.exe" -y -i "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_213022
00.mpg" -bitexact -vcodec xvid -s 368x208 -r 29.97 -b 1500 -acodec aac -ac 2 -ar
24000 -ab 64 -f psp "D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_213
02200.mp4"
ffmpeg version 0.4.9-pre1, build 4743, Copyright © 2000-2004 Fabrice Bellard
configuration: --enable-mp3lame --enable-vorbis --enable-faad --enable-faac -
-enable-xvid --enable-mingw32 --enable-a52 --enable-dts --enable-pp --enable-gpl
--enable-memalign-hack
built on Feb 22 2005 04:58:29, gcc: 3.4.2 (mingw-special)
Input #0, mpeg, from 'D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_213
02200.mpg':
Duration: 00:12:33.9, start: 0.333833, bitrate: 4026 kb/s
Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 224 kb/s
Output #0, psp, to 'D:\Recordings\Cartoon Cartoon\Cartoon Cartoon_20051130_21302
200.mp4':
Stream #0.0: Video: xvid, 368x208, 29.97 fps, q=2-31, 1500 kb/s
Stream #0.1: Audio: aac, 24000 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)

C:\Documents and Settings\user>
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Conversion Processing paul1 1 2,830 2012-10-01, 10:07 AM
Last Post: Graham
  Recordings missing after switching hard drive tegat 8 5,035 2011-12-21, 03:00 AM
Last Post: tegat
  Missing Channels In Listings? hollow5555 4 2,352 2011-01-10, 05:53 PM
Last Post: hollow5555
  IR Blaster doesn't change to channel missing show details Kid_Ego5150 3 2,079 2010-11-13, 02:11 AM
Last Post: sub
  Missing Crossbar Files? David B 8 3,064 2010-11-02, 01:12 AM
Last Post: David B
  Missing digital channels after scan. glampe 0 1,777 2010-11-01, 09:31 PM
Last Post: glampe
  Unexpected error removing recording from conversion queue pvrproblems 1 1,575 2010-09-03, 03:51 AM
Last Post: sub
  Unable to process .ts files for recording on DVD Trevor_de_S 1 1,525 2010-08-18, 10:50 PM
Last Post: sub
  Audio missing only on certain shows joshhep 6 2,256 2010-05-06, 03:49 PM
Last Post: Satori
  Questions regarding gbpvr's conversion processing and auto-convert mpg recordings. HYBRiD.BLiNG 1 1,454 2010-04-16, 12:39 AM
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