vlc do not play mp4 (no video, no audio, but no error)

Page 1 of 2 1, 2  Next

Go down

vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sat Aug 04, 2018 5:59 pm

hello!

i hope someone can help me because i am getting mad because of this.

first, let me say that normally I plug in my phone, copy my photos and videos from the phone to the NAS and do a backup of the nas to an external device. Normally... this time I did a fault to trust the windows import function because not all videos (99%) can be played with vlc. only one of my video and all of the videos sent and received via whatsapp...

the irony is... I was scared about losing the photos of my new born daughter so i decided to copy them on the pc and i used the import function (import and rename photos) ... the photos are all right, after deleting the unused and ugly photos and renaming them all correctly, I went on to the videos and was surprised that I cant see a picture of the video at the file browser (i am using win7) - after installing vlc again and installing klite codec pack and trying out some rendering software I think I am done... I think the videos are lost..

my only hope is that I can do a reformat or something else so VLC can play them finally. In my opinion windows try to rotate the video like it does at photos. This option was marked at the import. Why I say this: The only video, which is shown by VLC, is a video which was made while the phone was hold vertical (like 9 of 10 users do - i hope you know what i mean) - BUT I always make videos with my phone (HTC one) while holding the phone horizontal! so the only video which is working is the video which was made vertical -> after the import I can see left and right of the video black big borders, so the height is correct, but the width not! but VLC is showing it, so I think that the other videos perhaps could be also be shown with VLC, if I could change the weight to height?

I hope someone can help me... I do a fault by letting windows import the files AND delete them afterwards... oh my... one time I did this and about 30GB of video files are not accesible - these are month 6 to 12 of my dauthers life :/ ...

thanks for all readers

PS: information about the video:



Last edited by Trouble on Sat Aug 04, 2018 6:01 pm; edited 1 time in total (Reason for editing : added info)

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Mangusta833 on Sat Aug 04, 2018 9:32 pm

Hi,
Can you upload one of the bad ones so I could see how it looks on my PC and try to figure it out? You can give me a link in a private message if you don't want everyone to see.

Mangusta833

Posts : 10
Join date : 2018-08-03

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sat Aug 04, 2018 10:35 pm

thanks for the help! really, im glad about your offer, but unfortunately i do not know what the video will show. 99% a video of my dautgher, so its better when i do not send you a video. any other information which you can use and what i can offer to solve the problem? i already try some recovery tools on the mobile device and on pc... it just recovered items i do not need.

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Admin on Sat Aug 04, 2018 11:16 pm

Have you tried playing it with MPC-HC player from the codec pack?

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sun Aug 05, 2018 9:44 am

yes i try it, same result. it looks like its playing (timeline running, no error) but no video no audio - timeline shows correct timelenght btw.

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sun Aug 05, 2018 9:44 am

now i uninstalled all codec packs and vlc and reinstall it again, no difference.

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Admin on Sun Aug 05, 2018 12:47 pm

Disable hardware acceleration in the video decoder to test with pure software decoding.

Which phone is it? It is possible the import function did some kind of conversion. Doesn't the phone allow direct access to files? My android phone can act like a USB stick when connected to the PC.

Can you record a new test video? Just a few seconds of a wall or anything is fine.

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Mangusta833 on Sun Aug 05, 2018 2:16 pm

I never imported anything to my PC this way, but maybe it was a multiplexer fault that windows used. Maybe you should try recover them by using mkvtoolnix for example.

Mangusta833

Posts : 10
Join date : 2018-08-03

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sun Aug 05, 2018 3:24 pm

Admin wrote:Disable hardware acceleration in the video decoder to test with pure software decoding.

Which phone is it? It is possible the import function did some kind of conversion. Doesn't the phone allow direct access to files? My android phone can act like a USB stick when connected to the PC.

Can you record a new test video? Just a few seconds of a wall or anything is fine.

hello and thanks for the advice.

I also did this before, but it did not help.

Its a HTC phone (htc one m8) - yes it is possible to access the files on the phone, as I wrote, this time (never did this before) I used the import function of Windows, so that the photos can be imported into automatically named directories - I clicked on the mark "delete after import" - as I said this was big fault, till now I always double check before deletion.

unfortunately it is not like a "USB mass drive" - its only possible to acces the phone as a "device" - I already try to enter the developer mode on the phone to enable usb debugging, so that i can enter the phone as a disc (so it has a letter), but its not possible to do this.

yes i can record new videos and also watch them after import - everything is working fine now, but the imported videos are not working

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sun Aug 05, 2018 3:25 pm

Mangusta833 wrote:I never imported anything to my PC this way, but maybe it was a multiplexer fault that windows used. Maybe you should try recover them by using mkvtoolnix for example.

ok i will try this, thanks

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sun Aug 05, 2018 3:40 pm

