Page 1 of 1

Problem with avc baseline@L4.0

Posted: 25 Oct 2013 11:02
by luk4
Hello!

I'm trying to save a h264 stream into file. I'm using this command

Code: Select all

:sout=#transcode{vcodec=h264,scale=1,deinterlace,acodec=none}:file{dst=filePath.mp4} :sout-keep
but it saves me in avc baseline@L4.0 which is not supported by any other codec pack in system. Windows media player can NOT play it, but vlc has no problem. Why is that? I think it could be something with videos, because I have saved another video from youtube with this command and it can by playing by any player (below is comparision)

Thanks in advance,
Regards!

Video info - not running in windows media player:

Code: Select all

Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 24.0 MiB Duration : 50s 702ms Overall bit rate mode : Variable Overall bit rate : 3 966 Kbps Encoded date : UTC 2013-10-16 09:16:47 Tagged date : UTC 2013-10-16 09:16:47 Writing application : vlc 2.1.1-20131014-0203 stream output Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L4.0 Format settings, CABAC : No Format settings, ReFrames : 1 frame Format settings, GOP : M=1, N=30 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 50s 702ms Source duration : 50s 736ms Bit rate mode : Variable Bit rate : 4 000 Kbps Width : 1 920 pixels Height : 1 088 pixels Original height : 1 080 pixels Display aspect ratio : 16:9 Original display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 29.821 fps Original frame rate : 30.000 fps Minimum frame rate : 3.333 fps Maximum frame rate : 31.250 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.064 Stream size : 23.9 MiB (100%) Source stream size : 24.0 MiB (100%) Language : English Encoded date : UTC 2013-10-16 09:16:47 Tagged date : UTC 2013-10-16 09:16:47 mdhd_Duration : 50702
Other video playing in all players:

Code: Select all

Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 37.3 MiB Duration : 3mn 28s Overall bit rate : 1 505 Kbps Encoded date : UTC 2013-10-22 10:29:10 Tagged date : UTC 2013-10-22 10:29:10 Writing application : vlc 2.1.1-20131014-0203 stream output Comment : QuickTime 6.0 or greater Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format settings, CABAC : Yes Format settings, ReFrames : 1 frame Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 3mn 28s Source duration : 3mn 28s Bit rate : 1 305 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.057 Stream size : 32.4 MiB (87%) Source stream size : 32.4 MiB (87%) Language : English Encoded date : UTC 2013-10-22 10:29:10 Tagged date : UTC 2013-10-22 10:29:10 mdhd_Duration : 208200

Re: Problem with avc baseline@L4.0

Posted: 25 Oct 2013 17:43
by luk4
I have been testing and the result is also weird. For avi mux i got codec h264 (in stable 64 bit version) and it works fine. But in the latest night 64 version i got also codec Advanced Video Coding which is not possible to open by windows media player.

Re: Problem with avc baseline@L4.0

Posted: 05 Nov 2013 20:47
by Jean-Baptiste Kempf
Try to put in TS mux. And share the broken file.

Re: Problem with avc baseline@L4.0

Posted: 06 Nov 2013 12:03
by luk4
Hi!
Thanks for the suggestion. Now its working, i mean i can play a video avc in windows media player. This is what im using:

Code: Select all

:sout=#std{access=file,mux=ts,dst=filePath.mp4} :sout-keep
But file is getting too big, with h264 it was very nice, but it can not be viewed in windows media player. Could you tell me why?

Thanks, regards!