I've the same issue on a MBPro 1.83, though mine doesn't result in a crash (nightly 03/31 and previous, no instance on PPC). It occurs while playing video files of all sorts (AVI/XViD, H.264, AVC1). A bit of further investigation showed it only appears if the file ends or is stopped (command-period) while in fullscreen.i have an intel solo core mac mini and i am using the 03/31/06 nightly build i have been having trouble playing .iso files with this build as well as all the other ones ive tried. the file launches an plays fine for about five minutes then suddenly closes with this error.
main: thread 2684407680: mutex_lock failed at misc/variables.c:805 (22:Invalid argument)
main: thread 2684407680: mutex_unlock failed at misc/variables.c:811 (22:Invalid argument)
Any help you guys could give me on this would be great, as much of my dvd collection is in .iso format. i have no problems playing them on my windows machine. VLC is great thanks for all your hard work.
Code: Select all
ffmpeg: cannot find encoder h264
stream_out_transcode: cannot find encoder
stream_out_transcode: cannot create video chain
main: cannot create packetizer output (mp4v)
Yes it's an 0.8.5 specific issue. I thought i solved it, but it just became less likely to occur, and it no longer crashes. I'll add it to the list.I've the same issue on a MBPro 1.83, though mine doesn't result in a crash (nightly 03/31 and previous, no instance on PPC). It occurs while playing video files of all sorts (AVI/XViD, H.264, AVC1). A bit of further investigation showed it only appears if the file ends or is stopped (command-period) while in fullscreen.
It occurs running 0.8.5 Intel natively, or 0.8.5 PPC in Rosetta. It DOES NOT occur while running 0.8.4 under Rosetta.
It does not occur under 0.8.4 or 0.8.5 PPC on a G4 mac.
DJ mentioned this is something of a known bug, but it seems to work fine on 0.8.5 PPC on PPC. I don't have a windows or native linux box to test this on.
VLC uses a special version of ffmpeg adapted to run on Intel. I submitted many of those pathces to ffmpeg, but getting something in FFmpeg is a rediciously complicated proces, which recently made me taking the stance of only submitting patches, and not caring about wether it actually gets IN ffmpeg. We can use the private version if they don't care about contributions.Additionally, transcoding does not seem to work at all, it fails with a failure to find an encoder through ffmpeg. This is not entirely surprising, considering I couldn't get ffmpeg to compile from cvs the other day. I assume that you, like me, couldn't quite get ffmpeg to make properly. Apparently some patches were submitted to the ffmpeg cvs as of 20 February, but they apparently haven't been committed.
Code: Select all
ffmpeg: cannot find encoder h264 stream_out_transcode: cannot find encoder stream_out_transcode: cannot create video chain main: cannot create packetizer output (mp4v)
Aside from that, I kinda miss the fullscreen button, and as has been stated, mpga doesn't work, but so far, it's been working like a charm.
This means that the charset that VLC is assuming, is incorrect. On Windows it can be quite intelligent, on MacOSX, we are somewhat limited in our assumptions. I'll try to improve it a bit, but and ASSUMPTION is still an assumption, if you want to do it properly, you should tell VLC which character encoding the subtitle file is using.In todays build, the automatic detection of subtitltes seemed to work, as I could select it from the menu. However, they only displayed the first line from the subtitle and continously reported the following error:
subsdec: failed to convert subtitle encoding.
Try manually setting a character-encoding before you open the file.
I don't really know what the last thing means, but since I don't have to do that in the windows version of ViLC, I shouldn't have to do it in OS X either, I guess?
Thanks for the answer. I've discovered more problems with charsets in OS X in other applications (only been an OS X user for a few days, just got my Macbook Pro), so I have to learn more about this topic.This means that the charset that VLC is assuming, is incorrect. On Windows it can be quite intelligent, on MacOSX, we are somewhat limited in our assumptions. I'll try to improve it a bit, but and ASSUMPTION is still an assumption, if you want to do it properly, you should tell VLC which character encoding the subtitle file is using.
That option is already there of course. It's part of the macosx interface options. Prefs->Interface->Main Interface->macosx "Embedded video output".Will there be an option to get back the old style video window? That is, borderless and without the buttons and position bar?The fullscreen button is now part of the video window, not the primary controller.
The MacOS X assumptions have been fixed now. However, note that if you try to play a file with the russian charset on your chinese computer, it will still not work. There is just so much you can assume and if the subtitle file doesn't specify that is uses a russian charset, then YOU need to specify it if your computer isn't set to the russian language.Thanks for the answer. I've discovered more problems with charsets in OS X in other applications (only been an OS X user for a few days, just got my Macbook Pro), so I have to learn more about this topic.
I've tested with a few options, generally from avi:xvid/mpga into h.264 with an MPEG4 wrapper (iPod-compatible format, essentially). Pretty much any standard mpeg 4 instances would not work, h.264 and mp4v for video, and mp4a for audio. As we'd determined above, mp4a decoding didn't work, so it wasn't much of a surprise there. Switching to mp3 audio would result in a file that only had audio.Also, WHAT and HOW are you transcoding here. You need to be more specific. Because it should work. I tested it.
Sorry, I meant mp4a, not mpga (in my case, in an MPEG4 wrapper). The error that comes up while encoding to mp4a isThe fullscreen button is now part of the video window, not the primary controller. About mpga and AAC, I need to further look at those.
Code: Select all
main: cannot add this stream
main: cannot create packetizer output (mpga)
Code: Select all
MPEG 4 Encapsulation
- mp1v, mp2v, div1, div2, div3, wmv1, wmv2, theo fail silently
- mp4v, mjpg converts successfully
- h.263, h.264 fails explicitly
- mpga, mp3 convert successfully
- mp4a converts, silent in VLC, fail QT, success mplayer
- a52, vorb, spx fail silently
- flac fails explicitly x2
Quicktime Encapsulation
- mp1v, mp2v, div1, div2, div3, wmv1, wmv2, theo fail silently
- h.264, h.264 fails explicitly
- mp4v, mjpg converts successfully
- mp3 converts successfully
- mp4a converts successfully, plays in Quicktime/mplayer
- flac fails explicitly
- mpga, a52, vorb, spx fail silently
I guess that these use mpeg 4 audio which is currently broken in the developement versions ... we need to fix itI'm not sure if this is a known issue or not since people seem to be busy worrying about other issues. For the majority of the nightlies that I have downloaded in the last several weeks ( i test them every few days ), none of my h.264 or "mpeg4" videos have had audio playback. I get h264/mpeg4 videos from a number of sources including my own encodes done with iSquint, none of which have had audio in the last couple weeks of nightly builds.
Return to “VLC media player for macOS Troubleshooting”
Users browsing this forum: No registered users and 31 guests