Hello.
I am having a problem editing my webcam files. The files are without splits, but mpc-hc opens them.
This is the file info I get:
Video: MPEG4 Video (H264) 1920x1080 8fps [V: h264 high L4.0, yuv420p, 1920x1080]
Audio: aLaw 8000Hz mono 64kbps [A: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s]It would be appropriate to convert it to some normal format. Sony vegas studio does not want to open this format, I managed to do it virtualdub with this error:General
Complete name : C:\Users\Admin\Desktop\gege\1673271786.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 76.3 MiB
Video
ID : 0
Format : AVC
Format/Info : Advanced Video Codec
Codec ID : H264
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 8.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Audio
ID : 1
Format : ADPCM
Format profile : A-Law
Codec ID : 6
Codec ID/Hint : CCITT
Bit rate mode : Constant
Bit rate : 64.0 kb/s
Channel(s) : 1 channel
Sampling rate : 8 000 Hz
Bit depth : 8 bits
Detects 8960 frames, so at 8fps it comes out 1120 sec (18 min 40 sec)Index not found or damaged - reconstructing via file scan.
Keyframe flag reconstruction was not specified in open options and the video stream is not a known keyframe-only type. Seeking in this vedeo stream may be extremely slow.
Truncated or invalid compressed audio format detected (18 bytes, should be 19). Atempting to fix
I exported the audio and converted using ffmpeg
and I get 14 min 56 sek.ffmpeg -f alaw -ar 8000 -i 1audio -ar 44100 -ac 2 out.wavWhat the hell? Do you have a solution to this problem? Maybe there is a program that will convert my video and audio at the same time, because I don't know where I made a mistake. Rather, ffmpeg did well, but why 2 different programs see 8 FPS, while according to the conversion from audio it should be 10 fps....
The funny thing is that there is a timestamp on the video and it starts at 14:43:05 and the video ends at 14:58:00, so it lasts 14 min and 55 sec
+ Reply to Thread
Results 1 to 13 of 13
-
Last edited by jebaniec; 1st Nov 2023 at 02:24.
-
can you upload the video somewhere so we can take a closer look?
maybe a simple remux can help. -
Sample:
I know this camera is a piece of junk, but I got it for free and it is only used to monitor the baby (when he is playing in the other room). -
Code:
ffmpeg -i 1698852005.avi -vcodec copy -acodec aac 1698852005.mp4
users currently on my ignore list: deadrats, Stears555, marcorocchini -
Your camera is not so bad.
Your video has no duration information, so it cannot be read by many editors.
Your sample is 15 fps.
If your video from post#1 is from the same camera, then it's 15 fps too, not 8 fps.
You can regenerate the missing duration information with the following command line (applies to your video with 15fps, but should also work with the video from post 1):
Code:ffmpeg -r 15 -i 1698852005.avi -c copy 1698852005_new.avi
The new video should then be recognized without any problems and you can re-encode the audio stream as desired. -
Thanks. I checked on another file and it doesn't match. The time on the video does not match with the time of the video in the player. The movie according to the camera is 9 min 40 sec, but using your command it is 12:05. I changed the -r parameter to 20, 25, 60 and the length of the resulting file has the same amount. It looks like there is a variable fps in the video, but I'll take a look at that over the weekend. At least after this command it will be easier to fix them.
-
-
Ok. On the test files (some even work), but on the ones I want to convert I get this error:
I enter 15 fps, but it copies it as 10 fps and I can see that the video is slowed down. -
-
But when I enter:
ffmpeg -r 8 -i test -c copy test.avi
Edit: Even I put this command I have the same lenght of video. :[
ffmpeg -r 15 -i baby.avi -c copy baby15.avi ant still have the same lenght, as -r 8 (or without -r parameter)
I attach file baby fileLast edited by jebaniec; 6th Nov 2023 at 09:26.
-
The command line according to post #6 is only there to generate the missing timestamps and thus make the video readable by editors.
It is not there to change the framerate.
If you want to do that, load your corrected video into an editor and recode it with the desired fps.
However, the quality will not improve.
Similar Threads
-
How to extract .mpd file from web page?
By usilitel in forum Video Streaming DownloadingReplies: 25Last Post: 24th Oct 2023, 10:30 -
Editing .mka file on audacity
By Audacity_Beginner in forum AudioReplies: 13Last Post: 27th Nov 2022, 22:20 -
Manageable File Sizes for Editing
By teddybouch in forum Video ConversionReplies: 5Last Post: 27th May 2020, 09:01 -
Editing a 100MB video file turns into 1.5GB file!! How to control size?
By GoodEnough in forum Newbie / General discussionsReplies: 3Last Post: 2nd Apr 2020, 22:27 -
Is there any way to export a .TS file in virtualdub 2 after editing file?
By gordon93 in forum Software PlayingReplies: 0Last Post: 13th Dec 2018, 19:16