MediaPortal Forums HTPC/MediaCenter

Sponsored Ads

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)

General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-02-01, 05:16   #21 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by Noelix View Post
Alright I gotcha now, sorry I wasn't catching on right away. It completes its task successfully! The % is off as you noticed already, and for some reason MediaPortal.log is now 578MB after transcoding two files.
Sorry but in debug level in log file , i verbose all information , so if you decrease the log level (in configuration tool) to warning or info , after nomally th elog will be not big.

Quote:
Originally Posted by Noelix View Post
Judging from past log files I've posted, it looks like it has to do with the thumbnail creation for the videos. I don't even view it in thumbnail mode and it's trying to create thumbnails over and over and failing for some reason. I don't think this is a problem with your transcoding process, but there may be a way to stop it from trying to create thumbnails while the file is being encoded... Anyways I could be completely wrong.
Can describe the action sequenca (click on..., etc..) just to reproduce on my machine.

Quote:
Originally Posted by Noelix View Post
Seems to work great, the only thing I know people would like is to be able to change the config.txt settings within MP,
I think in first steps , i will try in the UI to select different profile (config[xxx].txt) avalible in the directory transcode.

Quote:
Originally Posted by Noelix View Post
and to have the transcoding process window (blank command prompt window) occur in the background as opposed to minimizing MP and bringing focus to it. Thanks so much for building this!
I can hide the background windows totally in next version.

Quote:
Originally Posted by Noelix View Post
EDIT: I noticed that if you choose "delete original file", the MP database is not updated to reflect that change. As a result, the tv show listing remains in the database (aka Recorded TV), but is still pointing to the original .dvr-ms file, and not the new .avi file. So when you try to play the recorded-tv file, it doesn't play.
A bug i will fix it quickly.


Thanks a lot for your help.

Fabrice
fabriceD06 is offline   Reply With Quote
Old 2007-02-01, 05:24   #22 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by Efros View Post
Get a mencoder crash with xvid and dx50 config files.

MP log attached
Soory i cannot see any video transcoding launch. Can save the mediaportal.just when you launch the process. bacause normmaly same the process failed i can see some trace.

Fabrice
fabriceD06 is offline   Reply With Quote
Old 2007-02-01, 09:30   #23 (permalink)
Portal Member
 
Efros's Avatar
 
Join Date: Jan 2006
Location: Maine
Posts: 456
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Sorry bout that I think I loaded up the wrong log file,

ANyway heres the relevant bits

