Recherche avancée

Médias (91)

Sur d’autres sites (2459)

  • Revision d0f2377027 : Revert "Revert "Removal of legacy zbin_extra / zbin_oq_value."" This reverts co

    22 décembre 2014, par Jingning Han

    Changed Paths :
     Modify /test/vp9_quantize_test.cc


     Modify /vp9/common/vp9_rtcd_defs.pl


     Modify /vp9/encoder/arm/neon/vp9_quantize_neon.c


     Modify /vp9/encoder/vp9_block.h


     Modify /vp9/encoder/vp9_dct.c


     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_encodemb.c


     Modify /vp9/encoder/vp9_quantize.c


     Modify /vp9/encoder/vp9_quantize.h


     Modify /vp9/encoder/x86/vp9_dct_sse2.c


     Modify /vp9/encoder/x86/vp9_dct_ssse3.c


     Modify /vp9/encoder/x86/vp9_highbd_quantize_intrin_sse2.c


     Modify /vp9/encoder/x86/vp9_quantize_sse2.c


     Modify /vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm



    Revert "Revert "Removal of legacy zbin_extra / zbin_oq_value.""

    This reverts commit 9946ee23e0a4c158e26a505b162a072f81b8a3be.

    Fix the ssse3 asm function.

    Change-Id : I07f77a63aa98087626e45c4e87aa5dcafc0b0b07

  • FFMPEG Batch Copy Metadata from "Folder1File1.mp3" to "Folder2File1.mp3" in different folders

    27 février 2020, par Vektorz

    I have two separate files in separate folders with the same name and I would like to transfer the metadata from the file in "folder1" to "folder2".
    Then I would like to add a whole bunch of files fitting this same format and batch transfer all of the metadata information.

    From a stack exchange thread I’ve tried :

    "The following script will loop through the the files in one directory, find corresponding files in a second directory and then combine these two files into a third output directory

    dir1=FIRST DIRECTORY
    dir2=SECOND DIRECTORY
    output=OUTPUT DIRECTORY
    for file in $(ls $dir1); do
     ffmpeg -i "$dir1/$file" -i "$dir2/$file" -map 1 -c copy \
      # copies all global metadata from in0.mkv to out.mkv  
      -map_metadata 0 \
      # copies video stream metadata from in0.mkv to out.mkv
      -map_metadata:s:v 0:s:v \
      # copies audio stream metadata from in0.mkv to out.mkv
      -map_metadata:s:a 0:s:a \
      "$outdir/$file"
    done"

    But for the life of me I cannot get this to work properly and it is a bit overkill. He continues on saying :

    If you want to make something reuseable you could put this in a script with the following header (remove the assignment for dir1, dir2 and output in the script above). And then call it as script.sh dir1 dir2 outdir

    #!/bin/bash
    set -x errexit # exit immediately on error
    dir1="$1"
    dir2="$2"
    output="$3"

    And I am totally lost. Can someone please help me to get this to work and walk me through it a bit easier as I’m fairly inexperienced with code/FFMPEG.

    Thank you.

  • ffmpeg : edit metadata and automatically increment their name + set the value of "Title" based on "Name"

    29 décembre 2018, par J. Does

    This PowerShell code divides a large audio file (sound1) in 5 minutes parts and saves them as sound100_1.mp3, sound1_002.mp3...

    ffmpeg -i $file_name_complete -f segment -segment_time 300 -c copy $fileNameOnly"_"%03d$fileExtensionOnly
    • How can I set the metadata title to be the same than the file name ?

    • And how can I also (on the same time) edit the Album metadata with an incremental name (it’s useless, but it’s to understand how that work). It should be alb_1, alb_2.

    I have seen on the docs that I should use :

    -metadata title="my title"

    But :

    • should I repeat each time -metadata for each metadata ? EDIT : yes according to this

    • how can I increment the number since the title need to be quoted (-metadata title="$fileNameOnly""_"%03d won’t work since the last quote is missing)

    • how can I set the title field so it take the same value than the Name ?


    This did not work :

    ffmpeg -i $file_name_complete -f segment -segment_time 300
          -metadata title="$fileNameOnly""_"%03d album="test"
          -c copy $fileNameOnly"_"%03d$fileExtensionOnly

    I get this error :

    -metadata : The term ’-metadata’ is not recognized as the name of a cmdlet