[Elphel-support] broken files from footage?

flavio soares qazav3.0 at gmail.com
Tue Oct 30 08:54:26 PDT 2012


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 <qazav3.0 at 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 at 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
> > script<http://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 <qazav3.0 at 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 at 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 <qazav3.0 at 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 at 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.mov&ext=jpeg
> >> >> >
> >> >> > If that won't work just upload a sample to our ftp.
> >> >> >
> >> >> > Oleg
> >> >> >
> >> >> > On 29 October 2012 17:01, flavio soares <qazav3.0 at 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.mov&ext=jpeg
> >> >> >>
> >> >> >> It's not working -- sorry, I never used php before...
> >> >> >>
> >> >> >> 2012/10/29, Oleg <support-list at 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.mov&ext=jpeg
> >> >> >> >
> >> >> >> >
> >> >> >> > Oleg
> >> >> >> >
> >> >> >> > On 29 October 2012 16:40, flavio soares <qazav3.0 at gmail.com>
> >> wrote:
> >> >> >> >
> >> >> >> >> Mmmm... it says:
> >> >> >> >>
> >> >> >> >> Usage
> >> >> >> >>
> >> split_mov.php?path=<path_of_the_mov_file>&ext=<extension>
> >> >> >> >>
> >> >> >> >> I'm trying:
> >> >> >> >>
> >> >> >> >> php -f split_mov.php?path=</home/livre/Desktop/teste>&ext=<mov>
> >> >> >> >>
> >> >> >> >> Is that it?
> >> >> >> >>
> >> >> >> >> 2012/10/29, flavio soares <qazav3.0 at 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.pichelhofer at 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 at support.elphel.com>wrote:
> >> >> >> >> >>
> >> >> >> >> >>> 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 5555 x124
> >> >> >> >> >>> Elphel, Inc.
> >> >> >> >> >>>
> >> >> >> >> >>> On 29 October 2012 14:54, flavio soares <
> qazav3.0 at 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 at 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
> >> >> >> >> >>>>   libavutil    50. 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
> >> >> >> >> >>>>   libswscale    0. 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.pichelhofer at 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
> >> >> >> >> >>>> > <qazav3.0 at 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 at support.elphel.com
> >> >> >> >> >>>> >>
> >> >> >> >> >>>>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
> >> >> >> >> >>>> >>
> >> >> >> >> >>>> >
> >> >> >> >> >>>>
> >> >> >> >> >>>> _______________________________________________
> >> >> >> >> >>>> Support-list mailing list
> >> >> >> >> >>>> Support-list at support.elphel.com
> >> >> >> >> >>>>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
> >> >> >> >> >>>>
> >> >> >> >> >>>
> >> >> >> >> >>> _______________________________________________
> >> >> >> >> >>> Support-list mailing list
> >> >> >> >> >>> Support-list at support.elphel.com
> >> >> >> >> >>>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
> >> >> >> >> >>>
> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >> _______________________________________________
> >> >> >> >> Support-list mailing list
> >> >> >> >> Support-list at support.elphel.com
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
> >> >> >> >>
> >> >> >> >
> >> >> >>
> >> >> >> _______________________________________________
> >> >> >> Support-list mailing list
> >> >> >> Support-list at support.elphel.com
> >> >> >>
> >> >>
> >>
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Best regards,
> >> >> > Oleg Dzhimiev
> >> >> > Electronics Engineer
> >> >> > phone: +1 801 783 5555 x124
> >> >> > Elphel, Inc.
> >> >> >
> >> >>
> >> >> _______________________________________________
> >> >> Support-list mailing list
> >> >> Support-list at support.elphel.com
> >> >>
> >>
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
> >> >>
> >> >
> >>
> >> _______________________________________________
> >> Support-list mailing list
> >> Support-list at support.elphel.com
> >>
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20121030/5897936d/attachment-0002.html>


More information about the Support-list mailing list