ok i try it again and I could get the same error, before import i copied the file so i the working file and the corrupted file after import.

i can upload it. Here?

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Mangusta833 on Sun Aug 05, 2018 4:15 pm

Trouble wrote:i can upload it. Here?
I don't see any option to upload it here, but recently I have discovered this site: https://expirebox.com/.

Mangusta833

Posts : 10
Join date : 2018-08-03

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Admin on Sun Aug 05, 2018 9:35 pm


Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Mon Aug 06, 2018 10:32 pm

here are the videos
both videos

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Admin on Mon Aug 06, 2018 11:58 pm

The good news is that the video data is intact. The import injected some extra metadata in the file header that breaks playback.



You could use a hex-editor to "undo" those changes. Hopefully it is similar for all files. I have yet to find a better method of fixing this.

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Thu Aug 09, 2018 6:33 am

oh great news, thank you!

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sat Aug 11, 2018 12:52 pm

ok i try this and it works for the one file i upload, but the other corrupted files have not the same changes.

at first I try to search for this:

866D6F6F760000006C6D76686400000000D78BCE34D78BCE34000003E8000028EB0001000001000000000000000000000000010000000000000000000000000000000100000000000000000000000000004000000000000000000000000000000000000000000000000000000000000003000000A8756474610000001C68746362000000010000000000000000019CBC480000001C000000346D657461000000000000002068646C7200000000000000006D64697200000000000000000000000000000008696C73740000005058747261000000480000002A7B32434241413846352D443831462D343743412D423137412D4638443832323330303133317D2031303000000001000000120041400000004790934AC92CD401

and replace it with this:

026D6F6F760000006C6D76686400000000D78BCE34D78BCE34000003E8000028EB000100000100000000000000000000000001000000000000000000000000000000010000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000300000024756474610000001C68746362000000010000000000000000019CBC480000001C

but this did not help because the changes at the other files are different. for example:



i completely changed the header or the first part of the header, but the video doesnt play, in the original version it started playing but without video or audio, this time it even dont start to play...

i checked out something after converting both files into mkv, just to check the differences... but it doesnt show any difference:



any other ideas?

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Admin on Sat Aug 11, 2018 2:36 pm

If I look at the sample you uploaded, then the first two differences are both size indicators for (parts of) the header. The extra blob of data is 132 bytes (84 in hex). That matches exactly with the size differences: 86 - 84 = 02 and A8 - 84 = 24.

The data is the extra block is a date (of import), which should be same of all your files in the original set.
https://docs.microsoft.com/en-us/windows/desktop/properties/props-system-dateacquired

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sat Aug 11, 2018 8:21 pm

thanks. so when i cut off the extra block, which is included at the import, the size indicators should bei 02 and 24, right? in other words: is it ok, when i copy the same header to all video files? because thats not working.

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Admin on Sun Aug 12, 2018 2:53 pm

No, you should subtract 132 (which is 84 in hex) from the two size values. Those values might differ between files.

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sun Aug 19, 2018 4:14 pm

OK, I understand, Thank you!

here is another video... so it has 2 new indicators:

6E and A8

when starting with A8 everything is fine: 168 minus 132 = 36 -> in hex: 24

6E minus 84 = 110 minus 132 = -22 (this should not be possible I guess) - what am I doing wrong?

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Admin on Sun Aug 19, 2018 4:29 pm

In that case use a four character value.

So for example: 02 6E minus 00 84 equals 01 EA

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Sun Aug 19, 2018 5:20 pm

dude! great it works! thanks a lot. 1 done 117 videos to do Smile

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Admin on Sun Aug 19, 2018 5:43 pm

Awesome.

It is still weird that the import is breaking the files. I would expect more people with similar issues. Or are you perhaps using a potentially buggy Windows 10 insider build?

Admin
Admin

Posts : 4189
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Trouble on Tue Aug 21, 2018 8:05 am

Hi again, i am using win7 - always doing all updates - nothing special at my configuration. But yes, its weird... perhaps its a combination of the mobile device (HTC) with a SD-Card and Win7 which results in this failure?

But in future I am not going to use the import function anymore. It is just a good feature to let the pic rotate automatically at the import, so I do not have to do this manually.

I am also using a renamer for the files so I also do not need a directory to be created by the import function itself.

Now I am searching for hours for a good tool to do some batch-hex-changes Smile It should do 3 things to complete the changes:

1. read out the first checksum and substract 132 (in decimal or 84 in hex)
2. change the value of 0000008F from A8 to 24
3. cut off the unneeded part

I would also prefer to do this at the command prompt but at the windows command line its perhaps too complicated? Perhaps I should turn on the linux machine and write a script there? Any other suggestions so I do not have to do this manually?

Trouble

Posts : 16
Join date : 2018-08-04

View user profile

Back to top Go down

Re: vlc do not play mp4 (no video, no audio, but no error)

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum