Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I took some video clips with my camera and I am only able to play the first 4 videos and the last 14 videos give me an error message "an error occurred could not determine type of stream" when I try opening with Videos. VLC just gives me a black screen with the cone in the middle. I took these videos with a Fuji Finepix HS25EXR and I did not change any of the settings that I was aware of. The clips are about 2 Gb so I think I captured something. I am using Linux Mint Mate on my Lenovo laptop but Linux Mint 17.6 gave me the same results. The files are MOV files. It does not look like MOV files can be attached here. How can I save these files? Thank you.
You might try ffplay or avplay, which will let you play for any video that ffmpeg / avconv has a codec to read. It depends on the files though, some camcorders do a binary break and create extra files in part because of the limits of the filesystem on the memory cards. You can cat them into one file and get the header / footer information needed to play such files. Using ffprobe / avprobe could help id if the video is a valid video file.
I took a look at my camera and found that it was in advance mode. I normally leave it in EXR mode so it is possible that this got bumped after the fourth video and that is why the last 14 videos don't open. My camera, a Fuji Finepix HS25EXR has a record button separate from the mode dial and I don't know if advanced mode would change a recording or not. I don't know when the mode was changed so I don't know if it was a factor or not.
I tried running Untrunc against the bad file using a good file and it ran for 10 hours with no results before I finally stopped it. The bad file is only 2 Gb.
If you have MediaInfo installed or would like to install it (it's available in the Mint/Ubuntu repo as mediainfo-gui), check out one of the recalcitrant files, then post the resulting general/video/audio info here, that might shed some light on the situation.
I installed Mediainfo and ran it with the bad file and it didn't give me much information so then I ran it against a file that opens. Both files should have been very similar.
Quote:
kuser@khost:~/Videos/Eugene$ mediainfo DSCF0889.MOV
General
Complete name : DSCF0889.MOV
File size : 1.74 GiB
kuser@khost:~/Videos/Eugene$ mediainfo DSCF0871.MOV
General
Complete name : DSCF0871.MOV
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt
File size : 1.89 GiB
Duration : 19mn 8s
Overall bit rate : 14.1 Mbps
Movie name/More : FUJIFILM DIGITAL CAMERA FinePix HS25EXR
Encoded date : UTC 2016-07-21 10:45:24
Tagged date : UTC 2016-07-21 10:45:24
Origin : Digital Camera
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=15
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 19mn 8s
Bit rate : 12.6 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.202
Stream size : 1.68 GiB (89%)
Language : English
Encoded date : UTC 2016-07-21 10:45:24
Tagged date : UTC 2016-07-21 10:45:24
Audio
ID : 2
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : sowt
Duration : 19mn 8s
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 105 MiB (5%)
Language : English
Encoded date : UTC 2016-07-21 10:45:24
Tagged date : UTC 2016-07-21 10:45:24
Try Shadow's suggestions and see if that works.
Maybe give Shotwell a try. I had success with it with my Kodak Digital Camera. https://wiki.gnome.org/Apps/Shotwell
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.