I have a sony HX-series pocket camera. For some reason, the file numbering of videos (and not of still photos) got reset recently and started from zero. This is causing me a nightmare of filename collisions with old videos.

I'm using the AVCHD format, so the files get saved in a very different directory structure on the sd card than ordinary mp4 videos.

How can I get the camera to continue from a certain number for the video filenames?

  • Note on why I downvoted: I vote video questions down because this is a photography site. – dpollitt Mar 18 '13 at 2:23
  • 1
    1. Not to mention using the evil silicon based photo sensor rather than photo reactive metal halides. 2. As this question relates to writing file numbers with a camera capable of video and still photos it would seem to be frmes per image agnostic. – Russell McMahon Mar 18 '13 at 7:52
  • What is the exact model number AND did my suggestion work for you? – Russell McMahon Mar 19 '13 at 14:38
  • Hi @RussellMcMahon. My model is HX30V. I'll check your suggestion and report back. – GJ. Mar 19 '13 at 18:30
  • See manual page here which says "Starts from 0001 each time the folder is changed. (When the recording folder contains a file, a number one higher than the largest number is assigned.)" - which is what I suggested - and may even work :-). – Russell McMahon Mar 19 '13 at 23:57

How many numbers off are we talking? If you have 100 old videos, one way might be to create some dummy files to conflict with the current file number. I don't know the naming convention, but lets say DSCN0001.MTS, DSCN0002.MTS through DSCN0100.MTS. Place those on the SD card and then shoot a video. It should then bump up the counter to DSCN0101.MTS.

The dummy files just need be 1 byte text files renamed to *.MTS.

Do a test: if it currently has a sequence of 17, then create dummy files for 17, 18, 19, 20 and see if it doesn't create the next video at 21.


Added at top:

Mar 18 advises that the camera is a Sony HX30V, which shares a manual with the HX20V and HX30.

A HX20 / HX20V / HX30V user guide is available here

On this page under "File number" it says

  • "Starts from 0001 each time the folder is changed.
    When the recording folder contains a file,
    a number one higher than the largest number is assigned."

Which is what I suggested (below) - and may even work :-).

Many Sony cameras can be persuaded to pick up on an existing file name sequence by turning them off, inserting a memory card with a photo on it with a number in the desired sequence, and then turning the camera on. Starting with a new folder MAY help.

Try this.

  • Format a memory card.

  • If you do not have a new video folder and a new still image folder, use "new folder' which should create a pair of folders.

  • Take a few seconds of video.

  • Turn camera off. Take out card. Download video file. Rename to desired name. Rewrite to card. Ensure old version is absent. Reinsert card.

  • Turn camera on.

  • Take short video. Check file names.

  • Tear out hair or cheer.

  • Report

  • Deer all no-ing downvoter. The infermayshin in this answer is either correct or incorrect. The information in the Sony manual for the camera concerned adumbrates (look it up) that it's correct, and general Sony practice is to do as I described previously. If it's correct you should probably be reading the guidelines for up of down voting, either yet again or for the first time. If you KNOW that it's incorrect then it would be a rolly good idea fer you to tell us so. No? – Russell McMahon Mar 20 '13 at 5:28
  • 1
    At least for my Pentax cameras, this trick works. I suppose it'd be easier to rename the file on spot instead of download>rename>upload. – Imre Mar 20 '13 at 7:35
  • I had the same idea, but yours is a huge advantage in that you don't have to create all the other lesser-number files as well - it just picks the largest one anyway and increments. – MikeW Mar 22 '13 at 11:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.