PDA

View Full Version : Video file not accepted by YouTube


daveklee
24th February 2009, 21:30
Hi, I've got m4v video file that plays in QuickTime and other players, but when I upload it to YouTube, YouTube isn't able to encode it and play it. I think it has to do with how the audio file is encoded into the video file because when I post just a video file (w/o the audio file), YouTube accepts it.

Please look at this sample file, and let me know what's wrong with it (why YouTube won't accept it).
http://files.me.com/daveklee/zrtny8.mov

thanks!

shon3i
24th February 2009, 21:41
Something definitely wrong with the file, i tryed to see what mediainfo say and i can't ged info about codec used and other

poisondeathray
24th February 2009, 21:55
It's mjpg/lpcm

You can open it with avidemux, and convert it to a format youtube accepts (e.g. x264/aac/mp4)

daveklee
4th March 2009, 00:54
We're developing an encoding software, so it doesn't help us to open it up with another program and convert it.

Can someone look at the file and see if there's something wrong with the headers or any apparent errors in encoding?

poisondeathray
4th March 2009, 00:59
We're developing an encoding software, so it doesn't help us to open it up with another program and convert it.

Can someone look at the file and see if there's something wrong with the headers or any apparent errors in encoding?

You need something that can decode twos audio. You can do this through directshow + ffdshow, for example. Maybe if you provided some information on your application it would help



ideo
ID : 1
Format : M-JPEG
Codec ID : jpeg
Duration : 22s 0ms
Bit rate mode : Variable
Bit rate : 4 465 Kbps
Width : 480 pixels
Height : 320 pixels
Display aspect ratio : 1.500
Frame rate mode : Constant
Frame rate : 15.000 fps
Bits/(Pixel*Frame) : 1.938
Stream size : 11.7 MiB (86%)

Audio
ID : 2
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Signed
Codec ID : twos
Duration : 22s 0ms
Bit rate mode : Constant
Bit rate : 705.6 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Resolution : 16 bits
Stream size : 1.85 MiB (14%)

daveklee
10th March 2009, 20:01
Can someone explain what "twos" audio is?

Our software program basically takes some images and encodes them with a wav audio file to make an mp4 file. I'm guessing that there might be some problem with our audio file we're trying to encode with the images, but I'm not sure how to tell.

nm
10th March 2009, 20:35
Can someone explain what "twos" audio is?
He meant the PCM audio (track number 2).

Our software program basically takes some images and encodes them with a wav audio file to make an mp4 file. I'm guessing that there might be some problem with our audio file we're trying to encode with the images, but I'm not sure how to tell.
I don't think LPCM in MP4 is very common, so some tools (like the Youtube video importer) may not support it. For better compatibility, encode the audio to AAC or MP3.

Snowknight26
10th March 2009, 21:40
He meant the PCM audio (track number 2).
Yes, but because of:
Codec ID : twos