PDA

View Full Version : Error when playing a file in QuickTime


Sboq81
10-04-2009, 03:50 PM
Hey guys!

I am having a strange issue, and I really hope someone can help me out with it. Sometimes when I try to convert a few AVI files to an MP4 and then play it in QuickTime, I get an error about "2002 a bad public movie atom was found in the file".

Here is the console log of the file conversion:

EXEC: C:\Program Files\Red Kawa\Video Converter App\Tools\VideoInfo\VideoInfo.exe "C:\Documents and Settings\Jason\Desktop\FILES\CSI-1001-1.avi"

VideoInfo Tool 5.2
(C) 2009 Red Kawa
http://www.redkawa.com

MediaInfoLib - v0.7.22

Container=AVI
FileSize=350 MiB
VideoCodecID=XVID
VideoCodecIDHint=XviD
VideoFormat=MPEG-4 Visual
VideoFormatVersion=
VideoFormatProfile=AdvancedSimple@L5
VideoDuration=00:43:51.673
VideoBitrate=973 Kbps
VideoWidth=624
VideoHeight=352
VideoDisplayAspectRatio=1.773
VideoFrameRate=23.976
VideoFrameCount=63097
AudioCodecID=55
AudioCodecIDHint=MP3
AudioFormat=MPEG Audio
AudioFormatVersion=Version 1
AudioFormatProfile=Layer 3
AudioDuration=00:43:51.672
AudioBitrate=130 Kbps
AudioMode=VBR
AudioChannels=2
AudioSamplingRate=48000

AVIdwRate=23976024
AVIdwScale=1000000

DONE
MSG - OS - Version: Microsoft Windows NT 5.1.2600 Service Pack 3
MSG - Converter - Version: 5.02
MSG - Converter - Device: iPhone_2G
MSG - Converter - Profile: H.264 480x320 768kbps Stereo/128kbps
MSG - VideoInfo - Length: 2631s
MSG - VideoInfo - Width: 624 pixels
MSG - VideoInfo - Height: 352 pixels
MSG - VideoInfo - Aspect Ratio: 1.773
MSG - VideoInfo - Framerate: 23.976 fps
MSG - VideoInfo - Frame Count: 63097
MSG - Converter - Automatically Resizing Resolution
MSG - Converter - New Width:480 | New Height: 270
EXEC: C:\Program Files\Red Kawa\Video Converter App\Tools\FFmpeg\ffmpeg.exe -i

FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
MSG - FFmpeg - Revision could not be read from FFmpeg
configuration: --enable-memalign-hack --enable-postproc --enable-swscale --enable-gpl --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --disable-ffserver --disable-ffplay --enable-avisynth --enable-libdirac --enable-libschroedinger --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-libspeex --enable-libopenjpeg --enable-small --disable-decoder=aac --extra-cflags=-mtune=generic -fno-common -I/usr/local/include --extra-ldflags=-L/usr/local/lib
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 13 2009 23:50:16, gcc: 4.3.3
C:\Program Files\Red Kawa\Video Converter App\Tools\FFmpeg\ffmpeg.exe: missing argument for option '-i'
EXEC: C:\Program Files\Red Kawa\Video Converter App\Tools\FFmpeg\ffmpeg.exe -y -i "C:\Documents and Settings\Jason\Desktop\FILES\CSI-1001-1.avi" -f mp4 -metadata title="CSI-1001-1" -timestamp "2009-10-04 10:54:32" -vcodec libx264 -level 21 -s 480x270 -b 768k -bt 768k -bufsize 4M -maxrate 4M -g 250 -coder 0 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +mixed_refs -me_method umh -subq 6 -trellis 1 -refs 3 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -threads 0 -acodec libfaac -ac 2 -ab 128k "C:\Documents and Settings\Jason\Desktop\FILES\CSI-1001-1.mp4"

FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --enable-postproc --enable-swscale --enable-gpl --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --disable-ffserver --disable-ffplay --enable-avisynth --enable-libdirac --enable-libschroedinger --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-libspeex --enable-libopenjpeg --enable-small --disable-decoder=aac --extra-cflags=-mtune=generic -fno-common -I/usr/local/include --extra-ldflags=-L/usr/local/lib
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 13 2009 23:50:16, gcc: 4.3.3

Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997003/125000)
Input #0, avi, from 'C:\Documents and Settings\Jason\Desktop\FILES\CSI-1001-1.avi':
Duration: 00:43:51.67, start: 0.000000, bitrate: 1115 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
Output #0, mp4, to 'C:\Documents and Settings\Jason\Desktop\FILES\CSI-1001-1.mp4':
Stream #0.0: Video: libx264, yuv420p, 480x270 [PAR 254:255 DAR 4064:2295], q=10-51, 768 kb/s, 90k tbn, 23.98 tbc
Stream #0.1: Audio: libfaac, 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[libx264 @ 0x16f41f0]width or height not divisible by 16 (480x270), compression will suffer.
[libx264 @ 0x16f41f0]using SAR=254/255
[libx264 @ 0x16f41f0]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x16f41f0]profile Baseline, level 2.1
Press [q] to stop encoding
frame= 31 fps= 0 q=21.0 size= 215kB time=1.28 bitrate=1375.9kbits/s
frame= 45 fps= 43 q=23.0 size= 298kB time=1.86 bitrate=1314.8kbits/s
frame= 63 fps= 41 q=19.0 size= 364kB time=2.62 bitrate=1135.3kbits/s
frame= 82 fps= 40 q=20.0 size= 432kB time=3.41 bitrate=1036.6kbits/s
frame= 98 fps= 38 q=21.0 size= 502kB time=4.07 bitrate=1008.3kbits/s
frame= 117 fps= 38 q=24.0 size= 598kB time=4.86 bitrate=1007.2kbits/s
frame= 138 fps= 38 q=24.0 size= 700kB time=5.74 bitrate= 999.5kbits/s
frame= 158 fps= 38 q=24.0 size= 789kB time=6.57 bitrate= 983.4kbits/s
frame= 175 fps= 38 q=23.0 size= 856kB time=7.27 bitrate= 963.8kbits/s

(NOTE - the frame info continues to the end, I edited it out for my post.)

frame=62904 fps= 48 q=17.0 size= 286503kB time=2623.62 bitrate= 894.6kbits/s
frame=62928 fps= 48 q=17.0 size= 286588kB time=2624.60 bitrate= 894.5kbits/s
frame=62953 fps= 48 q=16.0 size= 286685kB time=2625.64 bitrate= 894.5kbits/s
frame=62993 fps= 48 q=10.0 size= 286761kB time=2627.33 bitrate= 894.1kbits/s
frame=63064 fps= 48 q=10.0 size= 286880kB time=2630.29 bitrate= 893.5kbits/s
frame=63096 fps= 48 q=-12329436.9 Lsize= 288392kB time=2631.59 bitrate= 897.7kbits/s

video:245823kB audio:41109kB global headers:1kB muxing overhead 0.508870%
[libx264 @ 0x16f41f0]slice I:787 Avg QP:15.16 size: 18227
[libx264 @ 0x16f41f0]slice P:62309 Avg QP:18.26 size: 3810
[libx264 @ 0x16f41f0]mb I I16..4: 20.8% 0.0% 79.2%
[libx264 @ 0x16f41f0]mb P I16..4: 1.4% 0.0% 3.0% P16..4: 45.9% 25.4% 10.0% 0.0% 0.0% skip:14.3%
[libx264 @ 0x16f41f0]final ratefactor: 17.78
[libx264 @ 0x16f41f0]ref P L0 79.4% 13.2% 7.3%
[libx264 @ 0x16f41f0]SSIM Mean Y:0.9883857
[libx264 @ 0x16f41f0]kb/s:765.2
Conversion Stats
Pass:
Filesize: 288392 KB
Bitrate: 897.7 kbps
Time Elapsed: 00h 21m 42s
Frame: 63096
Total Frames: 63097
Processed: 2631.5s
Video Length: 2631s

Does anyone know what I am doing wrong? I am using the "Power User" mode with the "iPhone 3G" in the "Device" box, and "H.264 480x320 768kbps Stereo/128kbps" in the "Profile" box.