Transcoder start
Code:
2007-02-01 04:23:14.343250 [Info.][15]: encoder.exe.path =transcode\mencoder\mencoder.exe
2007-02-01 04:23:14.343250 [Info.][15]: mode2pass =no
2007-02-01 04:23:14.343250 [Info.][15]: encoder.type =MENCODER
2007-02-01 04:23:14.343250 [Info.][15]: encoder.timeout.process =14400000
2007-02-01 04:23:14.343250 [Info.][15]: encoder.1pass.args =-ovc xvid -oac mp3lame -xvidencopts bitrate=950
2007-02-01 04:23:14.343250 [Info.][15]: encoder.2pass.args.1 =
2007-02-01 04:23:14.343250 [Info.][15]: encoder.2pass.args.2 =
2007-02-01 04:23:14.343250 [Info.][15]: ExternalTranscoder[Transcode] transcode  video format Xvid file: D:\Recordings\63 DSC_MythBusters_200702010100p5513.dvr-ms duration: 4200
2007-02-01 04:23:14.343250 [Debug][15]: ThreadPool.CheckThreadIncrementRequired() : incrementing thread count 1 with 1
2007-02-01 04:23:14.343250 [Debug][15]: ThreadPool.StartThreads() : Thread PoolThread16 started
2007-02-01 04:23:14.343250 [Info.][15]: ExternalTranscoder[IsFinished] is finish False
2007-02-01 04:23:14.343250 [Debug][PoolThread16]: ThreadPool.HandleInUseThreadCount() : in use threads: 2 max: 25 increment: True
2007-02-01 04:23:14.358875 [Info.][PoolThread16]: ExternalTranscoder[Transcode] transcode  video format Xvid file: D:\Recordings\63 DSC_MythBusters_200702010100p5513.dvr-ms duration: 4200
2007-02-01 04:23:14.358875 [Info.][PoolThread16]: ExternalTranscoder[Transcode]Command line transcode\mencoder\mencoder.exe -ovc xvid -oac mp3lame -xvidencopts bitrate=950 -o "D:\Recordings\63 DSC_MythBusters_200702010100p5513.avi" "D:\Recordings\63 DSC_MythBusters_200702010100p5513.dvr-ms"
2007-02-01 04:23:14.358875 [Info.][15]: ExternalTranscoder[Percentage] return percentage 1
2007-02-01 04:23:14.468250 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
2007-02-01 04:23:14.468250 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 4, Stepping: 10)
2007-02-01 04:23:14.468250 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
2007-02-01 04:23:14.468250 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Compiled with runtime CPU detection.
2007-02-01 04:23:14.483875 [Debug][Thread TransErrStream]: [ExternalTranscoder][Err]Warning streams need a type !!!!
2007-02-01 04:23:14.483875 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]success: format: 0  data: 0x0 - 0x0
2007-02-01 04:23:14.483875 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]ASF file format detected.
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]VIDEO:  [DVR ]  480x576  0bpp  29.974 fps    0.0 kbps ( 0.0 kbyte/s)
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out][V] filefmt:6  fourcc:0x20525644  size:480x576  fps:29.97  ftime:=0.0334
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]==========================================================================
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]==========================================================================
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]xvid: using library version 1.1.0 (build xvid-1.1.0)
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Opening video filter: [expand osd=1]
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]==========================================================================
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
2007-02-01 04:23:14.499500 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]==========================================================================
2007-02-01 04:23:14.515125 [Debug][Thread TransErrStream]: [ExternalTranscoder][Err]MP3 audio selected.
2007-02-01 04:23:14.546375 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
2007-02-01 04:23:14.546375 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]VDec: using Planar YV12 as output csp (no 0)
2007-02-01 04:23:14.546375 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
2007-02-01 04:23:14.546375 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]videocodec: XviD (480x576 fourcc=44495658 [XVID])
2007-02-01 04:23:14.546375 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]xvid: par=0/0 (vga11), displayed=768x576, sampled=480x576
2007-02-01 04:23:14.546375 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]xvid: CBR Rate Control -- bitrate=950kbit/s
2007-02-01 04:23:14.577625 [Debug][Thread TransErrStream]: [ExternalTranscoder][Err]New_Face failed. Maybe the font path is wrong.
2007-02-01 04:23:14.577625 [Debug][Thread TransErrStream]: [ExternalTranscoder][Err]Please supply the text font file (~/.mplayer/subfont.ttf).
2007-02-01 04:23:14.577625 [Debug][Thread TransErrStream]: [ExternalTranscoder][Err]subtitle font: load_sub_face failed.
2007-02-01 04:23:14.593250 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Pos:   0.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Transcoder crash

Code:
[15]: ExternalTranscoder[IsFinished] is finish False
2007-02-01 04:23:29.562000 [Info.][15]: ExternalTranscoder[Percentage] return percentage 0
2007-02-01 04:23:30.562000 [Info.][15]: ExternalTranscoder[IsFinished] is finish False
2007-02-01 04:23:30.562000 [Info.][15]: ExternalTranscoder[Percentage] return percentage 0
2007-02-01 04:23:30.718250 [Info.][PoolThread16]: ExternalTranscoder[Transcode] Exit code =-1073741819
2007-02-01 04:23:30.718250 [Info.][PoolThread16]: ExternalTranscoder[Transcode]Process finish in 00:00:16.3593750
2007-02-01 04:23:30.733875 [Debug][Thread TransOutStream]: [ExternalTranscoder][out]Pos:   0.0s      2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.003 [0:0]
2007-02-01 04:23:30.733875 [Debug][PoolThread16]: ThreadPool.ProcessQueue() : total items processed: 1
2007-02-01 04:23:30.733875 [Debug][PoolThread16]: ThreadPool.HandleInUseThreadCount() : in use threads: 2 max: 25 increment: False
2007-02-01 04:23:31.562000 [Info.][15]: ExternalTranscoder[IsFinished] is finish True
2007-02-01 04:23:31.562000 [Info.][15]: ExternalTranscoder[IsTranscodingSuccess] is IsTranscodingSuccess False
__________________
"Here's to the electron may it never be of any use to anyone!"

Allegedly a toast at the Royal Institute of Physics at the turn of the 20th Century.

Current skin: Mepo Green


Last edited by Efros; 2007-02-01 at 09:33.
Efros is offline   Reply With Quote
Old 2007-02-01, 10:37   #24 (permalink)
Portal User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Can you post the source code, so i can compile it with my version of mediaportal.
mdebeljuh is offline   Reply With Quote
Old 2007-02-02, 09:32   #25 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by Efros View Post
Sorry bout that I think I loaded up the wrong log file,

ANyway heres the relevant bits

Transcoder start
Hello,

Can you test the command in standalone , open command prompt , go in the folder transcode (the command need to be launch from this folder), and type the command mencoder\mencoder.exe -ovc xvid -oac mp3lame -xvidencopts bitrate=950 -o "D:\Recordings\63 DSC_MythBusters_200702010100p5513.avi" "D:\Recordings\63 DSC_MythBusters_200702010100p5513.dvr-ms"

