4042: MEncoder just stalls?
-
- Amateur
- Posts: 61
- Joined: Wed Dec 19, 2007 1:30 pm
- Location: Orlando, FL USA
4042: MEncoder just stalls?
I just upgraded to 4042 and tried a short transcode. I can't seem to get it to get MEncoder to do anything. This is all I get in the console:
MediaCoder Version 0.6.1 build 4042 (built on Jan 28 2008, 02:15:26)
MediaCoder is a free software distributed under MPL license.
(C)2005-08 Stanley Huang <stanleyhuangyc@gmail.com>. All Rights Reserved.
Processor: Intel(R) Pentium(R) 4 CPU 2.80GHz (2955Mhz)
Processor Cores: 1
# ".\codecs\mencoder.exe" -quiet -of rawvideo -ovc raw -rawvidopts pipe=5 -subcp
cp1252 -sub-fuzziness 1 -slang en -subfont-autoscale 3 -subfont-blur 2 -subfont
-outline 2 -vf scale=1280:544:0:0:0.00:0.50,harddup,format=i420 -sws 2 -af chann
els=6 -oac pcm -pcmopts pipe=7 "G:\Media\Misc\TDK_TRL2_best.mov" -o NUL
MEncoder dev-SVN-rUNKNOWN-4.2.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0x5fe833a
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
[mov] Audio stream found, -aid 0
[mov] Video stream found, -vid 1
VIDEO: [avc1] 1920x817 24bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x31637661 size:1920x817 fps:24.00 ftime:=0.0417
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [format fmt=i420]
Opening video filter: [harddup]
Opening video filter: [scale w=1280 h=544 interlaced=0 chr-drop=0 param=0.00 par
am2=0.50]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio data will be piped out through fd 7
MediaCoder Version 0.6.1 build 4042 (built on Jan 28 2008, 02:15:26)
MediaCoder is a free software distributed under MPL license.
(C)2005-08 Stanley Huang <stanleyhuangyc@gmail.com>. All Rights Reserved.
Processor: Intel(R) Pentium(R) 4 CPU 2.80GHz (2955Mhz)
Processor Cores: 1
# ".\codecs\mencoder.exe" -quiet -of rawvideo -ovc raw -rawvidopts pipe=5 -subcp
cp1252 -sub-fuzziness 1 -slang en -subfont-autoscale 3 -subfont-blur 2 -subfont
-outline 2 -vf scale=1280:544:0:0:0.00:0.50,harddup,format=i420 -sws 2 -af chann
els=6 -oac pcm -pcmopts pipe=7 "G:\Media\Misc\TDK_TRL2_best.mov" -o NUL
MEncoder dev-SVN-rUNKNOWN-4.2.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0 data: 0x0 - 0x5fe833a
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
[mov] Audio stream found, -aid 0
[mov] Video stream found, -vid 1
VIDEO: [avc1] 1920x817 24bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x31637661 size:1920x817 fps:24.00 ftime:=0.0417
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [format fmt=i420]
Opening video filter: [harddup]
Opening video filter: [scale w=1280 h=544 interlaced=0 chr-drop=0 param=0.00 par
am2=0.50]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio data will be piped out through fd 7
-- Jeff
Netgear EVA-8000
Netgear EVA-8000
-
- Amateur
- Posts: 61
- Joined: Wed Dec 19, 2007 1:30 pm
- Location: Orlando, FL USA
Using the same input file, I can get it to do a stream copy for audio and video , jut converting the container file. That worked fine. The original container is MOV and it converted to MKV.
I tried it again, transcoding only the video - that works fine, too.
If I try to do any conversion of the audio to AC3 using FFMPEG, MEncoder just stalls as I previously posted. Hope you can help, as I only use AC3.
I tried it again, transcoding only the video - that works fine, too.
If I try to do any conversion of the audio to AC3 using FFMPEG, MEncoder just stalls as I previously posted. Hope you can help, as I only use AC3.
-- Jeff
Netgear EVA-8000
Netgear EVA-8000
-
- Amateur
- Posts: 61
- Joined: Wed Dec 19, 2007 1:30 pm
- Location: Orlando, FL USA
I just tried converting to AAC instead of AC3 with the same bad results. MEncoder is just sitting there. As long as I do a stream copy on the audio, it goes fine.
I tried some other files and it seems like MEncoder is only hanging on source files with DTS or AAC tracks. I fed it an xVid/MP3 file and it did fine and recoded it to h264/AAC.
Hope this helps!
I tried some other files and it seems like MEncoder is only hanging on source files with DTS or AAC tracks. I fed it an xVid/MP3 file and it did fine and recoded it to h264/AAC.
Hope this helps!
-- Jeff
Netgear EVA-8000
Netgear EVA-8000
-
- Amateur
- Posts: 61
- Joined: Wed Dec 19, 2007 1:30 pm
- Location: Orlando, FL USA
Hi
Using the latest build (4042) click on the settings button and within the Mencoder addtional settings area (under the Video Encoders area) add the following -channels 6
This worked for me to preserve the channels rather than reverting to 2 channels on an AC3 soundtrack.
Hope this helps
Cheers
Using the latest build (4042) click on the settings button and within the Mencoder addtional settings area (under the Video Encoders area) add the following -channels 6
This worked for me to preserve the channels rather than reverting to 2 channels on an AC3 soundtrack.
Hope this helps
Cheers
Janson
MediaCoder Build 0.6.1.4042
Windows Vista X64 SP1 (RC Refresh 2)
AMD X64 x2 4600
3Gb RAM
MediaCoder Build 0.6.1.4042
Windows Vista X64 SP1 (RC Refresh 2)
AMD X64 x2 4600
3Gb RAM
-
- Amateur
- Posts: 61
- Joined: Wed Dec 19, 2007 1:30 pm
- Location: Orlando, FL USA
-
- Amateur
- Posts: 61
- Joined: Wed Dec 19, 2007 1:30 pm
- Location: Orlando, FL USA
I spoke too soon.
I did another video and sure enough, the console got to "Audio data will be piped out through fd 7" and stopped. I tried some others and got the same.
Back to 3905, it's working fine and doing a transcode right now. I tried the "-channels 6" MEncoder option to see if that renders nice, clean 5.1 channel AC3. We'll see how that goes.
Any idea what's causing my issue with the new build?
I did another video and sure enough, the console got to "Audio data will be piped out through fd 7" and stopped. I tried some others and got the same.
Back to 3905, it's working fine and doing a transcode right now. I tried the "-channels 6" MEncoder option to see if that renders nice, clean 5.1 channel AC3. We'll see how that goes.
Any idea what's causing my issue with the new build?
-- Jeff
Netgear EVA-8000
Netgear EVA-8000
I think it's either related to recent code rewrites within MediaCoder (Stanley mentioned he rewrote some of the code) or it's the version of Mencoder which is causing the problems.
As you know Stanley uses the most recent releases in his software which may mean that new bugs in Mencoder or similar tools may not be adressed yet.
As you know Stanley uses the most recent releases in his software which may mean that new bugs in Mencoder or similar tools may not be adressed yet.
MediaCoder settings:
x264 (backend/source: mencoder, fps: 23,976, Fabio Sonatti's settings) + nero aac 64 in matroska
x264 (backend/source: mencoder, fps: 23,976, Fabio Sonatti's settings) + nero aac 64 in matroska
-
- Amateur
- Posts: 61
- Joined: Wed Dec 19, 2007 1:30 pm
- Location: Orlando, FL USA
That makes some sense.
SirAuron: I notice in your sig you use 800 k for TV shows in h.264. What resolution are you working at for that?
I'm using 5192 for 1280x540 (720p) movies and I'm wondering if that's overkill. I'm also wondering if I could improve my conversion speed by cutting back the bitrate. I get around 2 fps now, so it takes 12 - 14 hours to transcode a whole movie.
SirAuron: I notice in your sig you use 800 k for TV shows in h.264. What resolution are you working at for that?
I'm using 5192 for 1280x540 (720p) movies and I'm wondering if that's overkill. I'm also wondering if I could improve my conversion speed by cutting back the bitrate. I get around 2 fps now, so it takes 12 - 14 hours to transcode a whole movie.
-- Jeff
Netgear EVA-8000
Netgear EVA-8000