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) ZTools and UltraXMLTV v
« Previous 1 … 5 6 7 8 9 … 12 Next »
ZProcess: Transcoding forever at 82% (15s AVI)

 
  • 0 Vote(s) - 0 Average
ZProcess: Transcoding forever at 82% (15s AVI)
sglebs
Offline

Junior Member

Posts: 39
Threads: 13
Joined: Feb 2008
#1
2008-02-15, 05:20 PM
Hi,

I am trying ZProcess2 because I am interested in the caching feature. I use it with a MediaMVP. When I play a 15-second video (AVI from digital camera - MJPG codec), I notice this:

1) Sound comes out of my sound card on my PC

2) MediaMVP reboots

3) A cached MPG is created under Q:\PVR\Recordings (and it works)

4) The taskbar has a blinking lightning bolt with tooltip saying "transcoding..."
If I double-click teh icon, teh UI says it is at 82%, and stays at that forever.

5) RunTRanscode.cmd has this:
"C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -y -i "K:\export\Photos\2007-2008-Brazil\2007-12-29\MVI_0266.AVI" -f svcd -vcodec mpeg2video -b 2400k -acodec mp3 -ab 128k -ar 48000 -ac 2 -s 352x240 -r 29.97 -aspect 4:3 -async 15 "Q:\PVR\Recordings\MVP000DFE0C89542.mpg" 2> "C:\Program Files\devnz\gbpvr\Third Party\ZTools\transcode.log"

6) transcode.log has this:
FFmpeg version SVN-r7165, Copyright © 2000-2006 Fabrice Bellard, et al.
configuration: --enable-mp3lame --enable-libnut --enable-libogg --enable-vorbis --enable-faad --enable-faac --enable-libgsm --enable-xvid --enable-x264 --enable-mingw32 --enable-a52 --enable-dts --enable-pp --enable-amr_nb --enable-amr_wb --enable-swscaler --enable-avisynth --enable-gpl --enable-memalign-hack --cpu=i686 --extra-ldflags=-static
libavutil version: 49.1.0
libavcodec version: 51.25.0
libavformat version: 51.6.0
built on Nov 24 2006 18:53:03, gcc: 4.0.3
Input #0, avi, from 'K:\export\Photos\2007-2008-Brazil\2007-12-29\MVI_0266.AVI':
Duration: 00:00:14.4, start: 0.000000, bitrate: 15095 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30.00 fps®
Stream #0.1: Audio: pcm_u8, 11024 Hz, mono, 88 kb/s
Output #0, svcd, to 'Q:\PVR\Recordings\MVP000DFE0C89542.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 352x240, q=2-31, 2400 kb/s, 29.97 fps©
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 42 q=2.0 size= 494kB time=1.4 bitrate=2958.2kbits/s
frame= 84 q=2.6 size= 962kB time=2.8 bitrate=2845.6kbits/s
frame= 122 q=2.9 size= 1384kB time=4.0 bitrate=2808.2kbits/s
frame= 163 q=2.6 size= 1792kB time=5.4 bitrate=2715.8kbits/s
frame= 204 q=2.6 size= 2210kB time=6.8 bitrate=2672.8kbits/s
frame= 242 q=2.4 size= 2600kB time=8.0 bitrate=2648.7kbits/s
frame= 284 q=2.6 size= 3034kB time=9.4 bitrate=2632.1kbits/s
frame= 327 q=2.6 size= 3492kB time=10.9 bitrate=2629.9kbits/s
frame= 366 q=3.6 size= 3932kB time=12.2 bitrate=2644.8kbits/s
frame= 410 q=2.7 size= 4378kB time=13.6 bitrate=2628.0kbits/s
frame= 419 q=2.5 size= 4448kB time=13.9 bitrate=2617.7kbits/s
frame= 434 q=2.5 Lsize= 4618kB time=14.4 bitrate=2618.4kbits/s

video:4328kB audio:227kB global headers:0kB muxing overhead 1.399422%


Maybe it does not detect that RunTRanscode.cmd has already coompleted? The OS here is Windows 2003.

Can anybody help? All I really want is the caching feature. Thanks.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#2
2008-02-15, 08:13 PM
I see it's a mjpeg movie, a few days ago someone else had problems with this. He had to add something to the ffmpeg commandline. http://forums.nextpvr.com/showthread.php...light=mjpg

Hans
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
sglebs
Offline

Junior Member

Posts: 39
Threads: 13
Joined: Feb 2008
#3
2008-02-15, 08:21 PM
Yes, that someone was me :-) You have to make sure the audio is at 48000. I made sure here.

