soaivu / clipbucket

Automatically exported from code.google.com/p/clipbucket
0 stars 0 forks source link

Video converts to flv but error on mp4 #406

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? == .flv and .mp4 What do you see instead? == .flv 
only.

What version of the product are you using? On what operating system?
CB 2.6 on Linux

Please provide any additional information below.

=====
Output
=====
Started on 2013-05-24 23:03:35 - 2013 May 24

Checking File ....
File : /home/yottube/public_html/files/conversion_queue/13694078150a7f7.wmv
File Exists : Yes

Preparing file...
format : asf
duration : 6
size : 553966
bitrate : 721
video_width : 1024
video_height : 768
video_wh_ratio : 1.33333333333
video_codec : wmv2
video_rate : 3.5
video_bitrate : 561
video_color : yuv420p
audio_codec : wmav2
audio_bitrate : 138
audio_rate : 44100
audio_channels : 2 channels
path : /home/yottube/public_html/files/conversion_queue/13694078150a7f7.wmv

Converting Video
Conversion Command : /usr/bin/ffmpeg -i 
/home/yottube/public_html/files/conversion_queue/13694078150a7f7.wmv -f flv 
-vcodec libx264 -vpre normal -r 30 -s 640x480 -aspect 1.33333333333 -padcolor 
000000 -padtop 0 -padbottom 0 -padleft 0 -padright 0 -acodec libfaac -ab 128000 
-ar 44100 -map_meta_data 
/home/yottube/public_html/files/videos/13694078150a7f7.flv:/home/yottube/public_
html/files/conversion_queue/13694078150a7f7.wmv 
/home/yottube/public_html/files/videos/13694078150a7f7.flv 2> 
/home/yottube/public_html/files/temp/13694078166fa25.tmp

Conversion Details

FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--mandir=/usr/share/man --incdir=/usr/include --disable-avisynth 
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' 
--enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac 
--enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 
--enable-gpl --enable-nonfree --enable-postproc --enable-pthreads 
--enable-shared --enable-swscale --enable-vdpau --enable-version3 
--enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 
(1000/1) -> 9.00 (9/1)
Input #0, asf, from 
'/home/yottube/public_html/files/conversion_queue/13694078150a7f7.wmv':
Metadata:
WMFSDKVersion : 12.0.7601.17514
WMFSDKNeeded : 0.0.0.0000
IsVBR : 1
Duration: 00:00:06.03, start: 5.000000, bitrate: 734 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, 2 channels, s16, 176 kb/s
Stream #0.1: Video: wmv2, yuv420p, 1024x768, 9 tbr, 1k tbn, 1k tbc
[libx264 @ 0x1df0d1e0]using SAR=1/1
[libx264 @ 0x1df0d1e0]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle 
SSE4.2
[libx264 @ 0x1df0d1e0]profile High, level 3.0
[libx264 @ 0x1df0d1e0]264 - core 107 - H.264/MPEG-4 AVC codec - Copyleft 
2003-2010 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 
interlaced=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 
direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 
intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=200 ratetol=20.0 
qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
Output #0, flv, to '/home/yottube/public_html/files/videos/13694078150a7f7.flv':
Metadata:
WMFSDKVersion : 12.0.7601.17514
WMFSDKNeeded : 0.0.0.0000
IsVBR : 1
encoder : Lavf52.64.2
Stream #0.0: Video: libx264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=10-51, 200 
kb/s, 1k tbn, 30 tbc
Stream #0.1: Audio: libfaac, 44100 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
frame= 21 fps= 15 q=27.0 Lsize= 143kB time=5.93 bitrate= 198.1kbits/s
video:136kB audio:2kB global headers:0kB muxing overhead 3.640700%
[libx264 @ 0x1df0d1e0]frame I:2 Avg QP:40.81 size: 1998
[libx264 @ 0x1df0d1e0]frame P:17 Avg QP:26.39 size: 7423
[libx264 @ 0x1df0d1e0]frame B:2 Avg QP:23.66 size: 4248
[libx264 @ 0x1df0d1e0]consecutive B-frames: 78.9% 21.1% 0.0% 0.0%
[libx264 @ 0x1df0d1e0]mb I I16..4: 52.8% 45.8% 1.4%
[libx264 @ 0x1df0d1e0]mb P I16..4: 5.2% 14.7% 1.5% P16..4: 46.4% 12.5% 5.2% 
0.0% 0.0% skip:14.5%
[libx264 @ 0x1df0d1e0]mb B I16..4: 4.4% 7.9% 0.4% B16..8: 35.6% 21.5% 1.4% 
direct: 5.3% skip:23.5% L0:26.5% L1:66.4% BI: 7.1%
[libx264 @ 0x1df0d1e0]final ratefactor: 22.20
[libx264 @ 0x1df0d1e0]8x8 transform intra:60.6% inter:56.8%
[libx264 @ 0x1df0d1e0]direct mvs spatial:50.0% temporal:50.0%
[libx264 @ 0x1df0d1e0]coded y,uvDC,uvAC intra: 44.9% 50.7% 19.5% inter: 21.9% 
27.8% 1.0%
[libx264 @ 0x1df0d1e0]i16 v,h,dc,p: 22% 20% 7% 52%
[libx264 @ 0x1df0d1e0]i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 13% 27% 11% 5% 6% 5% 
10% 6%
[libx264 @ 0x1df0d1e0]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 19% 21% 7% 7% 6% 7% 6% 
4%
[libx264 @ 0x1df0d1e0]i8c dc,h,v,p: 76% 11% 10% 2%
[libx264 @ 0x1df0d1e0]Weighted P-Frames: Y:11.8%
[libx264 @ 0x1df0d1e0]ref P L0: 71.6% 9.1% 17.0% 2.3%
[libx264 @ 0x1df0d1e0]kb/s:181.88
Merging existing onMetaData tag
Video: 640x480 H.264
Audio: 44100Hz 16bit stereo, codec ID 10 (AAC)
Total: 139473 video bytes (188.064049 kbps), 2870 audio bytes (3.869880 kbps), 
5.933000 seconds long
Final onMetaData tag contents: {
audiocodecid: 10.000000
audiodatarate: 3.869880
audiosamplerate: 44100.000000
audiosamplesize: 16.000000
audiosize: 2870.000000
canSeekToEnd: true
datasize: 147544.000000
duration: 5.933000
filesize: 146891.000000
framerate: 3.708073
hasAudio: true
hasCuePoints: false
hasKeyframes: true
hasMetadata: true
hasVideo: true
height: 480.000000
keyframes: {
filepositions: {
949.000000
1029.000000
}
times: {
0.000000
0.000000
}
}
lasttimestamp: 5.933000
metadatacreator: flvtool++ (Facebook, Motion project, dweatherford)
metadatadate: Fri May 24 10:03:37 2013
stereo: true
totalframes: 22.000000
videocodecid: 7.000000
videodatarate: 188.064049
videosize: 139473.000000
width: 640.000000
}

