Error Renaming File Mp4box
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 error renaming file or folder Discussion Github Code Create Topic Stats Graph Forums Authoring 293 Help error renaming file or folder access is denied 942 Open Discussion 400 Help Formatting Help Video gets deleted Forum: Help Creator: Anonymous Created: 2011-02-13 Updated: 2014-01-30 Anonymous - 2011-02-13 Hello I try to run mp4Box over some mp4 files through php, but it just delete videos once finished and I get some error, "Error renaming file out_1.mp4 into …" I am on Centos, directories and videos are world writable etc Any clue? If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Romain Bouqueau - 2011-02-14 Hi, This error happens when the "rename" function tries to rename files on different filesystems. Please try to set your temporary directory on the same filesystem as your output. You can use the '-tmp' option from MP4Box for that. Please tell if it helps. Romain If you would like to refer to this comment somewhere else in this project, copy and paste the following link: rootkit85 - 2014-01-30 no this is not the issue, I have /tmp in the same filesystem as the source and destination file. the main issue is that mp4box fails when spawning mv: [pid 7616] execve("/bin/mv", ["mv", "out_2013-12-27", "22.26.11.mp4", "2013-12-27", "22.26.11.mp4"], [/ 60 vars /]) = 0 it splits file paths with spaces in it If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Romain Bouqueau - 2014-01-30 I've checked the code: it moves files with simple quotes. 1) What is your os? 2) What is your GPAC version? 3) What is your command-line? Romain If you would like to refer t
New Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: gpac (Ubuntu) Filed here by: Matteo Croce When: 2014-01-30 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance New Undecided https://sourceforge.net/p/gpac/discussion/287547/thread/24b6af64/?limit=25 Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description MP4Box fails to handle filenames with special characters like space because it execs `mv` without escaping file paths. https://bugs.launchpad.net/bugs/1274514 Example: $ MP4Box -rem 1 '2013-12-27 22.26.11.mp4' Removing track ID 1 Saving 2013-12-27 22.26.11.mp4: 0.500 secs Interleaving Error renaming file out_2013-12-27 22.26.11.mp4 to 2013-12-27 22.26.11.mp4 also, MP4Box removes the original file so it may cause data loss this is fixed in r4410: https://sourceforge.net/p/gpac/code/4410/ Add tags Tag help See full activity log To post a comment you must log in. Report a bug This report contains Public information Edit Everyone can see this information. Mark as duplicate Convert to a question Link a related branch Link to CVE You are not directly subscribed to this bug's notifications. Subscribing... Edit bug mail Other bug subscribers Subscribe someone else • Take the tour • Read the guide © 2004-2016 CanonicalLtd. • Terms of use • Contact Launchpad Support • Blog • Careers • System status • r18232 (Get the code!)
Sign in Pricing Blog Support Search GitHub This repository Watch 7 Star 16 Fork 6 jbillo/xenonmkv Code Issues 7 Pull requests 1 Projects 0 Pulse Graphs New issue Issue converting file, MP4Box https://github.com/jbillo/xenonmkv/issues/2 Segfaults #2 Closed three18ti opened this Issue Nov 9, 2012 · 8 comments Projects None yet Labels None yet Milestone No milestone Assignees jbillo 3 participants three18ti commented Nov 9, 2012 Hello, First, this is awesome. Thanks for putting it together. I am having an issue when running your script though, MP4Box is unable to create the file due to a segfault. I think the error renaming problem really is MP4Box but I had a couple questions about modifications that might make troubleshooting MP4Box easier. 1) Is it possible to show the full command being run? e.g. when MP4Box is invoked can we show the actual command line parameters? 2) Would it be possible to stop your script from cleaning up the temporary files? I think you can see where I'm going with this, I'd error renaming file like to invoke MP4Box directly and get the output from MP4Box as I'm sure it will be requested from those guys. If you have encountered this before I'd be open to any suggestions. I have attached the relevant logs below for the sake of completeness. Thanks, Jon The error I get in /var/log/syslog is: Nov 9 12:54:02 foo kernel: [144387.385017] MP4Box[15591]: segfault at 73746284 ip 00007fbfc3a84d75 sp 00007ffff95b4460 error 4 in libc-2.15.so[7fbfc3a06000+1b5000] Here is the full output of my attempt to invoke xenonmkv root@foo:~/jbillo-xenonmkv-bc4c612# ./xenonmkv.py /media/video/some.mkv --profile xbox360 2012-11-09 12:52:53,015 - xenonmkv [WARNING] An invalid number of channels was specified. Falling back to 2-channel stereo audio. Extracting track 1 with the CodecID 'V_MPEG4/ISO/AVC' to the file 'temp_video.h264'. Container format: AVC/h.264 elementary stream Extracting track 2 with the CodecID 'A_AC3' to the file 'temp_audio.ac3'. Container format: Dolby Digital (AC3) Progress: 100% MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team Playing /var/tmp/temp_audio.ac3. libavformat version 53.21.0 (external) Mismatching header version 53.19.0 libavformat file format detected. [lavf] stream 0: audio (ac3), -aid 0 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.35.0 (external) Mismatching header version 53.32.2 AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) Selected audio codec: [ffa