I tried MPlayer 1.0rc1 instead of rc2 and that "seems to work". I say "seems" because although it no longer rreboots the MediaMVP, there's no caching going on (I set it to 7 days). Caching is my main motivation for using ZProcess. :-(
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#4
2008-02-16, 07:31 AM
sglebs Wrote:Hi,

I am trying ZProcess2 because I am interested in the caching feature. I use it with a MediaMVP. When I play a 15-second video (AVI from digital camera - MJPG codec), I notice this:

1) Sound comes out of my sound card on my PC

2) MediaMVP reboots

3) A cached MPG is created under Q:\PVR\Recordings (and it works)

4) The taskbar has a blinking lightning bolt with tooltip saying "transcoding..."
If I double-click teh icon, teh UI says it is at 82%, and stays at that forever.

5) RunTRanscode.cmd has this:
"C:\Program Files\devnz\gbpvr\Third Party\FFmpeg\ffmpeg.exe" -y -i "K:\export\Photos\2007-2008-Brazil\2007-12-29\MVI_0266.AVI" -f svcd -vcodec mpeg2video -b 2400k -acodec mp3 -ab 128k -ar 48000 -ac 2 -s 352x240 -r 29.97 -aspect 4:3 -async 15 "Q:\PVR\Recordings\MVP000DFE0C89542.mpg" 2> "C:\Program Files\devnz\gbpvr\Third Party\ZTools\transcode.log"

6) transcode.log has this:
FFmpeg version SVN-r7165, Copyright © 2000-2006 Fabrice Bellard, et al.
configuration: --enable-mp3lame --enable-libnut --enable-libogg --enable-vorbis --enable-faad --enable-faac --enable-libgsm --enable-xvid --enable-x264 --enable-mingw32 --enable-a52 --enable-dts --enable-pp --enable-amr_nb --enable-amr_wb --enable-swscaler --enable-avisynth --enable-gpl --enable-memalign-hack --cpu=i686 --extra-ldflags=-static
libavutil version: 49.1.0
libavcodec version: 51.25.0
libavformat version: 51.6.0
built on Nov 24 2006 18:53:03, gcc: 4.0.3
Input #0, avi, from 'K:\export\Photos\2007-2008-Brazil\2007-12-29\MVI_0266.AVI':
Duration: 00:00:14.4, start: 0.000000, bitrate: 15095 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30.00 fps®
Stream #0.1: Audio: pcm_u8, 11024 Hz, mono, 88 kb/s
Output #0, svcd, to 'Q:\PVR\Recordings\MVP000DFE0C89542.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 352x240, q=2-31, 2400 kb/s, 29.97 fps©
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 42 q=2.0 size= 494kB time=1.4 bitrate=2958.2kbits/s
frame= 84 q=2.6 size= 962kB time=2.8 bitrate=2845.6kbits/s
frame= 122 q=2.9 size= 1384kB time=4.0 bitrate=2808.2kbits/s
frame= 163 q=2.6 size= 1792kB time=5.4 bitrate=2715.8kbits/s
frame= 204 q=2.6 size= 2210kB time=6.8 bitrate=2672.8kbits/s
frame= 242 q=2.4 size= 2600kB time=8.0 bitrate=2648.7kbits/s
frame= 284 q=2.6 size= 3034kB time=9.4 bitrate=2632.1kbits/s
frame= 327 q=2.6 size= 3492kB time=10.9 bitrate=2629.9kbits/s
frame= 366 q=3.6 size= 3932kB time=12.2 bitrate=2644.8kbits/s
frame= 410 q=2.7 size= 4378kB time=13.6 bitrate=2628.0kbits/s
frame= 419 q=2.5 size= 4448kB time=13.9 bitrate=2617.7kbits/s
frame= 434 q=2.5 Lsize= 4618kB time=14.4 bitrate=2618.4kbits/s

video:4328kB audio:227kB global headers:0kB muxing overhead 1.399422%


Maybe it does not detect that RunTRanscode.cmd has already coompleted? The OS here is Windows 2003.

Can anybody help? All I really want is the caching feature. Thanks.

There's a couple of things.

First of all, yes, 15 seconds may be too short and ZProcess doesn't know that the transcoder (in this case ffmpeg) is finshed. I might be able to fix that.

Playing really short clips from a movie camera is something that I thought might work, but haven't had a chance to try yet. I have a camera doing the same kind of thing, so I will see if I can work out the bugs for that...

Also, when you mentioned mplayer, I hope that you are keeping mplayer and mencoder versions matched...

