Mp4box Bus Error
Contents |
to https://github.com/gpac/gpac/ Brought to you by: cconcolato, jeanlf, rbouqueau Summary Files Reviews Support Wiki Tickets ▾ Bugs Support Requests Patches Feature Requests News Discussion Github Code Create Topic Stats bus error c Graph Forums Authoring 293 Help 942 Open Discussion 400 Help Formatting Help
Bus Error Linux
MP4Box dash crashes with mp4 fragmented files with an audio or video modifier Forum: Help Creator: Francesc Pinyol Margalef how to solve bus error in linux Created: 2014-02-11 Updated: 2015-06-30 Francesc Pinyol Margalef - 2014-02-11 Hi, When running MP4Box to dash an mp4 file, everything is fine: MP4Box -dash 10000 sintel_trailer-720p.mp4 To get separated AdaptationSet (one for linux bus error core dumped audio and one for video, as required by HbbTV), I run: MP4Box -dash 10000 sintel_trailer-720p.mp4#audio sintel_trailer-720p.mp4#video It is also fine. But when the input is a fragmented mp4: MP4Box -frag 5000 -out sintel_trailer-720p_frag.mp4 sintel_trailer-720p.mp4 MP4Box -dash 10000 sintel_trailer-720p_frag.mp4#video sintel_trailer-720p_frag.mp4#audio I get a segmentation fault. Dashing a fragmented mp4 without any modifier works fine: MP4Box -dash 10000 sintel_trailer-720p_frag.mp4 But as soon as I
Sigbus Error Linux
add a #video or #audio modifier, I get the segmentation fault: MP4Box -dash 10000 sintel_trailer-720p_frag.mp4#video Is using #audio and #video modifiers a good way to get two AdaptationSet from a single mp4 file? Francesc If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Francesc Pinyol Margalef - 2014-02-12 Hi, I think I've found the reason of the problem. If the input file is fragmented, it contains a moov->mvex box that indicates two tracks. Somewhere in the code, this box is cloned to the output. The function gf_isom_setup_track_fragment (in file isomedia/movie_fragments.c) checks if a mvex box is already present, it founds it, and a new one with just one track is not created. A workaround to avoid crashing is modifying this function in order to delete any previoulsly created mvex box, and create a new one (see attached pacth). Should the input mvex box be cloned to the output? Francesc Last edit: Francesc Pinyol Margalef 2014-02-12 mvex.patch If you would like to refer to this comment somewhere else in this project, copy and paste th
of converting my mkv's to m4v's for use on appletv. the mkv's originally contained the ac3 soundtrack, and an h264 video track (the bare minimum anyway). i used vlc bus error vs segmentation fault to export the audio to aac-lc 6-channel format, in a new .mp4 file. how to debug bus error using MP4Box -info filename.mp4, this lists as: * Movie Info * Timescale 90000 - Duration 01:37:25.546 Fragmented File no - 1
Bus Error 10 Mac
track(s) File Brand isom - version 0 Created: GMT Sat Mar 14 12:00:11 2009 File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 48000 - Duration 01:37:25.546 Media Info: https://sourceforge.net/p/gpac/discussion/287547/thread/de3328e2/ Language "Undetermined" - Type "soun:mp4a" - 274010 samples MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 48000 Self-synchronized i used mpeg streamclip to convert the mkv to an mp4 file (m4v actually) but this still contains the ac3 sound track: * Movie Info * Timescale 45000 - Duration 01:37:25.600 Fragmented File no - 2 track(s) File Brand qt - version 537199360 http://forum.doom9.org/archive/index.php/t-145656.html Created: GMT Sat Mar 14 09:59:18 2009 Moov Meta type: "mdta" - 0 resource item(s) File has no MPEG4 IOD/OD Track # 1 Info - TrackID 1 - TimeScale 1000 - Duration 01:37:25.173 Media Info: Language "Undetermined" - Type "vide:avc1" - 140144 samples MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21 AVC/H264 Video - Visual Size 1280 x 720 - Profile High @ Level 5.1 NAL Unit length bits: 32 Self-synchronized Track Meta type: "mdta" - 0 resource item(s) Track # 2 Info - TrackID 2 - TimeScale 1000 - Duration 01:37:25.600 Media Info: Language "Unknown" - Type "soun:ac-3" - 182675 samples AC3 stream - Sample Rate 1 - 3 channel(s) 16 bits per samples Track Meta type: "mdta" - 0 resource item(s) using a pre-compiled Mac OSX version of MP4Box 0.4.6-DEV (build 1) (available from any good google search) i tried to add the 1st track into the 2nd. this results in: /Applications/MP4Box -add /Volumes/EditSpace/Anchorman/Anchorman.The.Legend.Of.Ron.Burgundy.mkv.a1.mp4#trackID=1 /Volumes/EditSpace/Anchorman/Anchorman_\ The\ Legend\ Of\ Ron\ Burgundy.720p.m4v outputs following (after a progress bar completes to 100%, and then is removed from the screen) IsoMedia import - track ID 1 - Audio (SR 48000 - 6 channels) Setting up iTunes/iPod file... Forcing AVC/H264 SAR to 1:1... Saving /Volumes/EditSpace/Anchorman/Anchorman_\ The\ Legend\ Of\ Ron
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About http://stackoverflow.com/questions/212466/what-is-a-bus-error Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up What is a bus error? up bus error vote 156 down vote favorite 49 What does the "bus error" message mean, and how does it differ from a segfault? c unix segmentation-fault bus-error share|improve this question edited Oct 18 '15 at 10:44 Cool Guy 15.7k51952 asked Oct 17 '08 at 14:48 raldi 7,272216178 add a comment| 15 Answers 15 active oldest votes up vote 151 down vote accepted Bus errors are rare nowadays on bus error c x86 and occur when your processor cannot even attempt the memory access requested, typically: using a processor instruction with an address that does not satisfy its alignment requirements. Segmentation faults occur when accessing memory which does not belong to your process, they are very common and are typically the result of: using a pointer to something that was deallocated. using an uninitialized hence bogus pointer. using a null pointer. overflowing a buffer. PS: To be more precise this is not manipulating the pointer itself that will cause issues, it's accessing the memory it points to (dereferencing). share|improve this answer edited Oct 17 '08 at 15:18 answered Oct 17 '08 at 15:12 bltxd 5,72322336 52 They aren't rare; I'm just at Exercise 9 from How to Learn C the Hard Way and already encountered one... –11684 Mar 26 '13 at 20:12 5 Another cause of bus errors (on Linux anyway) is when the operating system can't back a virtual page with physical memory (e.g. low-memory conditions or out of huge pages when using huge page memory.) Typically mmap (and malloc) just reserve the virtual address space, and the kernel assigns the physical memory on demand (s