Re: [Elphel-support] broken files from footage?
Hi, Oleg, thanks again for the support! I tried the script with the mkv but no success. I am uploading a small mkv (75MB) for you to see. I guess you are right: ffmpeg probably change the headers. With this file I'm uploading, the same cenario occurs: the php script won't split it; ffmpeg does but then movie2dng won't convert the files and elphel_dng does convert it but with the colors shifted. I mean to say: probably, this is what happen to any .mkv file if we use this workflow (with ffmpeg). Now, it just occured to me. This may have nothing to do with the problem, but may also be the cause of it. To watch the stream of the video (and recording it, in this case), I'm using this line: gst-launch-0.10 rtspsrc location=rtsp://192.168.1.9:554 protocols=0x0001 latency=100 ! rtpjpegdepay ! tee name=raw_tee ! queue ! jpegdec ! queue ! jp462bayer ! video/x-raw-bayer, width=(int)$NEW_WIDTH, height=(int)$NEW_HEIGHT, format=(string)gbrg ! queue ! bayer2rgb2 method=0 ! ffmpegcolorspace ! queue ! autovideosink raw_tee. ! queue ! videorate ! image/jpeg, width=(int)2304, height=(int)960, framerate=(fraction)24/1 ! matroskamux ! filesink location=$FOLDER/s06b_t1_$FILE_NUMBER.mkv -e The important thing on it is that since the camera was upside down, notice I had to change this line to format=(string)gbrg as shown above. Otherwise, the colors would change in the stream, the red and blue channels. I guess the original line was format=(string)grbg (r and b changed). I thought that this affected only the stream I was watching but not recording. However, I have just checked now that the script I made to play the .mkv recorded videos reads as follows: gst-launch-0.10 filesrc location=$VIDEO ! decodebin ! ffmpegcolorspace ! queue ! jp462bayer ! video/x-raw-bayer, width=(int)$DISP_WIDTH, height=(int)$DISP_HEIGHT, format=(string)gbrg ! queue ! bayer2rgb2 method=1 ! queue ! ffmpegcolorspace ! xvimagesink; It also contains the info format=(string)gbrg, meaning I have to re-shift the colors to watch it. Maybe elphel_dng is just working fine and the original footage is the one that is shifted? If so, I might have to find a way of doing this on conversion - maybe even by re-playing the file with GStreamer while re-dumping the video, with the color channels r and b back to place? (the video has just finished uploading) thanks again! 2012/11/17, Oleg support-list@support.elphel.com: Flavio, Looks like ffmpeg puts (at least) its own headers into the files: JFIF Lavc52.123.0... - this causes the wrong conversion. I don't know whether an *.mkv file has full frames inside (most likely it's not) If it does then split_mov_2.phphttp://community.elphel.com/files/php_scripts/split_mov_2.php.txtcan split it. If not - the solution might be replacing the headers with the ones from the correct footage. Could you also upload an mkv sample? Regards, Oleg On 17 November 2012 11:21, flavio soares qazav...@gmail.com wrote: No success here... =/ I uploaded two files to elphel's ftp (folder Videos). I used ffmpeg to convert a mkv file to a series of jpegs. One of them is the jpg, the other is just the jpg renamed to jp4. If I use elphel_dng to convert them to dng, the colors shift completely. I can't seem to make movie2dng work with them however... Of all the scenes, this is the one I'd like to save the most. Any hints? thanks again for all the help! ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Hello Flavio, What are your source files? Did you record video on HDD or you streamed it over the network and used other software for converting and recording? Files recorded by the camera to the HDD have all the Exif fields, including MakerNote, but I'm not sure if other programs preserve them all. Another thing - when you record to the HDD you can record more data (higher resolution/fps/image quality), the difference is at least 60% so I do not see any reason for recording over the network if you have HDD attached. Among other things MakerNote field has the parameters for analog gains, gamma, and flips (hor/vert) so the software can correctly process the data. When you change flips in the camera, the output the frame that is output shifts by 1 pixel, so the Bayer pattern stays the same - if you just flip the frame the Bayer mosaic will change. Andrey ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Hi, Andrey, I have recorded both in the HDD and the stream. In this shot in particular, the hdd failed because we stood there 2 hours under a 5000w light inside a room setting the scene - the hdd had no cooler and eventually failed when the shot was made. I was able to mix two of these shots so that the effect is sort of ok. But I wanted to check the stream because it jitters less (to be able to use the hdd shot, I had to manually repeat some dngs with defect so that I had a scene, but then the repeated frames jitter a bit in some parts of the scene). The shots recorded with the HDD are fine - meaning the problem was the heat in the hdd, not anything to do with the camera. So the DNGs even upside down are more than ok! =) thanks for all the help! flavio 2012/11/18 support-list support-list@support.elphel.com ** Hello Flavio, What are your source files? Did you record video on HDD or you streamed it over the network and used other software for converting and recording? Files recorded by the camera to the HDD have all the Exif fields, including MakerNote, but I'm not sure if other programs preserve them all. Another thing - when you record to the HDD you can record more data (higher resolution/fps/image quality), the difference is at least 60% so I do not see any reason for recording over the network if you have HDD attached. Among other things MakerNote field has the parameters for analog gains, gamma, and flips (hor/vert) so the software can correctly process the data. When you change flips in the camera, the output the frame that is output shifts by 1 pixel, so the Bayer pattern stays the same - if you just flip the frame the Bayer mosaic will change. Andrey ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
No success here... =/ I uploaded two files to elphel's ftp (folder Videos). I used ffmpeg to convert a mkv file to a series of jpegs. One of them is the jpg, the other is just the jpg renamed to jp4. If I use elphel_dng to convert them to dng, the colors shift completely. I can't seem to make movie2dng work with them however... Of all the scenes, this is the one I'd like to save the most. Any hints? thanks again for all the help! ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Flavio, Looks like ffmpeg puts (at least) its own headers into the files: JFIF Lavc52.123.0... - this causes the wrong conversion. I don't know whether an *.mkv file has full frames inside (most likely it's not) If it does then split_mov_2.phphttp://community.elphel.com/files/php_scripts/split_mov_2.php.txtcan split it. If not - the solution might be replacing the headers with the ones from the correct footage. Could you also upload an mkv sample? Regards, Oleg On 17 November 2012 11:21, flavio soares qazav...@gmail.com wrote: No success here... =/ I uploaded two files to elphel's ftp (folder Videos). I used ffmpeg to convert a mkv file to a series of jpegs. One of them is the jpg, the other is just the jpg renamed to jp4. If I use elphel_dng to convert them to dng, the colors shift completely. I can't seem to make movie2dng work with them however... Of all the scenes, this is the one I'd like to save the most. Any hints? thanks again for all the help! ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
That's quite odd! That's exactly how it's supposed to look like, how did you do that? I didn't know that you could actually use movie2dng for single JP4 files! That changes everything! This frame was from one of those 'broken' header mov sequences. I used your php script to break it into JP4 images, but when I tried using elphel_dng, the colors were shifted, as if inverted. I'll send you a printscreen when I get home. Oleg, I think you just saved me some footage! o.O Thank you very much! As to movie2dng, I believe a 'for in in `ls *.jp4`; do movie2dng --dng $i; done' should work then... 2012/11/12 Oleg support-list@support.elphel.com Hi, Flavio, What's seeming odd is that for some files, the dng seems 'out of colours'. Meaning, in this sequence for example, all the colors seem to have faded. And I notice this seems to be the case for some other sequences that presented some error... Any ideas what may be the cause? Here's what I got after converting (using movie2dnghttp://wiki.elphel.com/index.php?title=Movie2dng) your image - http://community.elphel.com/incoming/Videos/1351914544_546877.jpeg. Don't know how it should look - so, could you also send/upload a good jp4 from the same sequence - like 1 frame before or after that frame. First thing I'd check is the exif header. There's an online exif-reader - http://regex.info/exif.cgi. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Oleg, this made the trick! Thank you very much! =) And thanks for modifying the script to work via command line, that was also very helpful! I left my house today and the footage was about 80% converted. Raise the drums! =) 2012/10/30 flavio soares qazav...@gmail.com Oleg, thank you very much! I'll definitely test it tomorrow (currently, my comp is gasping with the bunch or raw frames). I believe I can proceed from the jp4s using one of Carlos Padial scripts =) I don't believe I had wb on, I always kill the autoexposure before recording and I believe I turned it off in autoicampars also. I'll check the change in colors then. Btw, do you know what might be the cause of this header error? The cam didn't output any error messages while at the shooting set... Again -- thanks a lot, this doubles my security with the footage! =) 2012/10/30, Oleg support-list@support.elphel.com: I was able to split it into jpegs, here's a sample http://community.elphel.com/incoming/Videos/1351368477_370584.jpeg . Looked at the file header - the MOV header is emtpy (all zeros), while the images exif headers are ok. Uploaded a modified scripthttp://community.elphel.com/files/php_scripts/split_mov_2.php.txt (erase .txt extension) - then you will be able to launch it from a command line: php split_mov_2.php path-to-mov-file extension-of-the-images example: php split_mov_2.php /data/oleg/test_flavio/s01p4t2_1351346876_661174.mov jp4 Though it's not to difficult to enable php in apache)) Note: the script will get you a bunch of jp4s right in the folder where the mov is stored. BTW, I looked through the sequence - did you have auto white-balance on - I think I noticed changes in the color. Oleg On 29 October 2012 17:33, flavio soares qazav...@gmail.com wrote: oh, sorry, the first one was sort or 'readable' (with defect by mplayer) so I decided to upload one that was completely non-readable, sorry. but since that one ends, (it's bigger, 200mb), if you'd be so kind to test it, i'd appreciate!!! =) 2012/10/29, Oleg support-list@support.elphel.com: Ok, you just don't have php enabled on the web server. I see you have been uploading 2 files - one is already done ~21MB and another one is still being uploaded. Shall I try the 1st one? Oleg On 29 October 2012 17:20, flavio soares qazav...@gmail.com wrote: Ok, one last try. I have Apache installed now and followed your steps - copied the file to the folder. The /teste/ folder is writable by everyone. Now the browser tells me you selected to open split_mov.php. If I download it, it downloads the script. *I'm also uploading a 100mb sample to the ftp as I write! 2012/10/29, Oleg support-list@support.elphel.com: 1. You have apache installed right? In Ubuntu the www-root folder is at /var/www - copy split_mov.php there, 2. Make /home/livre/Desktop/teste/ writable for everyone. 3. Then go: http://127.0.0.1/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg If that won't work just upload a sample to our ftp. Oleg On 29 October 2012 17:01, flavio soares qazav...@gmail.com wrote: Something like this? http://127.0.0.1/home/livre/Desktop/teste/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg support-list@support.elphel.com: You should be running it from a browser window like: http:127.0.0.1/ www-path-to-script/split_mov.php?path=/home/livre/Desktop/test/testfile.movext=jpeg Oleg On 29 October 2012 16:40, flavio soares qazav...@gmail.com wrote: Mmmm... it says: Usage split_mov.php?path=lt;path_of_the_mov_filegt;ext=lt;extensiongt; I'm trying: php -f split_mov.php?path=/home/livre/Desktop/testeext=mov Is that it? 2012/10/29, flavio soares qazav...@gmail.com: Hi, Oleg! Please help me man*! =) * Also because this info is super relevant for the blog article. Ok, I downloaded it, but how do I use it from a terminal? In the annex, goes a single teaser frame from the movie, before post! =) Sebastian, I think I can upload to a server, yes. One of them has 250mb I guess. 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a
Re: [Elphel-support] broken files from footage?
On Mon, 29 Oct 2012 19:34:00 -0700 flavio soaresqazav...@gmail.com wrote Btw, do you know what might be the cause of this header error? The cam didn't output any error messages while at the shooting set... Flavio, I do not know what caused it - maybe by analyzing th footage you (the very end of it) you can make some guesses - what did happen at that time. It seems that camogm just crashed, because it writes the header (atl least the major part of it - frame index) when it is closing the file (if it runs out of the reserved space for the table - it just closes that file and starts a new one). While the file is being recorded, the index table (displacement to the beginning of next frame chunk) is being built in memory. And only in the very end that table is known camogm writes it into the reserved space in the beginning of the file. It is possible to write the index at the end of file, but then you'll not be able to view it over the Internet simultaneously to downloading. Andrey ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
[Elphel-support] broken files from footage?
Guys, yesterday we shot 90% of our movie, in heavy days in our location. I notice at the moment that even though some files are here in the HDD (some with 1GB, others with 500MB), they do not play in mplayer, and do not convert with ffmpeg nor movie2dng. I would guess this may be a problem with the header - is there a way I can access the content of these files? cheers! flavio ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
VLC (and VirtualDub - only for windows though - also not sure if it can handle quicktime files) have some header fixing routines that can often rescue these kind of files. Regards Sebastian On Mon, Oct 29, 2012 at 9:40 PM, flavio soares qazav...@gmail.com wrote: Guys, yesterday we shot 90% of our movie, in heavy days in our location. I notice at the moment that even though some files are here in the HDD (some with 1GB, others with 500MB), they do not play in mplayer, and do not convert with ffmpeg nor movie2dng. I would guess this may be a problem with the header - is there a way I can access the content of these files? cheers! flavio ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here also. this is the output for ffmpeg: livre@laika:~/Desktop/FLORESTA/brutos/yy_danificados$ ffmpeg -i s01p4t2_1351346876_661174.mov -qscale 1 s01p4t2_1351346876_661174_%06d.jpg ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 13 2012 14:14:09 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 s01p4t2_1351346876_661174.mov: Invalid data found when processing input 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com: VLC (and VirtualDub - only for windows though - also not sure if it can handle quicktime files) have some header fixing routines that can often rescue these kind of files. Regards Sebastian On Mon, Oct 29, 2012 at 9:40 PM, flavio soares qazav...@gmail.com wrote: Guys, yesterday we shot 90% of our movie, in heavy days in our location. I notice at the moment that even though some files are here in the HDD (some with 1GB, others with 500MB), they do not play in mplayer, and do not convert with ffmpeg nor movie2dng. I would guess this may be a problem with the header - is there a way I can access the content of these files? cheers! flavio ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here also. this is the output for ffmpeg: livre@laika:~/Desktop/FLORESTA/brutos/yy_danificados$ ffmpeg -i s01p4t2_1351346876_661174.mov -qscale 1 s01p4t2_1351346876_661174_%06d.jpg ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 13 2012 14:14:09 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 s01p4t2_1351346876_661174.mov: Invalid data found when processing input 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com: VLC (and VirtualDub - only for windows though - also not sure if it can handle quicktime files) have some header fixing routines that can often rescue these kind of files. Regards Sebastian On Mon, Oct 29, 2012 at 9:40 PM, flavio soares qazav...@gmail.com wrote: Guys, yesterday we shot 90% of our movie, in heavy days in our location. I notice at the moment that even though some files are here in the HDD (some with 1GB, others with 500MB), they do not play in mplayer, and do not convert with ffmpeg nor movie2dng. I would guess this may be a problem with the header - is there a way I can access the content of these files? cheers! flavio ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Something like this? http://127.0.0.1/home/livre/Desktop/teste/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg support-list@support.elphel.com: You should be running it from a browser window like: http:127.0.0.1/ www-path-to-script/split_mov.php?path=/home/livre/Desktop/test/testfile.movext=jpeg Oleg On 29 October 2012 16:40, flavio soares qazav...@gmail.com wrote: Mmmm... it says: Usage split_mov.php?path=lt;path_of_the_mov_filegt;ext=lt;extensiongt; I'm trying: php -f split_mov.php?path=/home/livre/Desktop/testeext=mov Is that it? 2012/10/29, flavio soares qazav...@gmail.com: Hi, Oleg! Please help me man*! =) * Also because this info is super relevant for the blog article. Ok, I downloaded it, but how do I use it from a terminal? In the annex, goes a single teaser frame from the movie, before post! =) Sebastian, I think I can upload to a server, yes. One of them has 250mb I guess. 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com: Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here also. this is the output for ffmpeg: livre@laika:~/Desktop/FLORESTA/brutos/yy_danificados$ ffmpeg -i s01p4t2_1351346876_661174.mov -qscale 1 s01p4t2_1351346876_661174_%06d.jpg ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 13 2012 14:14:09 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 s01p4t2_1351346876_661174.mov: Invalid data found when processing input 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com: VLC (and VirtualDub - only for windows though - also not sure if it can handle quicktime files) have some header fixing routines that can often rescue these kind of files. Regards Sebastian On Mon, Oct 29, 2012 at 9:40 PM, flavio soares qazav...@gmail.com wrote: Guys, yesterday we shot 90% of our movie, in heavy days in our location. I notice at the moment that even though some files are here in the HDD (some with 1GB, others with 500MB), they do not play in mplayer, and do not convert with ffmpeg nor movie2dng. I would guess this may be a problem with the header - is there a way I can access the content of these files? cheers! flavio ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Ok, one last try. I have Apache installed now and followed your steps - copied the file to the folder. The /teste/ folder is writable by everyone. Now the browser tells me you selected to open split_mov.php. If I download it, it downloads the script. *I'm also uploading a 100mb sample to the ftp as I write! 2012/10/29, Oleg support-list@support.elphel.com: 1. You have apache installed right? In Ubuntu the www-root folder is at /var/www - copy split_mov.php there, 2. Make /home/livre/Desktop/teste/ writable for everyone. 3. Then go: http://127.0.0.1/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg If that won't work just upload a sample to our ftp. Oleg On 29 October 2012 17:01, flavio soares qazav...@gmail.com wrote: Something like this? http://127.0.0.1/home/livre/Desktop/teste/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg support-list@support.elphel.com: You should be running it from a browser window like: http:127.0.0.1/ www-path-to-script/split_mov.php?path=/home/livre/Desktop/test/testfile.movext=jpeg Oleg On 29 October 2012 16:40, flavio soares qazav...@gmail.com wrote: Mmmm... it says: Usage split_mov.php?path=lt;path_of_the_mov_filegt;ext=lt;extensiongt; I'm trying: php -f split_mov.php?path=/home/livre/Desktop/testeext=mov Is that it? 2012/10/29, flavio soares qazav...@gmail.com: Hi, Oleg! Please help me man*! =) * Also because this info is super relevant for the blog article. Ok, I downloaded it, but how do I use it from a terminal? In the annex, goes a single teaser frame from the movie, before post! =) Sebastian, I think I can upload to a server, yes. One of them has 250mb I guess. 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com: Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here also. this is the output for ffmpeg: livre@laika:~/Desktop/FLORESTA/brutos/yy_danificados$ ffmpeg -i s01p4t2_1351346876_661174.mov -qscale 1 s01p4t2_1351346876_661174_%06d.jpg ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 13 2012 14:14:09 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 s01p4t2_1351346876_661174.mov: Invalid data found when processing input 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : VLC (and VirtualDub - only for windows though - also not sure if it can handle quicktime files) have some header fixing routines that can often rescue these kind of files. Regards Sebastian On Mon, Oct 29, 2012 at 9:40 PM, flavio soares qazav...@gmail.com wrote: Guys, yesterday we shot 90% of our movie, in heavy days in our location. I notice at the moment that even though some files are here in the HDD (some with 1GB, others with 500MB), they do not play in mplayer, and do not convert with ffmpeg nor movie2dng. I would guess this may be a problem with the header - is there a way I can access the content of these files? cheers! flavio
Re: [Elphel-support] broken files from footage?
oh, sorry, the first one was sort or 'readable' (with defect by mplayer) so I decided to upload one that was completely non-readable, sorry. but since that one ends, (it's bigger, 200mb), if you'd be so kind to test it, i'd appreciate!!! =) 2012/10/29, Oleg support-list@support.elphel.com: Ok, you just don't have php enabled on the web server. I see you have been uploading 2 files - one is already done ~21MB and another one is still being uploaded. Shall I try the 1st one? Oleg On 29 October 2012 17:20, flavio soares qazav...@gmail.com wrote: Ok, one last try. I have Apache installed now and followed your steps - copied the file to the folder. The /teste/ folder is writable by everyone. Now the browser tells me you selected to open split_mov.php. If I download it, it downloads the script. *I'm also uploading a 100mb sample to the ftp as I write! 2012/10/29, Oleg support-list@support.elphel.com: 1. You have apache installed right? In Ubuntu the www-root folder is at /var/www - copy split_mov.php there, 2. Make /home/livre/Desktop/teste/ writable for everyone. 3. Then go: http://127.0.0.1/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg If that won't work just upload a sample to our ftp. Oleg On 29 October 2012 17:01, flavio soares qazav...@gmail.com wrote: Something like this? http://127.0.0.1/home/livre/Desktop/teste/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg support-list@support.elphel.com: You should be running it from a browser window like: http:127.0.0.1/ www-path-to-script/split_mov.php?path=/home/livre/Desktop/test/testfile.movext=jpeg Oleg On 29 October 2012 16:40, flavio soares qazav...@gmail.com wrote: Mmmm... it says: Usage split_mov.php?path=lt;path_of_the_mov_filegt;ext=lt;extensiongt; I'm trying: php -f split_mov.php?path=/home/livre/Desktop/testeext=mov Is that it? 2012/10/29, flavio soares qazav...@gmail.com: Hi, Oleg! Please help me man*! =) * Also because this info is super relevant for the blog article. Ok, I downloaded it, but how do I use it from a terminal? In the annex, goes a single teaser frame from the movie, before post! =) Sebastian, I think I can upload to a server, yes. One of them has 250mb I guess. 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here also. this is the output for ffmpeg: livre@laika:~/Desktop/FLORESTA/brutos/yy_danificados$ ffmpeg -i s01p4t2_1351346876_661174.mov -qscale 1 s01p4t2_1351346876_661174_%06d.jpg ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 13 2012 14:14:09 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 s01p4t2_1351346876_661174.mov: Invalid data found when processing input 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : VLC (and VirtualDub - only for windows though - also not sure if it can handle
Re: [Elphel-support] broken files from footage?
1. You have apache installed right? In Ubuntu the www-root folder is at /var/www - copy split_mov.php there, 2. Make /home/livre/Desktop/teste/ writable for everyone. 3. Then go: http://127.0.0.1/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg If that won't work just upload a sample to our ftp. Oleg On 29 October 2012 17:01, flavio soares qazav...@gmail.com wrote: Something like this? http://127.0.0.1/home/livre/Desktop/teste/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg support-list@support.elphel.com: You should be running it from a browser window like: http:127.0.0.1/ www-path-to-script/split_mov.php?path=/home/livre/Desktop/test/testfile.movext=jpeg Oleg On 29 October 2012 16:40, flavio soares qazav...@gmail.com wrote: Mmmm... it says: Usage split_mov.php?path=lt;path_of_the_mov_filegt;ext=lt;extensiongt; I'm trying: php -f split_mov.php?path=/home/livre/Desktop/testeext=mov Is that it? 2012/10/29, flavio soares qazav...@gmail.com: Hi, Oleg! Please help me man*! =) * Also because this info is super relevant for the blog article. Ok, I downloaded it, but how do I use it from a terminal? In the annex, goes a single teaser frame from the movie, before post! =) Sebastian, I think I can upload to a server, yes. One of them has 250mb I guess. 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com: Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here also. this is the output for ffmpeg: livre@laika:~/Desktop/FLORESTA/brutos/yy_danificados$ ffmpeg -i s01p4t2_1351346876_661174.mov -qscale 1 s01p4t2_1351346876_661174_%06d.jpg ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 13 2012 14:14:09 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 s01p4t2_1351346876_661174.mov: Invalid data found when processing input 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : VLC (and VirtualDub - only for windows though - also not sure if it can handle quicktime files) have some header fixing routines that can often rescue these kind of files. Regards Sebastian On Mon, Oct 29, 2012 at 9:40 PM, flavio soares qazav...@gmail.com wrote: Guys, yesterday we shot 90% of our movie, in heavy days in our location. I notice at the moment that even though some files are here in the HDD (some with 1GB, others with 500MB), they do not play in mplayer, and do not convert with ffmpeg nor movie2dng. I would guess this may be a problem with the header - is there a way I can access the content of these files? cheers! flavio ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
Re: [Elphel-support] broken files from footage?
Ok, you just don't have php enabled on the web server. I see you have been uploading 2 files - one is already done ~21MB and another one is still being uploaded. Shall I try the 1st one? Oleg On 29 October 2012 17:20, flavio soares qazav...@gmail.com wrote: Ok, one last try. I have Apache installed now and followed your steps - copied the file to the folder. The /teste/ folder is writable by everyone. Now the browser tells me you selected to open split_mov.php. If I download it, it downloads the script. *I'm also uploading a 100mb sample to the ftp as I write! 2012/10/29, Oleg support-list@support.elphel.com: 1. You have apache installed right? In Ubuntu the www-root folder is at /var/www - copy split_mov.php there, 2. Make /home/livre/Desktop/teste/ writable for everyone. 3. Then go: http://127.0.0.1/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg If that won't work just upload a sample to our ftp. Oleg On 29 October 2012 17:01, flavio soares qazav...@gmail.com wrote: Something like this? http://127.0.0.1/home/livre/Desktop/teste/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg support-list@support.elphel.com: You should be running it from a browser window like: http:127.0.0.1/ www-path-to-script/split_mov.php?path=/home/livre/Desktop/test/testfile.movext=jpeg Oleg On 29 October 2012 16:40, flavio soares qazav...@gmail.com wrote: Mmmm... it says: Usage split_mov.php?path=lt;path_of_the_mov_filegt;ext=lt;extensiongt; I'm trying: php -f split_mov.php?path=/home/livre/Desktop/testeext=mov Is that it? 2012/10/29, flavio soares qazav...@gmail.com: Hi, Oleg! Please help me man*! =) * Also because this info is super relevant for the blog article. Ok, I downloaded it, but how do I use it from a terminal? In the annex, goes a single teaser frame from the movie, before post! =) Sebastian, I think I can upload to a server, yes. One of them has 250mb I guess. 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here also. this is the output for ffmpeg: livre@laika:~/Desktop/FLORESTA/brutos/yy_danificados$ ffmpeg -i s01p4t2_1351346876_661174.mov -qscale 1 s01p4t2_1351346876_661174_%06d.jpg ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 13 2012 14:14:09 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis libavutil50. 43. 0 / 50. 43. 0 libavcodec 52.123. 0 / 52.123. 0 libavformat 52.111. 0 / 52.111. 0 libavdevice 52. 5. 0 / 52. 5. 0 libavfilter 1. 80. 0 / 1. 80. 0 libswscale0. 14. 1 / 0. 14. 1 libpostproc 51. 2. 0 / 51. 2. 0 s01p4t2_1351346876_661174.mov: Invalid data found when processing input 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : VLC (and VirtualDub - only for windows though - also not sure if it can handle quicktime files) have some header fixing routines that can often rescue these kind of files. Regards Sebastian On Mon, Oct 29, 2012 at 9:40 PM, flavio soares qazav...@gmail.com wrote: Guys, yesterday we shot 90% of our movie, in heavy days in our location.
Re: [Elphel-support] broken files from footage?
I was able to split it into jpegs, here's a samplehttp://community.elphel.com/incoming/Videos/1351368477_370584.jpeg . Looked at the file header - the MOV header is emtpy (all zeros), while the images exif headers are ok. Uploaded a modified scripthttp://community.elphel.com/files/php_scripts/split_mov_2.php.txt (erase .txt extension) - then you will be able to launch it from a command line: php split_mov_2.php path-to-mov-file extension-of-the-images example: php split_mov_2.php /data/oleg/test_flavio/s01p4t2_1351346876_661174.mov jp4 Though it's not to difficult to enable php in apache)) Note: the script will get you a bunch of jp4s right in the folder where the mov is stored. BTW, I looked through the sequence - did you have auto white-balance on - I think I noticed changes in the color. Oleg On 29 October 2012 17:33, flavio soares qazav...@gmail.com wrote: oh, sorry, the first one was sort or 'readable' (with defect by mplayer) so I decided to upload one that was completely non-readable, sorry. but since that one ends, (it's bigger, 200mb), if you'd be so kind to test it, i'd appreciate!!! =) 2012/10/29, Oleg support-list@support.elphel.com: Ok, you just don't have php enabled on the web server. I see you have been uploading 2 files - one is already done ~21MB and another one is still being uploaded. Shall I try the 1st one? Oleg On 29 October 2012 17:20, flavio soares qazav...@gmail.com wrote: Ok, one last try. I have Apache installed now and followed your steps - copied the file to the folder. The /teste/ folder is writable by everyone. Now the browser tells me you selected to open split_mov.php. If I download it, it downloads the script. *I'm also uploading a 100mb sample to the ftp as I write! 2012/10/29, Oleg support-list@support.elphel.com: 1. You have apache installed right? In Ubuntu the www-root folder is at /var/www - copy split_mov.php there, 2. Make /home/livre/Desktop/teste/ writable for everyone. 3. Then go: http://127.0.0.1/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg If that won't work just upload a sample to our ftp. Oleg On 29 October 2012 17:01, flavio soares qazav...@gmail.com wrote: Something like this? http://127.0.0.1/home/livre/Desktop/teste/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg support-list@support.elphel.com: You should be running it from a browser window like: http:127.0.0.1/ www-path-to-script/split_mov.php?path=/home/livre/Desktop/test/testfile.movext=jpeg Oleg On 29 October 2012 16:40, flavio soares qazav...@gmail.com wrote: Mmmm... it says: Usage split_mov.php?path=lt;path_of_the_mov_filegt;ext=lt;extensiongt; I'm trying: php -f split_mov.php?path=/home/livre/Desktop/testeext=mov Is that it? 2012/10/29, flavio soares qazav...@gmail.com: Hi, Oleg! Please help me man*! =) * Also because this info is super relevant for the blog article. Ok, I downloaded it, but how do I use it from a terminal? In the annex, goes a single teaser frame from the movie, before post! =) Sebastian, I think I can upload to a server, yes. One of them has 250mb I guess. 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here also. this is the output for ffmpeg: livre@laika:~/Desktop/FLORESTA/brutos/yy_danificados$ ffmpeg -i s01p4t2_1351346876_661174.mov -qscale 1 s01p4t2_1351346876_661174_%06d.jpg ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers built on Jun 13 2012 14:14:09 with gcc 4.4.5 configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm
Re: [Elphel-support] broken files from footage?
Oleg, thank you very much! I'll definitely test it tomorrow (currently, my comp is gasping with the bunch or raw frames). I believe I can proceed from the jp4s using one of Carlos Padial scripts =) I don't believe I had wb on, I always kill the autoexposure before recording and I believe I turned it off in autoicampars also. I'll check the change in colors then. Btw, do you know what might be the cause of this header error? The cam didn't output any error messages while at the shooting set... Again -- thanks a lot, this doubles my security with the footage! =) 2012/10/30, Oleg support-list@support.elphel.com: I was able to split it into jpegs, here's a samplehttp://community.elphel.com/incoming/Videos/1351368477_370584.jpeg . Looked at the file header - the MOV header is emtpy (all zeros), while the images exif headers are ok. Uploaded a modified scripthttp://community.elphel.com/files/php_scripts/split_mov_2.php.txt (erase .txt extension) - then you will be able to launch it from a command line: php split_mov_2.php path-to-mov-file extension-of-the-images example: php split_mov_2.php /data/oleg/test_flavio/s01p4t2_1351346876_661174.mov jp4 Though it's not to difficult to enable php in apache)) Note: the script will get you a bunch of jp4s right in the folder where the mov is stored. BTW, I looked through the sequence - did you have auto white-balance on - I think I noticed changes in the color. Oleg On 29 October 2012 17:33, flavio soares qazav...@gmail.com wrote: oh, sorry, the first one was sort or 'readable' (with defect by mplayer) so I decided to upload one that was completely non-readable, sorry. but since that one ends, (it's bigger, 200mb), if you'd be so kind to test it, i'd appreciate!!! =) 2012/10/29, Oleg support-list@support.elphel.com: Ok, you just don't have php enabled on the web server. I see you have been uploading 2 files - one is already done ~21MB and another one is still being uploaded. Shall I try the 1st one? Oleg On 29 October 2012 17:20, flavio soares qazav...@gmail.com wrote: Ok, one last try. I have Apache installed now and followed your steps - copied the file to the folder. The /teste/ folder is writable by everyone. Now the browser tells me you selected to open split_mov.php. If I download it, it downloads the script. *I'm also uploading a 100mb sample to the ftp as I write! 2012/10/29, Oleg support-list@support.elphel.com: 1. You have apache installed right? In Ubuntu the www-root folder is at /var/www - copy split_mov.php there, 2. Make /home/livre/Desktop/teste/ writable for everyone. 3. Then go: http://127.0.0.1/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg If that won't work just upload a sample to our ftp. Oleg On 29 October 2012 17:01, flavio soares qazav...@gmail.com wrote: Something like this? http://127.0.0.1/home/livre/Desktop/teste/split_mov.php?path=/home/livre/Desktop/teste/s05cp01t03_1351438147_418343.movext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg support-list@support.elphel.com: You should be running it from a browser window like: http:127.0.0.1/ www-path-to-script/split_mov.php?path=/home/livre/Desktop/test/testfile.movext=jpeg Oleg On 29 October 2012 16:40, flavio soares qazav...@gmail.com wrote: Mmmm... it says: Usage split_mov.php?path=lt;path_of_the_mov_filegt;ext=lt;extensiongt; I'm trying: php -f split_mov.php?path=/home/livre/Desktop/testeext=mov Is that it? 2012/10/29, flavio soares qazav...@gmail.com: Hi, Oleg! Please help me man*! =) * Also because this info is super relevant for the blog article. Ok, I downloaded it, but how do I use it from a terminal? In the annex, goes a single teaser frame from the movie, before post! =) Sebastian, I think I can upload to a server, yes. One of them has 250mb I guess. 2012/10/29, Sebastian Pichelhofer sebastian.pichelho...@gmail.com : Flavio, maybe you can compress and upload one of the clips so we can collectively try out methods to fix it? Regards Sebastian On Mon, Oct 29, 2012 at 10:27 PM, Oleg support-list@support.elphel.comwrote: Flavio, Here http://community.elphel.com/files/php_scripts/ there's a file split_mov.php (get it in an archive). You could try splitting one of the MOVs to check if they have valid frames at least. Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 x124 Elphel, Inc. On 29 October 2012 14:54, flavio soares qazav...@gmail.com wrote: mmm... but how could I do that? they don't seem to open in vlc here