And one more things. MEncoder RC2 should be working fine. There was someone else that had troubles and seemed to have better success with RC1. I think it was a vista related issue, but whenever a piece of software doesn't run for one person, but runs for everyone else I always wonder why it doesn't run: could it be improper installation, mismatched files, non default installation location. Perhaps your CPU doesn't like the version of Mencoder...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#5
2008-02-16, 07:36 AM
sglebs Wrote:Yes, that someone was me :-) You have to make sure the audio is at 48000. I made sure here.

I tried MPlayer 1.0rc1 instead of rc2 and that "seems to work". I say "seems" because although it no longer rreboots the MediaMVP, there's no caching going on (I set it to 7 days). Caching is my main motivation for using ZProcess. :-(

I know that the main feature you are interested in is caching but you should concentrate on getting it all to work first. Caching is the last thing that occurs and if the other processes don't happen the caching won't either.

First the file transcodes, when it completes (and ZProcess knows it completes) then it copies the file into cache, which should be your [Recordings Folder]\MVP_Cache\[CurrentDate]

From the previous post, ZProcess doesn't know that it is complete, so it doesn't copytocache...

I will be looking at getting all sequential movie files to transcode into one big file (as was requested) and also try and get ZProcess to see the end of a file for even really really short clips...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sglebs
Offline

Junior Member

Posts: 39
Threads: 13
Joined: Feb 2008
#6
2008-02-16, 07:18 PM
With ffmpeg it does not work for me, as I said. With MPlayer 1.0rc2 it does not work for me either. MPlayer 1.0rc1 works but there's no caching. Indeed, after it finishes, the little lightning bolt icon remains blinking thinking it is transcoding. But at least teh MediaMVP does not reboot (most of the time).

I am interested in the caching of little videos so tat I don't have to wait the 3.5 seconds of the usual MVPTranscodePrePlayDelay, but I guess ZProcess can't do that for me. So I guess I will remove ZProcess for now and check again in the future.

Thanks anyway! ;-)
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#7
2008-02-16, 08:26 PM
sglebs Wrote:With ffmpeg it does not work for me, as I said. With MPlayer 1.0rc2 it does not work for me either. MPlayer 1.0rc1 works but there's no caching. Indeed, after it finishes, the little lightning bolt icon remains blinking thinking it is transcoding. But at least teh MediaMVP does not reboot (most of the time).

I am interested in the caching of little videos so tat I don't have to wait the 3.5 seconds of the usual MVPTranscodePrePlayDelay, but I guess ZProcess can't do that for me. So I guess I will remove ZProcess for now and check again in the future.

Thanks anyway! ;-)

Just wanna warn you. You will always have the preplay delay if your video is a non mpeg.

The caching feature was to eliminate transcoding, but GB-PVR will always still have that wait.

What I'm planning on doing is making it so there is one delay and all videos are queued, back to back, and the viewere can watch the whole tape...

But that's not ready yet...

The fact that ffmpeg and mencoder rc2 are not working, may be a symtom of other things on your system...

Good luck
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sglebs
Offline

Junior Member

Posts: 39
Threads: 13
Joined: Feb 2008
#8
2008-02-18, 01:52 AM
Thanks for the tip. I guess the caching would have to be native to GB-PVR so that it could bypass/shortcut MVPTranscodePrePlayDelay for cached videos. By the time you (ZProcess) get to it, it is too late, I see.

I am not sure I understand how your back-to-back will work (on Play All?) but I am hopeful :-) Thanks!
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  problems installing zprocess on windows 7 64 bit bertros 3 6,478 2010-04-16, 05:17 PM
Last Post: bertros
  zProcess and Windows Home Server grits 3 6,818 2010-03-07, 06:06 AM
Last Post: zehd
  zProcess ffmpeg "Incorrect frame size" meccano 3 6,012 2010-02-01, 02:46 PM
Last Post: zehd
  zprocess in postprocessing.bat alevideotestservice 2 3,002 2009-12-22, 07:01 PM
Last Post: alevideotestservice
  zprocess... to work or not to work... medic29 26 10,117 2009-11-04, 05:54 PM
Last Post: zehd
  Zprocess & MVP: Can I watch DVD´s yet? Knobby 5 3,206 2009-11-02, 07:10 PM
Last Post: zehd
  Zprocess postprocessing ? Dufcoum 13 6,266 2009-08-19, 10:15 PM
Last Post: Dufcoum
  ZPROCESS: Audio sloooooow on MVP goobie 5 3,260 2009-08-18, 01:34 PM
Last Post: zehd
  MVP+Zprocess: Avi plays with audio only, no video goobie 3 2,985 2009-07-10, 08:01 PM
Last Post: zehd
  Can you clarify functionality of ZProcess please Elmo Putney 4 3,542 2009-03-23, 09:37 PM
Last Post: Elmo Putney

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

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

Linear Mode
Threaded Mode