Hi all new to the forums.
I have been using ffmpegX for a few days now and have been encoding my mkv videos to divix no problem. Yesterday I encoded a video the realizing I set it to 2 channel instead of passthrough. So i set it up again with all the right settings and when I hit the magical encode button, it just says finished with either 0kb or maybe 50mb. I have no idea why this is happening now because I haven't changed anything. Is this a known error. I read someone has a similar issue and could be related to video error. Im quite unsure because it worked with success no problem the first time. I mean ffmpeg is free right, I didnt think I was in trial or anything.
Results 1 to 16 of 16
-
-
Please post the contents of the logfile (click on blue "i" in Progress pane).
And no, ffmpegx is not free, it's shareware. But there is no time limit, so that's not the problem.
-
I forgot to mention that this is to be able to stream to xbox 360 with connect360 but im crazy about having 5.1 when streaming. Here is the log. Now after doing a bit of testing I realized it happens when I choose passthrough. The first attempt when I downloaded ffmpeg was this and I would get video in vlc but the audi ould studder. If I took that same file and then stream to my xbox, the video was too fast but the sound was fine. Instead of that I then tired Dolby Ac3 (even though the source file is already ac3) but even in I choose 5:1 it bumps is down to 2 channel, However it encodes the video and I get sound.
Encoding started on Fri Jan 23 17:08:25 EST 2009
MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
FIXME:Hardenabling SSE and SSE2 without detection
Mac OSX static build for ffmpegX
CPU: Intel (Family: 6, Stepping: 10)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x17df2025
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang und
[mkv] Will play video track 1
[mkv] Will play audio track 2
Matroska file format detected.
VIDEO: [avc1] 1280x536 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31 fourcc:0x31637661 size:1280x536 fps:23.98 ftime:=0.0417
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=1280 h=536]
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
Forcing output fourcc to 58564944 [DIVX]
audiocodec: framecopy (format=2000 chans=6 rate=48000 bits=16 B/s=16000 sample-1536)
VDec: vo config request - 1280 x 536 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.39:1 - prescaling to correct movie aspect.
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
videocodec: libavcodec (1280x536 fourcc=58564944 [DIVX])
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)!
1 duplicate frame(s)! (for the sake of space I deleted half of these frame errors)
Too many audio packets in the buffer: (3278 in 8391680 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Flushing video frames
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Video stream: 4279.867 kbit/s (534983 B/s) size: 78877464 bytes 147.439 secs 3215 frames
Audio stream: 128.000 kbit/s (16000 B/s) size: 2373120 bytes 148.320 secs
Encoding completed on Fri Jan 23 17:10:07 EST 2009
-
Here is when I select ac3 dolby instead of passthrough.
Encoding started on Sat Jan 24 01:13:48 EST 2009
FIXME:Hardenabling SSE and SSE2 without detection
MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
Mac OSX static build for ffmpegX
CPU: Intel (Family: 6, Stepping: 10)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Using SSE optimized IMDCT transform
success: format: 0 data: 0x0 - 0x17df2025
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang und
[mkv] Will play video track 1
[mkv] Will play audio track 2
Matroska file format detected.
VIDEO: [avc1] 1280x536 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31 fourcc:0x31637661 size:1280x536 fps:23.98 ftime:=0.0417
Using MMX optimized resampler
========
Opening audio decoder: [liba52] AC3 decoding with liba52
AC3: 5.1 (3f+2r+lfe) 48000 Hz 640.0 kbit/s
AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
================================================== ========================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=1280 h=536]
Opening video filter: [denoise3d]
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
Forcing output fourcc to 58564944 [DIVX]
VDec: vo config request - 1280 x 536 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.39:1 - prescaling to correct movie aspect.
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
videocodec: libavcodec (1280x536 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
-
No I never really tried it all that much. Is it better or sometimes just either or works?
Edit: I just gave it a whirl. Its automatically changing the video size squeezing it in from the sides to 4:3. and video is set to 1280x536.
Do we hav any idea why the audio could be very jittery using mencoder and passthrough audio?
-
-
Well i guess that now none is good for me. ffmpeg goes to 4:3 for some reason while mencoder only encodes like 60mb when should be at least 2 or 3gb and says finished. I really have no idea idea where to go from here and why im stressing. I have also tried Visual hub too but there is no chance of ac3 5.1 on it. The onlly time ffmpegx with mencoder works fine is when I select ac3 but like I said it will convert only 2ch which is useless to me. Very strange things happening. I dont know where to pinpoint a solution which is why im asking you fine people to help a brother out.
-
Am I correct in interpreting your last post to meant that an ffmpeg preset does everything you want correctly, except for the aspect ratio? If that's the only issue, then it may be helpful to note that you may override the dimensions ffmpegx chooses for you. Sometimes, it selects defaults that are wrong (and sometimes the user misinterprets the output as wrong, even though it's actually right). If you are certain that all that remains to be fixed is a simple AR issue, then you should be able to fix that by manually setting it.
-
What i mean is I enter manually all the info I need to enter. Bitrate, resolution aspect ratio, Ect. So ya, But when encoding something makes it go to 4:3 by itself. Im going to try a few times again see if im missing anything but im really lost. And I still cannot figure out why mencoder wont comply with the ac3 passthrough.
Going back for a minuite to post #3 log file, does this have importance?
1 duplicate frame(s)! (for the sake of space I deleted half of these frame errors)
Too many audio packets in the buffer: (3278 in 8391680 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Flushing video frames
Writing index...
Writing header...
Let me make sure that Im not bothering myself for no reason. ffmpeg can encode divx with ac3 to play perfectly on xbox360? lol
Here is the log using divx avi (ffmpeg) I quit a couple mins into it. About 4%. Enough to have a look see and of course 4:3
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Sat Jan 24 20:21:53 EST 2009
Mac OSX universal build for ffmpegX
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
[matroska @ 0x5597b8]Ignoring seekhead entry for ID=0x1549a966
[matroska @ 0x5597b8]Ignoring seekhead entry for ID=0x1654ae6b
[matroska @ 0x5597b8]Ignoring seekhead entry for ID=0x114d9b74
[matroska @ 0x5597b8]Unknown entry 0x73a4 in info header
[matroska @ 0x5597b8]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0xaa - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0xaa - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0x55aa - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0x55ee - ignoring
[matroska @ 0x5597b8]Unknown track header entry 0xaa - ignoring
Seems that stream 0 comes from film source: 1000.00 (1000000000/1000000) -> 0.08 (1/12)
Input #0, matroska, from '/Users/Mike/Downloads/rnr-septic.mkv':
Duration: 01:54:19.5, bitrate: N/A
Stream #0.0, 0.08 fps(r): Video: h264, yuv420p, 1280x536
Stream #0.1: Audio: ac3, 48000 Hz, 5:1
Output #0, avi, to '/Users/Mike/Downloads/rnr-septic.mkv.ff.avi':
Stream #0.0, 23.98 fps(c): Video: mpeg4, yuv420p, 1280x536, q=2-15, 3694 kb/s
Stream #0.1: Audio: ac3, 48000 Hz, 5:1
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 26 bytes instead of 1095910216
[h264 @ 0x54340c]Unknown NAL code: 25
Error while decoding stream #0.0
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 16 bytes instead of 1466458484
[h264 @ 0x54340c]illegal POC type 9
Error while decoding stream #0.0
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 60 bytes instead of 1097753632
Error while decoding stream #0.0
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 3 bytes instead of 1332227104
[h264 @ 0x54340c]Unknown NAL code: 14
Error while decoding stream #0.0
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 36 bytes instead of 1416127858
[h264 @ 0x54340c]error while decoding MB 4 0
[h264 @ 0x54340c]concealing 2720 DC, 2720 AC, 2720 MV errors
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]AVC: Consumed only 31 bytes instead of 1466245217
Error while decoding stream #0.0
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]AVC: Consumed only 12 bytes instead of 1399811429
Error while decoding stream #0.0
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[h264 @ 0x54340c]reference picture missing during reorder
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 12 bytes instead of 1399811429
Error while decoding stream #0.0
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 42 bytes instead of 1333028965
[h264 @ 0x54340c]Unknown NAL code: 18
Error while decoding stream #0.0
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 33 bytes instead of 1114993696
[h264 @ 0x54340c]slice type too large (3) at 0 34
[h264 @ 0x54340c]decode_slice_header error
Error while decoding stream #0.0
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 1 bytes instead of 1466464575
[h264 @ 0x54340c]Unknown NAL code: 0
Error while decoding stream #0.0
[matroska @ 0x5597b8]FIXME: implement support for BlockDuration
[h264 @ 0x54340c]AVC: Consumed only 45 bytes instead of 1113940833
[h264 @ 0x54340c]Unknown NAL code: 21
Error while decoding stream #0.0
-
i have been trying all day with this one. Even downloaded another mkv to try but still same problem. Im guessing ac3 5.1 isnt support. Too many duplicate frames. It says too many packets in buffer. Anyone got any other solutions. Doesnt even have to be ffmpeg. I lost for direction here.
-
You could extract the ac3 audio from the source file.
You could extract just the video out of the converted output file.
Then you could mux the video and audio to a new AVI file.
Someone else should point you to the tools for that, because I don't do this very often, and never done it with HD material.
-
Yeah I tired extracting them didnt work out in the end. I tried another file last night with ffmpeg instead of encoder. Seemed to work well however. No sound in Quicktime and like 3 seconds on vlc if I hit pause then play it does it for another 3 seconds but mediainfo says its 5.1. Really confused why the other is giving me problems.
Just tried that file on my xbox, No sound at all
Here is the mediainfo file of that movie.
*** MediaInfo Mac // Plain text file report
2009-01-25 11:22:33 -0500
Information for File: Ocean Deep.avi
General / Container Stream # 1
Total Video Streams for this File -> 1
Total Audio Streams for this File -> 1
Video Codecs Used -> DivX 4
Audio Codecs Used -> AC3
File Format -> AVI
Play Time -> 53mn 18s
Total File Size -> 4.40 GiB
Total Stream BitRate -> 11.8 Mbps
Video Stream # 1
Codec (Human Name) -> MPEG-4 Visual
Codec (FourCC) -> DIVX
Codec Profile -> Simple@L1
Frame Width -> 1 920 pixels
Frame Height -> 1 080 pixels
Frame Rate -> 23.976 fps
Total Frames -> 76699
Display Aspect Ratio -> 16/9
Scan Type -> Progressive
Colorimetry -> 4:2:0
Codec Settings (Packet BitStream) -> No
QF (like Gordian Knot) -> 0.229
Codec Settings (BVOP) -> No
Codec Settings (QPel) -> No
Codec Settings (GMC) -> No warppoints
Codec Settings (Matrix) -> Default
Video Stream Length -> 53mn 18s 990ms
Video Stream BitRate -> 11.4 Mbps
Bit Depth -> 24 bits
Video Stream Size -> 4.24 GiB (96%)
Video Encoder -> Lavc51.9.0
Audio Stream # 1
Codec -> AC-3
Codec (FourCC) -> 2000
Audio Stream BitRate -> 448 Kbps
Audio Stream BitRate Mode -> CBR
Number of Audio Channels -> 6
Audio Channel's Positions -> Front: L C R, Rear: L R, LFE
Sampling Rate -> 48.0 KHz
Bit Depth -> 16 bits
Audio Stream Size -> 164 MiB (4%)
-
Thanks Case for the help, Anyone out there that can help me out. Im doing this for the first time and trying to find that right way of doing. Been using pc with encode360 and that was that.
-
Originally Posted by biggyk
As an act of desperation, you could try the transcoding feature of VLC. If VLC can play it, then you have a fighting chance of transcoding with it. Just be advised that this feature is not well-developed in VLC (as the authors themselves inform us), and so do not be surprised if it's buggy. However, I have had more than occasional success with VLC when all other approaches have failed.
Similar Threads
-
Encode mpeg2 mkv to AVC mkv using RipBot264
By PoloRoy in forum Newbie / General discussionsReplies: 3Last Post: 15th Aug 2011, 10:12 -
i cannot encode with ffmpegx
By Se0r in forum ffmpegX general discussionReplies: 8Last Post: 24th Sep 2009, 12:38 -
FFMPEGX won't encode!
By Kalasin in forum ffmpegX general discussionReplies: 1Last Post: 26th Jul 2009, 11:02 -
MeGui Encode - x264 / AC3 / MKV - No subtitles in MPC
By Shevek in forum SubtitleReplies: 1Last Post: 28th May 2008, 03:19 -
ffmpegx autocrop and preview not working anymore
By skankmonky18 in forum ffmpegX general discussionReplies: 6Last Post: 22nd Aug 2007, 01:21