Re: [Elphel-support] broken files from footage?

2012-11-18 Thread flavio soares
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

Re: [Elphel-support] broken files from footage?

2012-11-18 Thread support-list
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

Re: [Elphel-support] broken files from footage?

2012-11-18 Thread flavio soares
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

Re: [Elphel-support] broken files from footage?

2012-11-17 Thread flavio soares
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

Re: [Elphel-support] broken files from footage?

2012-11-17 Thread Oleg
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

Re: [Elphel-support] broken files from footage?

2012-11-12 Thread flavio soares
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

Re: [Elphel-support] broken files from footage?

2012-10-30 Thread flavio soares
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

Re: [Elphel-support] broken files from footage?

2012-10-30 Thread support-list
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

[Elphel-support] broken files from footage?

2012-10-29 Thread flavio soares
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread Sebastian Pichelhofer
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread Oleg
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread Sebastian Pichelhofer
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread flavio soares
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread flavio soares
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread flavio soares
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,

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread Oleg
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread Oleg
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread Oleg
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

Re: [Elphel-support] broken files from footage?

2012-10-29 Thread flavio soares
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