I have used the Videora iPhone 3G Converter to convert hundreds of files that have worked flawlessly, and I have recommended it to a LOT of people that want to convert files for their iPhone, so I'm really hoping this is a solvable issue.

Thanks for any help you can provide!!!

Red Kawa
10-04-2009, 06:12 PM
You aren't doing anything wrong. It's really Apple's fault because it is a bug in QuickTime that has been around for a very long time.

The only thing you can do is work around the issue. Create a new profile based on the one you want to use, but change the framerate from Auto to 23.976. Then encode the video normally.

Alternatively, you may also be able to work around this by using AviSynth to decode the video. Instructions on how to do that can be found in the troubleshooting section.

Sboq81
10-05-2009, 12:39 AM
Hello:

When I tried to edit a profile, I receied the following message. Should I try to reinstall Videora?

Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to contine. If you click Quit, the application will close immediately.

End of Stream encounted before parsing was completed.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.Serialization.SerializationExceptio n: End of Stream encountered before parsing was completed.
at System.Runtime.Serialization.Formatters.Binary.__B inaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.Obj ectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.Bin aryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject( Int32 typeIndex)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(Stri ng key, Boolean ignoreCase, Boolean isString)
at System.Resources.RuntimeResourceSet.GetObject(Stri ng key, Boolean ignoreCase)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name)
at Videora.61707fdca94a789e.85601834555fb7d5()
at Videora.61707fdca94a789e..ctor(963d532a1d9f9a0b videoraGUI, String deviceName, String profileName, Boolean newProfile, Boolean nameReadOnly)
at Videora.f266856f631ec016.d0c1eef343ac7647(Object e0292b9ed559da7d, EventArgs fbf34718e704c6bc)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VideoConverterApp
Assembly Version: 5.2.0.0
Win32 Version: 5.02.0.0
CodeBase: file:///C:/Program%20Files/Red%20Kawa/Video%20Converter%20App/VideoConverterApp.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Skybound.Gecko
Assembly Version: 1.9.1.0
Win32 Version: 1.9.1.0
CodeBase: file:///C:/Program%20Files/Red%20Kawa/Video%20Converter%20App/Skybound.Gecko.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
oj2k_xjq
Assembly Version: 5.2.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
hmf7crsy
Assembly Version: 5.2.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
pjbx9nzc
Assembly Version: 5.2.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Red Kawa
10-05-2009, 08:51 AM
This seems to be a bug present in version 5.02. Reinstalling probably won't help. It should be fixed in 5.03 which should be available this week.

Red Kawa
10-06-2009, 09:52 AM
Version 5.03 has now been released. That error message should no longer occur. Please let us know if you see the error or if everything is fixed.

Sboq81
10-06-2009, 11:34 PM
Hello:

I just wanted to let you know that I've tried everything you posted, but I was still getting the same error with a few of my AVI files. Sadly, I had to try another converter, and so far, I am not getting the errors with the same files that I was with Videora.

I don't want to say it in my comment, but if you would like to know which one, and with the Videora's permission, I would like to help out anyone else that is having a problem.

Thank you for your help! Your solution did work for 1 file, but it was not working for another 2. :(

sidelko
10-21-2009, 03:37 PM
You must desselect the subtitle option in the converting profiles tab general 2. The subtitle option is bugged i think.

oxidamot73
10-31-2009, 12:19 PM
When I click to backup current config or restore default config I get An unhandled exception has occurred on your application. The back up current configuration statement says:
Could not find a part of the path C:DOCUME1HP_ADM1TempTemporary Directory1 for config manager 1.zipBackupcontent Types.xml.
If I ignore the error and continue through the proccess I still get my original massage at videora... Im not that strong at tech stuff so Im pretty much baffled. Any ideas?

chapel
11-10-2009, 05:34 PM
I'm also running into this problem. I found some fixes that said something about retagging it with a program called TVTagger, but the download link on that site is broken.

I tried setting 'AviSynch' to on, turning off subtitles and changing the FPS to 23.976 and i'm still getting this error.

chapel
11-10-2009, 06:20 PM
I just tried 'normal mode' and it seems to be working now...