And check if the encoding crash or works, the goal is to know where is located the crash in my code or mencoder.


Thanks for your test

Fabrice
fabriceD06 is offline   Reply With Quote
Old 2007-02-02, 09:37   #26 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by frodo View Post
2. c++ is not a problem,
The main problem i had with ffmpeg was that it was file based
What i would like is something like:
Code:
byte* transCoded=ffmpeg.transcode(byte* tspacket);
so i supply a mpeg-2 ts packet and get a transcoded mpeg-2 ts packet back

Frodo
After look the source code of ffmpeg server (the streaming server based on ffmpeg) i think it is possible but not easier, it necessary to create a helper class to intialize different context (AVFormat, etc..) and some input stream and output stream in wrapper.

Some time is necesary to write this helper

Fabrice
fabriceD06 is offline   Reply With Quote
Old 2007-02-02, 12:20   #27 (permalink)
Portal Member
 
dubstar's Avatar
 
Join Date: Oct 2006
Age: 25
Posts: 153
Thanks: 3
Thanked 1 Time in 1 Post

Country:


Default

When using this feature will it be possible to transcode items from the 'my videos' folder?

I'm running out of space and could do with compressing a number of files. The majority of them are MPEG's with a few dvr-ms thown in.

Will this be possible at any time??
__________________
Microsoft Gives You Windows, Linux Gives You the Whole House!!
dubstar is offline   Reply With Quote
Old 2007-02-02, 14:53   #28 (permalink)
Portal Member
 
Efros's Avatar
 
Join Date: Jan 2006
Location: Maine
Posts: 456
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

Crash occurs in mencoder, running from command window mencoder\mencoder.exe -ovc xvid -oac mp3lame -xvidencopts bitrate=950 -o "D:\Recordings\63 DSC_MythBusters_200702010100p5513.avi" "D:\Recordings\63 DSC_MythBusters_200702010100p5513.dvr-ms" results in Windows "mencoder has encountered a problem" dialog. Looks as if its something to do with mencoder and my setup.
__________________
"Here's to the electron may it never be of any use to anyone!"

Allegedly a toast at the Royal Institute of Physics at the turn of the 20th Century.

Current skin: Mepo Green

Efros is offline   Reply With Quote
Old 2007-02-02, 18:16   #29 (permalink)
Portal Member
 
Noelix's Avatar
 
Join Date: Feb 2006
Location: Phoenix, AZ
Age: 26
Posts: 387
Thanks: 10
Thanked 1 Time in 1 Post

Country:

My System

Send a message via MSN to Noelix
Default

Quote:
Originally Posted by Efros View Post
Crash occurs in mencoder, running from command window mencoder\mencoder.exe -ovc xvid -oac mp3lame -xvidencopts bitrate=950 -o "D:\Recordings\63 DSC_MythBusters_200702010100p5513.avi" "D:\Recordings\63 DSC_MythBusters_200702010100p5513.dvr-ms" results in Windows "mencoder has encountered a problem" dialog. Looks as if its something to do with mencoder and my setup.
I can verify that mencoder crashes for me as well. I ran command prompt to test it, and here's the log from command prompt:
http://pastebin.team-mediaportal.com/11948
__________________
Noelix is offline   Reply With Quote
Old 2007-02-05, 09:10   #30 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by Efros View Post
Crash occurs in mencoder, running from command window mencoder\mencoder.exe -ovc xvid -oac mp3lame -xvidencopts bitrate=950 -o "D:\Recordings\63 DSC_MythBusters_200702010100p5513.avi" "D:\Recordings\63 DSC_MythBusters_200702010100p5513.dvr-ms" results in Windows "mencoder has encountered a problem" dialog. Looks as if its something to do with mencoder and my setup.
Hello,

So can you install Mplayer from this link of website, after in the config.txt change the path of mencoder by the menceoder.exe included in the mplayer installation folder.



Fabrice

Last edited by fabriceD06; 2007-02-05 at 09:13.
fabriceD06 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cutting and transcoding, - please help Dadane General Support 0 2007-01-29 06:34
Transcoding filters etc dman_lfc Tips and Tricks 11 2007-01-25 14:33
Transcoding options Khris Improvement Suggestions 3 2006-03-08 20:53
Transcoding tthomas Improvement Suggestions 3 2005-06-20 10:28
Update Core.Transcoding to handle more in / out formats sporktastic Improvement Suggestions 9 2005-03-17 22:51


All times are GMT +1. The time now is 03:19.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel ©2004-2008, jvbPlugin

Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress