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 t

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 them

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 bu

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 split_mov_2.php

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 movi

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 image

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

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

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

2012-10-30 Thread support-list
On Mon, 29 Oct 2012 19:34:00 -0700 flavio soares 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 o

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 > Oleg, thank you very much! I'll definitely

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

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

2012-10-29 Thread Oleg
I was able to split it into jpegs, here's a sample . Looked at the file header - the MOV header is emtpy (all zeros), while the images exif headers are ok. Uploaded a modified script

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.mov&ext=jpeg If that won't

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

2012-10-29 Thread Oleg
You should be running it from a browser window like: > http:127.0.0.1/ > /split_mov.php?path=/home/livre/Desktop/test/testfile.mov&ext=jpeg Oleg On 29 October 2012 16:40, flavio soares wrote: > Mmmm... it says: > > Usage split_mov.php?path=&ext= > > I'm trying

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 wrote: > Ok, one last try. I have Apache installed now and fol

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 : > Ok, you just don't have php enabled

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 ft

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.mov&ext=jpeg It's not working -- sorry, I never used php before... 2012/10/29, Oleg : > You should be running it from a browser window like: > >> http:127.0.0.

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

2012-10-29 Thread flavio soares
Mmmm... it says: Usage split_mov.php?path=&ext= I'm trying: php -f split_mov.php?path=&ext= Is that it? 2012/10/29, flavio soares : > Hi, Oleg! Please help me man*! =) > > * Also because this info is super relevant for the blog article. > > Ok, I downloaded it,

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

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

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 wrote: > Flavio, > > Here there's a file > split_mov.php (get it in an archive).

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

2012-10-29 Thread Oleg
Flavio, Here 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 flavio soares
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 FF

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 wrote: > Guys, yesterday we shot 90% of our movie, in heav

[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 th