output_format : flv
output_duration : 5.9
output_size : 147544
output_bitrate : 195
output_video_width : 640
output_video_height : 480
output_video_wh_ratio : 1.33333333333
output_video_codec : h264
output_video_rate : 3.5593220339
output_video_bitrate : 184
output_video_color : yuv420p
output_audio_codec : aac
output_audio_bitrate : 2
output_audio_rate : 44100
output_audio_channels : stereo
output_path : /home/yottube/public_html/files/videos/13694078150a7f7.flv

Time Took : 1.7624 seconds

conversion_status : completed

=========STARTING HD CONVERSION==============

HD Video -- Conversion Command : /usr/bin/ffmpeg -i 
/home/yottube/public_html/files/conversion_queue/13694078150a7f7.wmv -r 30 -ar 
44100 -s 1440x1080 -aspect 1.33333333333 -acodec libfaac -vcodec libx264 -vpre 
hq -crf 22 -threads 0 
/home/yottube/public_html/files/videos/13694078150a7f7.mp4 2> 
/home/yottube/public_html/files/temp/output.tmp

Conversion Details

/home/yottube/public_html/files/videos/13694078150a7f7.mp4

=========ENDING HD CONVERSION==============

=========STARTING HD META DATA REPARING==============

HD Video -- Conversion Command : /usr/bin/MP4Box -inter 0.5 
/home/yottube/public_html/files/videos/13694078150a7f7.mp4 -tmp 
/home/yottube/public_html/files/temp 2> 
/home/yottube/public_html/files/temp/mp4_output.tmp

Conversion Details

/home/yottube/public_html/files/videos/13694078150a7f7.mp4

=========ENDING HD META DATA REPARING==============

When I visit the frontend to play the video, video plays on "HD off" but will 
prompt an error (Video not found or access denied: 
http://yot-tube.com/files/videos/13694078150a7f7.mp4) when "HD on"

Im using a licensed JW player.
Everything works except for the HDs.

Original issue reported on code.google.com by marionne...@gmail.com on 24 May 2013 at 3:29

GoogleCodeExporter commented 8 years ago
same issue...when I upload an .mov file, there should be both flv and mp4 files 
created, but I only get the .flv.  Then, when you play the video, there is no 
option to seek or fast forward, it always resets to the beginning.  Or 
sometimes the video won't play at all in HD.  Or sometimes it stops, like the 
whole video is not there, and it has the wrong mins/secs for the length. 
Sometimes there is no log file, sometimes the log file has an error.

Original comment by yout...@nnpstv.com on 12 Jun 2013 at 6:05

GoogleCodeExporter commented 8 years ago
I'm running into the same issue.

Original comment by donohuetechnology on 9 Jan 2014 at 9:51

GoogleCodeExporter commented 8 years ago

Original comment by arslan...@gmail.com on 24 Feb 2015 at 9:51